public class ServletWrapper.ServletInvocation extends Invoker.DirectInvocation
invocationType
Constructor and Description |
---|
ServletInvocation(Http.Request request,
Http.Response response,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Override this method
|
Invoker.InvocationContext |
getInvocationContext() |
boolean |
init()
Init the call (especially useful in DEV mode to detect changes)
|
void |
run()
It's time to execute.
|
suspend
_finally, after, before, onException, onSuccess, preInit
public ServletInvocation(Http.Request request, Http.Response response, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
public boolean init()
Invoker.Invocation
init
in class Invoker.DirectInvocation
public void run()
Invoker.Invocation
run
in interface java.lang.Runnable
run
in class Invoker.Invocation
public void execute() throws java.lang.Exception
Invoker.Invocation
execute
in class Invoker.Invocation
java.lang.Exception
- Thrown if Invocation encounters any problemspublic Invoker.InvocationContext getInvocationContext()
getInvocationContext
in class Invoker.DirectInvocation
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly