play.server
Class ServletWrapper.ServletInvocation

java.lang.Object
  extended by play.Invoker.Invocation
      extended by play.Invoker.DirectInvocation
          extended by play.server.ServletWrapper.ServletInvocation
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ServletWrapper

public class ServletWrapper.ServletInvocation
extends Invoker.DirectInvocation


Field Summary
 
Fields inherited from class play.Invoker.DirectInvocation
invocationType
 
Constructor Summary
ServletWrapper.ServletInvocation(Http.Request request, Http.Response response, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
           
 
Method Summary
 void execute()
          Override this method
 Invoker.InvocationContext getInvocationContext()
           
 boolean init()
          Init the call (especially usefull in DEV mode to detect changes)
 void run()
          It's time to execute.
 
Methods inherited from class play.Invoker.DirectInvocation
suspend
 
Methods inherited from class play.Invoker.Invocation
_finally, after, before, onException, onSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletWrapper.ServletInvocation

public ServletWrapper.ServletInvocation(Http.Request request,
                                        Http.Response response,
                                        HttpServletRequest httpServletRequest,
                                        HttpServletResponse httpServletResponse)
Method Detail

init

public boolean init()
Description copied from class: Invoker.Invocation
Init the call (especially usefull in DEV mode to detect changes)

Overrides:
init in class Invoker.DirectInvocation

run

public void run()
Description copied from class: Invoker.Invocation
It's time to execute.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class Invoker.Invocation

execute

public void execute()
             throws java.lang.Exception
Description copied from class: Invoker.Invocation
Override this method

Specified by:
execute in class Invoker.Invocation
Throws:
java.lang.Exception

getInvocationContext

public Invoker.InvocationContext getInvocationContext()
Overrides:
getInvocationContext in class Invoker.DirectInvocation


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly