| Package | Description |
|---|---|
| com.okta.commons.http |
| Modifier and Type | Method and Description |
|---|---|
HttpMethod |
Request.getMethod() |
HttpMethod |
DefaultRequest.getMethod() |
static HttpMethod |
HttpMethod.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethod[] |
HttpMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<HttpMethod> |
HttpHeaders.getAllow()
Return the set of allowed
HTTP methods, as specified by the Allow header. |
| Modifier and Type | Method and Description |
|---|---|
void |
HttpHeaders.setAllow(java.util.Set<HttpMethod> allowedMethods)
Set the set of allowed
HTTP methods, as specified by the Allow header. |
| Constructor and Description |
|---|
DefaultRequest(HttpMethod method,
java.lang.String href) |
DefaultRequest(HttpMethod method,
java.lang.String href,
QueryString query) |
DefaultRequest(HttpMethod method,
java.lang.String href,
QueryString query,
HttpHeaders headers) |
DefaultRequest(HttpMethod method,
java.lang.String href,
QueryString query,
HttpHeaders headers,
java.io.InputStream body,
long contentLength) |
Copyright © 2018-2021 Okta. All Rights Reserved.