com.aiyc.server.standalone.net
类 HandlerFactory

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

public class HandlerFactory
extends Object

Factory in oder to get the different request handler

作者:
felly

构造方法摘要
HandlerFactory()
           
 
方法摘要
static IHandler annoHandler(String type)
           
static IHandler findHandler(RequestHandler.RequestType type)
          Finds the correct IHandler for the request type. if no IHandler can be found, the UnknownHandler is returned
static IHandler findHandler(String type)
           
static GetLocationHandler getGetLocationHandler()
           
static GetLocationListHandler getGetLocationListHandler()
           
static GetMapListHandler getGetMapHandler()
           
static RemoveLocationHandler getRemoveLocationHandler()
           
static RemoveMapHandler getRemoveMapHandler()
           
static UpdateLocationHandler getUpdateLocationHandler()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

HandlerFactory

public HandlerFactory()
方法详细信息

findHandler

public static IHandler findHandler(RequestHandler.RequestType type)
Finds the correct IHandler for the request type. if no IHandler can be found, the UnknownHandler is returned

参数:
type - Request type
返回:
appropriate handler

annoHandler

public static IHandler annoHandler(String type)

findHandler

public static IHandler findHandler(String type)

getGetMapHandler

public static GetMapListHandler getGetMapHandler()

getRemoveMapHandler

public static RemoveMapHandler getRemoveMapHandler()

getUpdateLocationHandler

public static UpdateLocationHandler getUpdateLocationHandler()

getGetLocationHandler

public static GetLocationHandler getGetLocationHandler()

getGetLocationListHandler

public static GetLocationListHandler getGetLocationListHandler()

getRemoveLocationHandler

public static RemoveLocationHandler getRemoveLocationHandler()


Copyright © 2017. All Rights Reserved.