public class Interceptor extends Manageable
Manageable.State
BOOTSTRAPPED, BOOTSTRAPPING, DEINITIALIZING, INITIALIZING, UNUSABLE, USABLE
Constructor and Description |
---|
Interceptor() |
Modifier and Type | Method and Description |
---|---|
void |
afterCallingConvention(FunctionRequest functionRequest,
FunctionResult xinsResult,
HttpServletResponse httpResponse) |
FunctionResult |
afterFunctionCall(FunctionRequest functionRequest,
FunctionResult xinsResult,
HttpServletResponse httpResponse) |
void |
beforeCallingConvention(HttpServletRequest httpRequest) |
FunctionRequest |
beforeFunctionCall(HttpServletRequest httpRequest,
FunctionRequest functionRequest) |
HttpServletRequest |
beginRequest(HttpServletRequest httpRequest) |
void |
endRequest(HttpServletRequest httpRequest,
HttpServletResponse httpResponse) |
protected API |
getApi() |
assertUsable, bootstrap, bootstrapImpl, deinit, deinitImpl, getState, init, initImpl, isBootstrapped, isUsable
public HttpServletRequest beginRequest(HttpServletRequest httpRequest)
public void beforeCallingConvention(HttpServletRequest httpRequest)
public FunctionRequest beforeFunctionCall(HttpServletRequest httpRequest, FunctionRequest functionRequest)
public FunctionResult afterFunctionCall(FunctionRequest functionRequest, FunctionResult xinsResult, HttpServletResponse httpResponse)
public void afterCallingConvention(FunctionRequest functionRequest, FunctionResult xinsResult, HttpServletResponse httpResponse)
public void endRequest(HttpServletRequest httpRequest, HttpServletResponse httpResponse)
protected final API getApi()
See http://www.xins.org/.