Package org.eclipse.jetty.http
Class MetaData.Request
- java.lang.Object
-
- org.eclipse.jetty.http.MetaData
-
- org.eclipse.jetty.http.MetaData.Request
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.http.MetaData
MetaData.Request, MetaData.Response
-
-
Constructor Summary
Constructors Constructor Description Request(java.lang.String method, java.lang.String scheme, HostPortHttpField hostPort, java.lang.String uri, HttpVersion version, HttpFields fields, long contentLength)
Request(java.lang.String method, HttpScheme scheme, HostPortHttpField hostPort, java.lang.String uri, HttpVersion version, HttpFields fields)
Request(java.lang.String method, HttpScheme scheme, HostPortHttpField hostPort, java.lang.String uri, HttpVersion version, HttpFields fields, long contentLength)
Request(java.lang.String method, HttpURI uri, HttpVersion version, HttpFields fields)
Request(java.lang.String method, HttpURI uri, HttpVersion version, HttpFields fields, long contentLength)
Request(HttpFields fields)
Request(MetaData.Request request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMethod()
HttpURI
getURI()
java.lang.String
getURIString()
boolean
isRequest()
void
recycle()
void
setMethod(java.lang.String method)
void
setURI(HttpURI uri)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.jetty.http.MetaData
getContentLength, getFields, getHttpVersion, getTrailerSupplier, getVersion, isResponse, iterator, setContentLength, setHttpVersion, setTrailerSupplier
-
-
-
-
Constructor Detail
-
Request
public Request(HttpFields fields)
-
Request
public Request(java.lang.String method, HttpURI uri, HttpVersion version, HttpFields fields)
-
Request
public Request(java.lang.String method, HttpURI uri, HttpVersion version, HttpFields fields, long contentLength)
-
Request
public Request(java.lang.String method, HttpScheme scheme, HostPortHttpField hostPort, java.lang.String uri, HttpVersion version, HttpFields fields)
-
Request
public Request(java.lang.String method, HttpScheme scheme, HostPortHttpField hostPort, java.lang.String uri, HttpVersion version, HttpFields fields, long contentLength)
-
Request
public Request(java.lang.String method, java.lang.String scheme, HostPortHttpField hostPort, java.lang.String uri, HttpVersion version, HttpFields fields, long contentLength)
-
Request
public Request(MetaData.Request request)
-
-
Method Detail
-
getMethod
public java.lang.String getMethod()
- Returns:
- the HTTP method
-
setMethod
public void setMethod(java.lang.String method)
- Parameters:
method
- the HTTP method to set
-
getURI
public HttpURI getURI()
- Returns:
- the HTTP URI
-
getURIString
public java.lang.String getURIString()
- Returns:
- the HTTP URI in string form
-
setURI
public void setURI(HttpURI uri)
- Parameters:
uri
- the HTTP URI to set
-
-