Package com.nimbusds.oauth2.sdk.http
Interface ReadOnlyHTTPRequest
- All Superinterfaces:
ReadOnlyHTTPMessage
- All Known Implementing Classes:
HTTPRequest
Read-only HTTP request.
-
Method Summary
Methods inherited from interface com.nimbusds.oauth2.sdk.http.ReadOnlyHTTPMessage
getBody, getHeaderMap
-
Method Details
-
getMethod
Gets the request method.- Returns:
- The request method.
-
getURL
Gets the request URL.- Returns:
- The request URL.
-
getURI
Gets the request URL as URI.- Returns:
- The request URL as URI.
-
getConnectTimeout
int getConnectTimeout()Gets the HTTP connect timeout.- Returns:
- The HTTP connect timeout, in milliseconds. Zero implies no timeout.
-
getReadTimeout
int getReadTimeout()Gets the HTTP response read timeout.- Returns:
- The HTTP response read timeout, in milliseconds. Zero implies no timeout.
-