com.dyuproject.web.rest
Class RequestContext

java.lang.Object
  extended by com.dyuproject.web.rest.RequestContext

public class RequestContext
extends Object

Wraps the request and response plus the bits and pieces needed in handling a REST requset.

Author:
David Yu

Nested Class Summary
static class RequestContext.Local
           
 
Constructor Summary
RequestContext()
           
 
Method Summary
 String getMime()
           
 String getPathElement(int idx)
           
 String[] getPathInfo()
           
 HttpServletRequest getRequest()
           
 HttpServletResponse getResponse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestContext

public RequestContext()
Method Detail

getRequest

public HttpServletRequest getRequest()

getResponse

public HttpServletResponse getResponse()

getMime

public String getMime()

getPathInfo

public String[] getPathInfo()

getPathElement

public String getPathElement(int idx)


Copyright © 2013. All Rights Reserved.