Interface HttpResponse

All Superinterfaces:
CloseableConnectorResponse, ConnectorResponse
All Known Subinterfaces:
SoapHttpResponse
All Known Implementing Classes:
HttpResponseImpl, SoapHttpResponseImpl

public interface HttpResponse extends CloseableConnectorResponse
  • Field Details

  • Method Details

    • getStatusCode

      Integer getStatusCode()
      Returns:
      the HTTP status code of the response
    • getResponse

      String getResponse()
      Returns:
      the response body or null if non exists
    • getHeaders

      Map<String,String> getHeaders()
      Returns:
      the response headers
    • getHeader

      String getHeader(String field)
      Returns:
      return the response header value for the given field or null if not set