Package org.eclipse.jetty.http
Class MetaData.Request
java.lang.Object
org.eclipse.jetty.http.MetaData
org.eclipse.jetty.http.MetaData.Request
- Direct Known Subclasses:
MetaData.ConnectRequest
- Enclosing class:
- MetaData
Immutable HTTP request information.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http.MetaData
MetaData.ConnectRequest, MetaData.Request, MetaData.Response
-
Constructor Summary
ConstructorDescriptionRequest
(long beginNanoTime, String method, String scheme, HostPortHttpField authority, String uri, HttpVersion version, HttpFields headers, long contentLength) Request
(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers) Request
(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength) Request
(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) Request
(String method, String scheme, HostPortHttpField authority, String uri, HttpVersion version, HttpFields headers, long contentLength) Request
(String method, HttpURI uri, HttpVersion version, HttpFields headers) Request
(String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength) Request
(String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) -
Method Summary
Methods inherited from class org.eclipse.jetty.http.MetaData
getContentLength, getHttpFields, getHttpVersion, getTrailersSupplier, isResponse, isTunnel, iterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Request
-
Request
public Request(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers) -
Request
public Request(String method, String scheme, HostPortHttpField authority, String uri, HttpVersion version, HttpFields headers, long contentLength) -
Request
public Request(long beginNanoTime, String method, String scheme, HostPortHttpField authority, String uri, HttpVersion version, HttpFields headers, long contentLength) -
Request
public Request(String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength) -
Request
public Request(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength) -
Request
public Request(String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers) -
Request
public Request(long beginNanoTime, String method, HttpURI uri, HttpVersion version, HttpFields headers, long contentLength, Supplier<HttpFields> trailers)
-
-
Method Details
-
isRequest
public boolean isRequest()- Overrides:
isRequest
in classMetaData
- Returns:
- whether this object is a
MetaData.Request
-
getBeginNanoTime
public long getBeginNanoTime() -
getMethod
- Returns:
- the HTTP method
-
getHttpURI
- Returns:
- the HTTP URI
-
getProtocol
- Returns:
- the protocol associated with
tunnel
requests, if any
-
is100ContinueExpected
public boolean is100ContinueExpected() -
toString
-