Package de.esoco.lib.net
Schnittstelle ExternalServiceResponse
public interface ExternalServiceResponse
An interface that represents a response to a
ExternalServiceRequest
.-
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
-