Class AbstractInterceptorWithSession
java.lang.Object
com.predic8.membrane.core.interceptor.AbstractInterceptor
com.predic8.membrane.core.interceptor.AbstractInterceptorWithSession
- All Implemented Interfaces:
Interceptor
- Direct Known Subclasses:
OAuth2Resource2Interceptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.predic8.membrane.core.interceptor.Interceptor
Interceptor.Flow -
Field Summary
Fields inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
name, router -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleRequest(Exchange exc) protected abstract OutcomeDo not override handleRequest like usual but use this method to implement your own handle request logichandleResponse(Exchange exc) protected abstract OutcomeDo not override handleResponse like usual but use this method to implement your own handle response logicvoidinit()Called after parsing is complete and this has been added to the object tree (whose root is Router).voidsetSessionManager(SessionManager sessionManager) Methods inherited from class com.predic8.membrane.core.interceptor.AbstractInterceptor
getDisplayName, getFlow, getHelpId, getLongDescription, getMessage, getRouter, getRule, getShortDescription, handleAbort, init, setDisplayName, setFlow
-
Constructor Details
-
AbstractInterceptorWithSession
public AbstractInterceptorWithSession()
-
-
Method Details
-
init
Description copied from class:AbstractInterceptorCalled after parsing is complete and this has been added to the object tree (whose root is Router).- Overrides:
initin classAbstractInterceptor- Throws:
Exception
-
handleRequestInternal
Do not override handleRequest like usual but use this method to implement your own handle request logic- Parameters:
exc-- Returns:
- Throws:
Exception
-
handleResponseInternal
Do not override handleResponse like usual but use this method to implement your own handle response logic- Parameters:
exc-- Returns:
- Throws:
Exception
-
handleRequest
- Specified by:
handleRequestin interfaceInterceptor- Overrides:
handleRequestin classAbstractInterceptor- Throws:
Exception
-
handleResponse
- Specified by:
handleResponsein interfaceInterceptor- Overrides:
handleResponsein classAbstractInterceptor- Throws:
Exception
-
getSessionManager
-
setSessionManager
-