Package Summary  Overview Summary

class:HttpResponse.ResponseInfo [NONE]

Enclosing interface:
HttpResponse<T>

public static interface HttpResponse.ResponseInfo
Initial response information supplied to a BodyHandler when a response is initially received and before the body is processed.

method:statusCode() [NONE]

  • statusCode

    int statusCode()
    Provides the response status code.
    Returns:
    the response status code
  • method:headers() [NONE]

    headers

    HttpHeaders headers()
    Provides the response headers.
    Returns:
    the response headers

    method:version() [NONE]

    version

    HttpClient.Version version()
    Provides the response protocol version.
    Returns:
    the response protocol version

    © 2023 Oracle Corporation and/or its affiliates