Package com.nimbusds.oauth2.sdk.http
Interface ReadOnlyHTTPResponse
-
- All Superinterfaces:
ReadOnlyHTTPMessage
- All Known Implementing Classes:
HTTPResponse
public interface ReadOnlyHTTPResponse extends ReadOnlyHTTPMessage
Read-only HTTP response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getStatusCode()
Gets the HTTP status code.String
getStatusMessage()
Gets the HTTP status message.-
Methods inherited from interface com.nimbusds.oauth2.sdk.http.ReadOnlyHTTPMessage
getBody, getHeaderMap
-
-
-
-
Method Detail
-
getStatusCode
int getStatusCode()
Gets the HTTP status code.- Returns:
- The HTTP status code.
-
getStatusMessage
String getStatusMessage()
Gets the HTTP status message.- Returns:
- The HTTP status message,
null
if not specified.
-
-