| |
|
| java.lang.Object org.apache.tomcat.util.http.BaseRequest
BaseRequest | public class BaseRequest (Code) | | A general-purpose object for representing an HTTP
request.
|
contentLength | int contentLength(Code) | | |
serverPort | int serverPort(Code) | | |
authorization | public MessageBytes authorization()(Code) | | Get the authorization credentials
the authorization credentials |
cookies | public Cookies cookies()(Code) | | Get cookies.
request cookies. |
getAttribute | public Object getAttribute(String name)(Code) | | Get an attribute on the request
Parameters: name - attribute name attribute value |
getAttributeNames | public Iterator getAttributeNames()(Code) | | Get iterator over attribute names
iterator over attribute names |
getContentLength | public int getContentLength()(Code) | | Get the content length
the content length |
getScheme | public String getScheme()(Code) | | Get the scheme
the scheme |
getSecure | public boolean getSecure()(Code) | | Get whether the request is secure or not.
true if the request is secure. |
getServerPort | public int getServerPort()(Code) | | Get the server port
the server port |
instanceId | public MessageBytes instanceId()(Code) | | Get the host id ( or jvmRoute )
the jvm route |
recycle | public void recycle()(Code) | | Recycles this object and readies it further use.
|
remoteAddr | public MessageBytes remoteAddr()(Code) | | Get the remote address
the remote address |
setAttribute | public void setAttribute(String name, Object value)(Code) | | Set an attribute on the request
Parameters: name - attribute name Parameters: value - attribute value |
setContentLength | public void setContentLength(int i)(Code) | | Set the content length
Parameters: i - the content length |
setScheme | public void setScheme(String s)(Code) | | Set the scheme.
Parameters: s - the scheme |
setSecure | public void setSecure(boolean b)(Code) | | Set whether the request is secure or not.
Parameters: b - true if the request is secure. |
setServerPort | public void setServerPort(int i)(Code) | | Set the server port
Parameters: i - the server port |
toString | public String toString()(Code) | | SLOW ** for debugging only!
|
|
|
|