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
| 从类 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.