Package org.eclipse.jetty.client
Class HttpResponse
java.lang.Object
org.eclipse.jetty.client.HttpResponse
- All Implemented Interfaces:
Response
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.client.api.Response
Response.AsyncContentListener, Response.BeginListener, Response.CompleteListener, Response.ContentListener, Response.DemandedContentListener, Response.FailureListener, Response.HeaderListener, Response.HeadersListener, Response.Listener, Response.ResponseListener, Response.SuccessListener -
Constructor Summary
ConstructorsConstructorDescriptionHttpResponse(Request request, List<Response.ResponseListener> listeners) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Attempts to abort the receive of this response.Deprecated.<T extends Response.ResponseListener>
List<T> getListeners(Class<T> type) Deprecated.Deprecated.Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.status(int status) Deprecated.toString()Deprecated.Deprecated.version(HttpVersion version) Deprecated.
-
Constructor Details
-
HttpResponse
Deprecated.
-
-
Method Details
-
getRequest
Deprecated.- Specified by:
getRequestin interfaceResponse- Returns:
- the request associated with this response
-
getVersion
Deprecated.- Specified by:
getVersionin interfaceResponse- Returns:
- the HTTP version of this response, such as "HTTP/1.1"
-
version
Deprecated. -
getStatus
public int getStatus()Deprecated. -
status
Deprecated. -
getReason
Deprecated.- Specified by:
getReasonin interfaceResponse- Returns:
- the HTTP reason associated to the
Response.getStatus()
-
reason
Deprecated. -
getHeaders
Deprecated.- Specified by:
getHeadersin interfaceResponse- Returns:
- the headers of this response
-
getListeners
Deprecated.- Specified by:
getListenersin interfaceResponse- Type Parameters:
T- the type of class- Parameters:
type- the listener class- Returns:
- the response listener passed to
Request.send(org.eclipse.jetty.client.api.Response.CompleteListener)
-
getTrailers
Deprecated. -
trailer
Deprecated. -
abort
Deprecated.Description copied from interface:ResponseAttempts to abort the receive of this response. -
toString
Deprecated.
-