org.shiftone.jrat.http
Class Request
java.lang.Object
org.shiftone.jrat.http.Request
public class Request
- extends java.lang.Object
This object us mutable.
I want to be able to modify a request and then redispatch it. I could have done that by
wrapping the request in another implementation of a request, but that's a bit too complex for
such a simple http server. The handler owns the request. If it wants to change the data and
redispatch it, then it can, without any need to wrap it.
- Author:
- jeff@shiftone.org (Jeff Drost)
Constructor Summary |
Request(java.io.InputStream inputStream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Request
public Request(java.io.InputStream inputStream)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMethod
public java.lang.String getMethod()
setRequestUri
public void setRequestUri(java.lang.String requestUri)
getRequestUri
public java.lang.String getRequestUri()
getHttpVersion
public java.lang.String getHttpVersion()
getQueryString
public java.lang.String getQueryString()
getHeaders
public java.util.Map getHeaders()