Class ClientResponse

java.lang.Object
io.undertow.util.AbstractAttachable
io.undertow.client.ClientResponse
All Implemented Interfaces:
Attachable

public final class ClientResponse extends AbstractAttachable
A client response. This just contains the parsed response header, the response body can be read from the ClientExchange.
Author:
Stuart Douglas
  • Constructor Details

    • ClientResponse

      public ClientResponse(int responseCode, String status, HttpString protocol)
    • ClientResponse

      public ClientResponse(int responseCode, String status, HttpString protocol, HeaderMap headers)
  • Method Details

    • getResponseHeaders

      public HeaderMap getResponseHeaders()
    • getProtocol

      public HttpString getProtocol()
    • getResponseCode

      public int getResponseCode()
    • getStatus

      public String getStatus()
    • toString

      public String toString()
      Overrides:
      toString in class Object