Class HttpsHandlerInterceptors
java.lang.Object
com.skava.orchestration.configuration.HttpsHandlerInterceptors
- All Implemented Interfaces:
org.springframework.web.servlet.HandlerInterceptor
public class HttpsHandlerInterceptors
extends Object
implements org.springframework.web.servlet.HandlerInterceptor
The Class HttpsHandlerInterceptors
HttpsHandlerInterceptors class which handles the interceptors- Author:
- Infosys Equinox
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCompletion(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler, Exception exception) This method is used after the completion of the request.voidpostHandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView modelAndView) This method is used to post handle the request and response.booleanpreHandle(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Object handler) This method is used to pre handle the https request and response.
-
Field Details
-
URL_SCHEME_HTTPS
- See Also:
-
-
Constructor Details
-
HttpsHandlerInterceptors
public HttpsHandlerInterceptors()
-
-
Method Details
-
preHandle
public boolean preHandle(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, Object handler) throws IOException This method is used to pre handle the https request and response.- Specified by:
preHandlein interfaceorg.springframework.web.servlet.HandlerInterceptor- Parameters:
httpServletRequest- Indicates aHttpServletRequest, contains https servlet request details.httpServletResponse- Indicates aHttpServletResponse, contains https servlet response details.handler- Indicates an object.- Returns:
- Returns the boolean value.
- Throws:
IOException- Throws exceptions produced by failed or interrupted I/O operations.
-
postHandle
public void postHandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView modelAndView) This method is used to post handle the request and response.- Specified by:
postHandlein interfaceorg.springframework.web.servlet.HandlerInterceptor- Parameters:
request- Indicates aHttpServletRequest, contains https servlet request details.response- Indicates aHttpServletResponse, contains https servlet response details.handler- Indicates an object.modelAndView- Indicates aModelAndView
-
afterCompletion
public void afterCompletion(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, Object handler, Exception exception) This method is used after the completion of the request.- Specified by:
afterCompletionin interfaceorg.springframework.web.servlet.HandlerInterceptor- Parameters:
request- Indicates aHttpServletRequest, contains https servlet request details.response- Indicates aHttpServletResponse, contains https servlet response details.handler- Indicates an object.exception- Indicates aException, exceptions produced by failed or interrupted operations.
-