Package org.eclipse.jetty.http
Class MetaData.Response
- java.lang.Object
-
- org.eclipse.jetty.http.MetaData
-
- org.eclipse.jetty.http.MetaData.Response
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.http.MetaData
MetaData.Request, MetaData.Response
-
-
Constructor Summary
Constructors Constructor Description Response()
Deprecated.Response(HttpVersion version, int status, java.lang.String reason, HttpFields fields, long contentLength)
Deprecated.Response(HttpVersion version, int status, HttpFields fields)
Deprecated.Response(HttpVersion version, int status, HttpFields fields, long contentLength)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getReason()
Deprecated.int
getStatus()
Deprecated.boolean
isResponse()
Deprecated.void
setReason(java.lang.String reason)
Deprecated.void
setStatus(int status)
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.eclipse.jetty.http.MetaData
getContentLength, getFields, getHttpVersion, getTrailerSupplier, getVersion, isRequest, iterator, setContentLength, setHttpVersion, setTrailerSupplier
-
-
-
-
Constructor Detail
-
Response
public Response()
Deprecated.
-
Response
public Response(HttpVersion version, int status, HttpFields fields)
Deprecated.
-
Response
public Response(HttpVersion version, int status, HttpFields fields, long contentLength)
Deprecated.
-
Response
public Response(HttpVersion version, int status, java.lang.String reason, HttpFields fields, long contentLength)
Deprecated.
-
-
Method Detail
-
isResponse
public boolean isResponse()
Deprecated.- Overrides:
isResponse
in classMetaData
-
getStatus
public int getStatus()
Deprecated.- Returns:
- the HTTP status
-
getReason
public java.lang.String getReason()
Deprecated.- Returns:
- the HTTP reason
-
setStatus
public void setStatus(int status)
Deprecated.- Parameters:
status
- the HTTP status to set
-
setReason
public void setReason(java.lang.String reason)
Deprecated.- Parameters:
reason
- the HTTP reason to set
-
-