Package org.eclipse.jetty.http
Class MetaData
java.lang.Object
org.eclipse.jetty.http.MetaData
- Direct Known Subclasses:
MetaData.Request,MetaData.Response
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionMetaData(HttpVersion version, HttpFields fields) Deprecated.MetaData(HttpVersion version, HttpFields fields, long contentLength) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.booleanDeprecated.booleanDeprecated.iterator()Deprecated.voidsetContentLength(long contentLength) Deprecated.voidsetHttpVersion(HttpVersion httpVersion) Deprecated.voidsetTrailerSupplier(Supplier<HttpFields> trailers) Deprecated.toString()Deprecated.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MetaData
Deprecated. -
MetaData
Deprecated.
-
-
Method Details
-
isRequest
public boolean isRequest()Deprecated. -
isResponse
public boolean isResponse()Deprecated. -
getVersion
Deprecated.usegetHttpVersion()instead- Returns:
- the HTTP version of this MetaData object
-
getHttpVersion
Deprecated.- Returns:
- the HTTP version of this MetaData object
-
setHttpVersion
Deprecated.- Parameters:
httpVersion- the HTTP version to set
-
getFields
Deprecated.- Returns:
- the HTTP fields of this MetaData object
-
getTrailerSupplier
Deprecated. -
setTrailerSupplier
Deprecated. -
getContentLength
public long getContentLength()Deprecated.- Returns:
- the content length if available, otherwise
Long.MIN_VALUE
-
setContentLength
public void setContentLength(long contentLength) Deprecated. -
iterator
Deprecated. -
toString
Deprecated.
-
getHttpVersion()instead