org.utgenome.gwt.utgb.server
Class RequestHandlerTable
java.lang.Object
org.utgenome.gwt.utgb.server.RequestHandlerTable
public class RequestHandlerTable
- extends Object
RequestHandlerTable
holds a set of RequestHandler
s and
provides a search function to find a request handler that matches the given
web request.
When the request URL is "refseq/human/hg18/list.json", and
there is an action handler, refseq.list,
actionHandlername = "refseq.list"
actionSuffix = "json"
actionPrefix = ""
actionContext = "human/hg18"
- Author:
- leo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestHandlerTable
public RequestHandlerTable()
add
public void add(String handlerName,
Class<RequestHandler> handlerClass)
- Parameters:
handlerName
- dot-separated handler name (e.g. admin.login, list, etc.). Dot is optional.handlerClass
-
findHandler
public RequestHandler findHandler(String relativeActionURL)
Copyright © 2007-2012 utgenome.org. All Rights Reserved.