Top Description Fields Constructors Methods
jdk.internal.net.http

pack-priv Class Response

extends Object
Class Inheritance
Imports
java.net.URI, .InetSocketAddress, java.io.IOException, java.net.http.HttpClient, .HttpHeaders, javax.net.ssl.SSLEngine, .SSLSession, jdk.internal.net.http.common.Utils

Response headers and status code.

Field Summary

Modifier and TypeField and Description
pack-priv final Exchange<?>
pack-priv final HttpHeaders
pack-priv final boolean
pack-priv final InetSocketAddress
pack-priv final HttpRequestImpl
pack-priv final SSLSession
pack-priv final int
pack-priv final HttpClient.Version

Constructor Summary

AccessConstructor and Description
pack-priv
Response(HttpRequestImpl req, Exchange<?> exchange, HttpHeaders headers, HttpConnection connection, int statusCode, HttpClient.Version version)

pack-priv
Response(HttpRequestImpl req, Exchange<?> exchange, HttpHeaders headers, HttpConnection connection, int statusCode, HttpClient.Version version, boolean isConnectResponse)

Method Summary

Modifier and TypeMethod and Description
pack-priv SSLSession
pack-priv HttpHeaders
pack-priv HttpRequestImpl
pack-priv int
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

pack-priv HttpClient.Version
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

exchangeback to summary
pack-priv final Exchange<?> exchange
headersback to summary
pack-priv final HttpHeaders headers
isConnectResponseback to summary
pack-priv final boolean isConnectResponse
localAddressback to summary
pack-priv final InetSocketAddress localAddress
requestback to summary
pack-priv final HttpRequestImpl request
sslSessionback to summary
pack-priv final SSLSession sslSession
statusCodeback to summary
pack-priv final int statusCode
versionback to summary
pack-priv final HttpClient.Version version

Constructor Detail

Responseback to summary
pack-priv Response(HttpRequestImpl req, Exchange<?> exchange, HttpHeaders headers, HttpConnection connection, int statusCode, HttpClient.Version version)
Responseback to summary
pack-priv Response(HttpRequestImpl req, Exchange<?> exchange, HttpHeaders headers, HttpConnection connection, int statusCode, HttpClient.Version version, boolean isConnectResponse)

Method Detail

getSSLSessionback to summary
pack-priv SSLSession getSSLSession()
headersback to summary
pack-priv HttpHeaders headers()
requestback to summary
pack-priv HttpRequestImpl request()
statusCodeback to summary
pack-priv int statusCode()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
versionback to summary
pack-priv HttpClient.Version version()