Interface IServerServicesInterceptor
public interface IServerServicesInterceptor
Enterprise Interceptor is an Enterprise level interceptor (Server and Portal) that can be used to
intercept requests/responses to/from different components of the system.
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit(IInterceptorConfig interceptorConfig, IServerServicesInterceptorHelper interceptorHelper, IServerInterceptorLogger logger) Initialize the interceptorvoidintercept(IInterceptorRequest request, IInterceptorResponse response, IServerServicesInterceptorChain interceptorChain) Intercept the request
-
Method Details
-
init
void init(IInterceptorConfig interceptorConfig, IServerServicesInterceptorHelper interceptorHelper, IServerInterceptorLogger logger) Initialize the interceptor- Parameters:
interceptorConfig- interceptor configuration.interceptorHelper- interceptor helper.logger- interceptor logger.
-
intercept
void intercept(IInterceptorRequest request, IInterceptorResponse response, IServerServicesInterceptorChain interceptorChain) throws IOException, jakarta.servlet.ServletException Intercept the request- Parameters:
request- the request to pass along the chain.response- the response to pass along the chain.interceptorChain- the chain object to pass the request along the chain.- Throws:
IOException- if an I/O error occurs during the processing of the requestjakarta.servlet.ServletException- if the processing fails for any other reason
-