com.aiyc.server.standalone.net
类 RequestHandler

java.lang.Object
  继承者 com.aiyc.server.standalone.net.RequestHandler

public class RequestHandler
extends Object

Handler for a request. Each request read by a connection handler is passed to this handler

作者:
felly

嵌套类摘要
static class RequestHandler.RequestType
          Different request type supported by the server
 
字段摘要
static String ACTION_TOKEN
           
static String DATA_TOKEN
           
static String NO_ACTION
           
 
构造方法摘要
RequestHandler()
           
 
方法摘要
static String getFlowId(com.google.gson.JsonElement data)
           
 String request(String request)
          Does handle an request
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

ACTION_TOKEN

public static final String ACTION_TOKEN
另请参见:
常量字段值

DATA_TOKEN

public static final String DATA_TOKEN
另请参见:
常量字段值

NO_ACTION

public static final String NO_ACTION
另请参见:
常量字段值
构造方法详细信息

RequestHandler

public RequestHandler()
方法详细信息

getFlowId

public static String getFlowId(com.google.gson.JsonElement data)

request

public String request(String request)
Does handle an request

参数:
request - Request
返回:
response as string


Copyright © 2017. All Rights Reserved.