Schnittstelle ExternalServiceResponse


public interface ExternalServiceResponse
An interface that represents a response to a ExternalServiceRequest.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    Returns the response code.
    Returns the response data.
    Returns the response message that is related to the response code.
  • Methodendetails

    • getCode

      int getCode()
      Returns the response code. The value is implementation dependent but will typically be an HTTP response code.
      Gibt zurück:
      The response code
    • getData

      String getData()
      Returns the response data. The contents is implementation dependent but will typically be the body of an HTTP response.
      Gibt zurück:
      The response data string
    • getMessage

      String getMessage()
      Returns the response message that is related to the response code.
      Gibt zurück:
      The response message