play.server
类 PlayHandler.NettyInvocation

java.lang.Object
  继承者 play.Invoker.Invocation
      继承者 play.server.PlayHandler.NettyInvocation
所有已实现的接口:
java.lang.Runnable
包容类:
PlayHandler

public class PlayHandler.NettyInvocation
extends Invoker.Invocation


构造方法摘要
PlayHandler.NettyInvocation(Http.Request request, Http.Response response, org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.handler.codec.http.HttpRequest nettyRequest, org.jboss.netty.channel.MessageEvent e)
           
 
方法摘要
 void execute()
          Override this method
 Invoker.InvocationContext getInvocationContext()
           
 boolean init()
          Init the call (especially usefull in DEV mode to detect changes)
 void onSuccess()
          Things to do when the whole invocation has succeeded (before + execute + after)
 void run()
          It's time to execute.
 
从类 play.Invoker.Invocation 继承的方法
_finally, after, before, onException, preInit, suspend
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PlayHandler.NettyInvocation

public PlayHandler.NettyInvocation(Http.Request request,
                                   Http.Response response,
                                   org.jboss.netty.channel.ChannelHandlerContext ctx,
                                   org.jboss.netty.handler.codec.http.HttpRequest nettyRequest,
                                   org.jboss.netty.channel.MessageEvent e)
方法详细信息

init

public boolean init()
从类 Invoker.Invocation 复制的描述
Init the call (especially usefull in DEV mode to detect changes)

覆盖:
Invoker.Invocation 中的 init

getInvocationContext

public Invoker.InvocationContext getInvocationContext()
指定者:
Invoker.Invocation 中的 getInvocationContext

run

public void run()
从类 Invoker.Invocation 复制的描述
It's time to execute.

指定者:
接口 java.lang.Runnable 中的 run
覆盖:
Invoker.Invocation 中的 run

execute

public void execute()
             throws java.lang.Exception
从类 Invoker.Invocation 复制的描述
Override this method

指定者:
Invoker.Invocation 中的 execute
抛出:
java.lang.Exception

onSuccess

public void onSuccess()
               throws java.lang.Exception
从类 Invoker.Invocation 复制的描述
Things to do when the whole invocation has succeeded (before + execute + after)

覆盖:
Invoker.Invocation 中的 onSuccess
抛出:
java.lang.Exception


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