com.scooterframework.web.route
Class RequestInfo

java.lang.Object
  extended by com.scooterframework.web.route.RequestInfo

public class RequestInfo
extends java.lang.Object

RequestInfo class


Constructor Summary
RequestInfo(java.lang.String requestPath, java.lang.String requestHttpMethod)
           
 
Method Summary
static java.lang.String generateRequestKey(java.lang.String requestPath, java.lang.String requestHttpMethod)
           
 java.lang.String getAutoResourceName()
           
 java.lang.String getFormat()
           
 java.lang.String[] getPathSegments()
           
 java.lang.String getRequestHttpMethod()
           
 java.lang.String getRequestKey()
           
 java.lang.String getRequestPath()
           
 boolean hasFormat()
           
 int segmentCount()
           
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestInfo

public RequestInfo(java.lang.String requestPath,
                   java.lang.String requestHttpMethod)
Method Detail

getRequestPath

public java.lang.String getRequestPath()

getRequestHttpMethod

public java.lang.String getRequestHttpMethod()

getRequestKey

public java.lang.String getRequestKey()

getFormat

public java.lang.String getFormat()

hasFormat

public boolean hasFormat()

getPathSegments

public java.lang.String[] getPathSegments()

segmentCount

public int segmentCount()

getAutoResourceName

public java.lang.String getAutoResourceName()

generateRequestKey

public static java.lang.String generateRequestKey(java.lang.String requestPath,
                                                  java.lang.String requestHttpMethod)

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
String