Class TLcdOWSHttpTransportException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TLcdOGCWMSHttpException

public class TLcdOWSHttpTransportException extends TLcdOWSTransportException
An HTTP specific transport exception. This exception provides the details of an HTTP error response, namely the response code and header fields. The response message is available as the detail message of this exception.
Since:
8.2
See Also:
  • Constructor Details

    • TLcdOWSHttpTransportException

      public TLcdOWSHttpTransportException(int aHttpResponseCode, String aHttpResponseMessage, Map aHeaderFields)
      Creates a new HTTP transport exception.
      Parameters:
      aHttpResponseCode - the HTTP response code
      aHttpResponseMessage - the HTTP response message
      aHeaderFields - the header fields of the HTTP reponse
  • Method Details

    • getResponseCode

      public int getResponseCode()
      Returns the HTTP response code. Please refer to the HTTP/1.1 specification (RFC 2616) for a list of posssible values.
      Returns:
      the HTTP response code
    • getHeaderFields

      public Map getHeaderFields()
      Returns a map of String to Lists of Strings that represent the values of the HTTP header fields. Please refer to the HTTP/1.1 specification (RFC 2616) for a list of posssible values.
      Returns:
      the HTTP header fields