Package org.eclipse.jetty.http
Class MetaData
java.lang.Object
org.eclipse.jetty.http.MetaData
- Direct Known Subclasses:
 MetaData.Request,MetaData.Response
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class - 
Constructor Summary
ConstructorsConstructorDescriptionMetaData(HttpVersion version, HttpFields fields) MetaData(HttpVersion version, HttpFields fields, long contentLength) MetaData(HttpVersion version, HttpFields fields, long contentLength, Supplier<HttpFields> trailerSupplier)  - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator 
- 
Constructor Details
- 
MetaData
 - 
MetaData
 - 
MetaData
public MetaData(HttpVersion version, HttpFields fields, long contentLength, Supplier<HttpFields> trailerSupplier)  
 - 
 - 
Method Details
- 
isTunnel
Returns whether the given HTTP request method and HTTP response status code identify a successful HTTP CONNECT tunnel.
- Parameters:
 method- the HTTP request methodstatus- the HTTP response status code- Returns:
 - whether method and status identify a successful HTTP CONNECT tunnel
 
 - 
isRequest
public boolean isRequest() - 
isResponse
public boolean isResponse() - 
getHttpVersion
- Returns:
 - the HTTP version of this MetaData object
 
 - 
getFields
- Returns:
 - the HTTP fields of this MetaData object
 
 - 
getTrailerSupplier
 - 
getContentLength
public long getContentLength() - 
iterator
 - 
toString
 
 -