org.utgenome.gwt.utgb.server
Class RequestURI

java.lang.Object
  extended by org.utgenome.gwt.utgb.server.RequestURI

public class RequestURI
extends Object

RequestURI information

Author:
leo

Constructor Summary
RequestURI(String uri)
           
 
Method Summary
 String getFullName()
          Get the full path of the action request
 String getHandlerName()
           
 String getName()
          Get the leaf name of the action request
 List<String> getPathComponentList()
          Return the path component.
 String getPrefix()
          Get the prefix before the handler name
 String getSuffix()
          Get the suffix of the action request
 String getURI()
          Get the original URI
 boolean hasSuffix()
          Has suffix in the action request? e.g., .xml, .json, etc.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestURI

public RequestURI(String uri)
Method Detail

hasSuffix

public boolean hasSuffix()
Has suffix in the action request? e.g., .xml, .json, etc.

Returns:

getSuffix

public String getSuffix()
Get the suffix of the action request

Returns:

getPathComponentList

public List<String> getPathComponentList()
Return the path component. For example, if the request is hello/world.json, its component list is ["hello", "world"]

Returns:
the path component list

getName

public String getName()
Get the leaf name of the action request

Returns:

getHandlerName

public String getHandlerName()

getFullName

public String getFullName()
Get the full path of the action request

Returns:

getURI

public String getURI()
Get the original URI

Returns:

getPrefix

public String getPrefix()
Get the prefix before the handler name

Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2012 utgenome.org. All Rights Reserved.