public class OA2ClientExceptionHandler extends ClientExceptionHandler
Created by Jeff Gaynor
on 2/12/15 at 1:16 PM
clientServlet
Constructor and Description |
---|
OA2ClientExceptionHandler(ClientServlet clientServlet,
MyLoggingFacade myLogger) |
Modifier and Type | Method and Description |
---|---|
protected void |
defaultSCXresponse(ServiceClientHTTPException tt,
javax.servlet.http.HttpServletRequest request)
Used in cases the response from the server cannot be parsed.
|
void |
handleException(Throwable t,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This has to throw these two exceptions for servlets.
|
protected void |
parseContent(String content,
javax.servlet.http.HttpServletRequest request)
This will parse the standard error reponse from an OIDC server.
|
getLogger, getNormalizedContextPath
public OA2ClientExceptionHandler(ClientServlet clientServlet, MyLoggingFacade myLogger)
public void handleException(Throwable t, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
ExceptionHandler
handleException
in interface ExceptionHandler
handleException
in class ClientExceptionHandler
IOException
javax.servlet.ServletException
protected void parseContent(String content, javax.servlet.http.HttpServletRequest request)
content
- request
- protected void defaultSCXresponse(ServiceClientHTTPException tt, javax.servlet.http.HttpServletRequest request)
tt
- request
- Copyright © 2019. All Rights Reserved.