|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.netty.handler.codec.http2.DefaultHttpMessage
org.jboss.netty.handler.codec.http2.DefaultHttpRequest
public class DefaultHttpRequest

The default HttpRequest implementation.
| Constructor Summary | |
|---|---|
DefaultHttpRequest(HttpVersion httpVersion,
HttpMethod method,
String uri)
Creates a new instance. |
|
| Method Summary | |
|---|---|
HttpMethod |
getMethod()
Returns the method of this request. |
String |
getUri()
Returns the URI (or path) of this request. |
void |
setMethod(HttpMethod method)
Sets the method of this request. |
void |
setUri(String uri)
Sets the URI (or path) of this request. |
String |
toString()
|
| Methods inherited from class org.jboss.netty.handler.codec.http2.DefaultHttpMessage |
|---|
addHeader, clearHeaders, containsHeader, getContent, getContentLength, getContentLength, getHeader, getHeaderNames, getHeaders, getHeaders, getProtocolVersion, isChunked, isKeepAlive, removeHeader, setChunked, setContent, setHeader, setHeader, setProtocolVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.netty.handler.codec.http2.HttpMessage |
|---|
addHeader, clearHeaders, containsHeader, getContent, getContentLength, getContentLength, getHeader, getHeaderNames, getHeaders, getHeaders, getProtocolVersion, isChunked, isKeepAlive, removeHeader, setChunked, setContent, setHeader, setHeader, setProtocolVersion |
| Constructor Detail |
|---|
public DefaultHttpRequest(HttpVersion httpVersion,
HttpMethod method,
String uri)
httpVersion - the HTTP version of the requestmethod - the HTTP method of the requesturi - the URI or path of the request| Method Detail |
|---|
public HttpMethod getMethod()
HttpRequest
getMethod in interface HttpRequestpublic void setMethod(HttpMethod method)
HttpRequest
setMethod in interface HttpRequestpublic String getUri()
HttpRequest
getUri in interface HttpRequestpublic void setUri(String uri)
HttpRequest
setUri in interface HttpRequestpublic String toString()
toString in class DefaultHttpMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||