public class ContextIDInterceptor extends Interceptor
ContextIDGeneratorManageable.StateBOOTSTRAPPED, BOOTSTRAPPING, DEINITIALIZING, INITIALIZING, UNUSABLE, USABLE| Constructor and Description |
|---|
ContextIDInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
HttpServletRequest |
beginRequest(HttpServletRequest httpRequest) |
protected void |
bootstrapImpl(Map<String,String> properties)
Performs the bootstrap procedure (actual implementation).
|
void |
endRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse) |
protected void |
initImpl(Map<String,String> properties)
Performs the initialization procedure (actual implementation).
|
afterCallingConvention, afterFunctionCall, beforeCallingConvention, beforeFunctionCall, getApiassertUsable, bootstrap, deinit, deinitImpl, getState, init, isBootstrapped, isUsableprotected void bootstrapImpl(Map<String,String> properties) throws MissingRequiredPropertyException, InvalidPropertyValueException, BootstrapException
ManageableManageable.bootstrap(Map), the state and
the argument will have been checked and the state will have been set to
Manageable.BOOTSTRAPPING.
The implementation of this method in class Manageable is
empty.
bootstrapImpl in class Manageableproperties - the bootstrap properties, not null.MissingRequiredPropertyException - if a required property is not given.InvalidPropertyValueException - if the value of a certain property is invalid.BootstrapException - if the bootstrapping failed for any other reason.protected void initImpl(Map<String,String> properties) throws MissingRequiredPropertyException, InvalidPropertyValueException, InitializationException
ManageableManageable.init(Map), the state and the
argument will have been checked and the state will have been set to
Manageable.INITIALIZING.
The implementation of this method in class Manageable is
empty.
initImpl in class Manageableproperties - the initialization properties, not null.MissingRequiredPropertyException - if a required property is not given.InvalidPropertyValueException - if the value of a certain property is invalid.InitializationException - if the initialization failed, for any other reason.public HttpServletRequest beginRequest(HttpServletRequest httpRequest)
beginRequest in class Interceptorpublic void endRequest(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
endRequest in class InterceptorSee http://www.xins.org/.