Package com.nimbusds.oauth2.sdk.http
Interface ReadOnlyHTTPRequest
-
- All Superinterfaces:
ReadOnlyHTTPMessage
- All Known Implementing Classes:
HTTPRequest
public interface ReadOnlyHTTPRequest extends ReadOnlyHTTPMessage
Read-only HTTP request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getConnectTimeout()
Gets the HTTP connect timeout.HTTPRequest.Method
getMethod()
Gets the request method.int
getReadTimeout()
Gets the HTTP response read timeout.URI
getURI()
Gets the request URL as URI.URL
getURL()
Gets the request URL.-
Methods inherited from interface com.nimbusds.oauth2.sdk.http.ReadOnlyHTTPMessage
getBody, getHeaderMap
-
-
-
-
Method Detail
-
getMethod
HTTPRequest.Method getMethod()
Gets the request method.- Returns:
- The request method.
-
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.
-
-