- add(String, String) - Method in class com.okta.commons.http.HttpHeaders
-
Add the given, single header value under the given name.
- ALL - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type that includes all media ranges (i.e.
- ALL - Static variable in class com.okta.commons.http.MimeTypeUtils
-
Public constant mime type that includes all media ranges (i.e.
- ALL_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- ALL_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
-
- appendTo(StringBuilder) - Method in class com.okta.commons.http.MimeType
-
- APPLICATION_ATOM_XML - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/atom+xml.
- APPLICATION_ATOM_XML_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_FORM_URLENCODED - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/x-www-form-urlencoded.
- APPLICATION_FORM_URLENCODED_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_JSON - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/json.
- APPLICATION_JSON - Static variable in class com.okta.commons.http.MimeTypeUtils
-
Public constant mime type for application/json.
- APPLICATION_JSON_UTF8 - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/json;charset=UTF-8.
- APPLICATION_JSON_UTF8_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_JSON_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_JSON_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
-
- APPLICATION_OCTET_STREAM - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/octet-stream.
- APPLICATION_OCTET_STREAM - Static variable in class com.okta.commons.http.MimeTypeUtils
-
Public constant mime type for application/octet-stream.
- APPLICATION_OCTET_STREAM_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_OCTET_STREAM_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
-
- APPLICATION_PDF - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/pdf.
- APPLICATION_PDF_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_PROBLEM_JSON - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/problem+json.
- APPLICATION_PROBLEM_JSON_UTF8 - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/problem+json.
- APPLICATION_PROBLEM_JSON_UTF8_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_PROBLEM_JSON_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_PROBLEM_XML - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/problem+xml.
- APPLICATION_PROBLEM_XML_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_RSS_XML - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/rss+xml.
- APPLICATION_RSS_XML_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_STREAM_JSON - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/stream+json.
- APPLICATION_STREAM_JSON_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_XHTML_XML - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/xhtml+xml.
- APPLICATION_XHTML_XML_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_XML - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for application/xml.
- APPLICATION_XML - Static variable in class com.okta.commons.http.MimeTypeUtils
-
Public constant mime type for application/xml.
- APPLICATION_XML_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- APPLICATION_XML_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
-
- asMediaType(MimeType) - Static method in class com.okta.commons.http.MediaType
-
Re-create the given mime type as a media type.
- asMediaTypes(List<MimeType>) - Static method in class com.okta.commons.http.MediaType
-
Re-create the given mime types as media types.
- authenticate(Request) - Method in class com.okta.commons.http.authc.DisabledAuthenticator
-
- authenticate(Request) - Method in interface com.okta.commons.http.authc.RequestAuthenticator
-
Implementations of this operation will prepare the authentication information as expected by the Okta API server.
- AUTHENTICATION_SCHEME - Static variable in class com.okta.commons.http.authc.DisabledAuthenticator
-
- AUTHORIZATION_HEADER - Static variable in interface com.okta.commons.http.authc.RequestAuthenticator
-
- generateMultipartBoundary() - Static method in class com.okta.commons.http.MimeTypeUtils
-
Generate a random MIME boundary as bytes, often used in multipart mime types.
- generateMultipartBoundaryString() - Static method in class com.okta.commons.http.MimeTypeUtils
-
Generate a random MIME boundary as String, often used in multipart mime types.
- get(Object) - Method in class com.okta.commons.http.HttpHeaders
-
- getAccept() - Method in class com.okta.commons.http.HttpHeaders
-
Return the list of acceptable
media types, as specified by the
Accept header.
- getAcceptCharset() - Method in class com.okta.commons.http.HttpHeaders
-
Return the list of acceptable charsets, as specified by the Accept-Charset
header.
- getAllow() - Method in class com.okta.commons.http.HttpHeaders
-
Return the set of allowed
HTTP methods, as specified by the
Allow header.
- getBaseUrl() - Method in interface com.okta.commons.http.config.BaseUrlResolver
-
- getBaseUrl() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getBody() - Method in class com.okta.commons.http.DefaultRequest
-
- getBody() - Method in class com.okta.commons.http.DefaultResponse
-
- getBody() - Method in interface com.okta.commons.http.HttpMessage
-
- getCacheControl() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the value of the Cache-Control header.
- getCharset() - Method in class com.okta.commons.http.MimeType
-
Return the character set, as indicated by a charset parameter, if any.
- getConnectionTimeout() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
Connection timeout in seconds
- getContentLength() - Method in class com.okta.commons.http.HttpHeaders
-
Return the length of the body in bytes, as specified by the Content-Length header.
- getContentType() - Method in class com.okta.commons.http.HttpHeaders
-
Return the
media type of the body, as specified by the
Content-Type header.
- getDate() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the date and time at which the message was created, as specified by the Date header.
- getETag() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the entity tag of the body, as specified by the ETag header.
- getExpires() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the date and time at which the message is no longer valid, as specified by the Expires header.
- getFirst(String) - Method in class com.okta.commons.http.HttpHeaders
-
Return the first header value for the given header name, if any.
- getFormattedDate(Date) - Static method in class com.okta.commons.http.RequestUtils
-
Convert supplied Date object into ISO 8601 formatted
date string (e.g.
- getHeaders() - Method in class com.okta.commons.http.DefaultRequest
-
- getHeaders() - Method in class com.okta.commons.http.DefaultResponse
-
- getHeaders() - Method in interface com.okta.commons.http.HttpMessage
-
- getHost() - Method in class com.okta.commons.http.config.Proxy
-
- getHttpStatus() - Method in class com.okta.commons.http.DefaultResponse
-
- getHttpStatus() - Method in interface com.okta.commons.http.Response
-
- getIfNoneMatch() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the value of the If-None-Match header.
- getIfNotModifiedSince() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the value of the IfModifiedSince header.
- getLastModified() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the time the resource was last changed, as specified by the Last-Modified header.
- getLinkHeaders() - Method in class com.okta.commons.http.HttpHeaders
-
- getLinkMap() - Method in class com.okta.commons.http.HttpHeaders
-
- getLocation() - Method in class com.okta.commons.http.HttpHeaders
-
Return the (new) location of a resource, as specified by the Location header.
- getMediaType() - Method in exception com.okta.commons.http.InvalidMediaTypeException
-
Return the offending media type.
- getMethod() - Method in class com.okta.commons.http.DefaultRequest
-
- getMethod() - Method in interface com.okta.commons.http.Request
-
- getNumRetries() - Method in class com.okta.commons.http.RetryRequestExecutor
-
Deprecated.
- getOktaRequestId() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the value of the Okta-Request-Id header.
- getParameter(String) - Method in class com.okta.commons.http.MimeType
-
Return a generic parameter value, given a parameter name.
- getParameters() - Method in class com.okta.commons.http.MimeType
-
Return all generic parameter values.
- getPassword() - Method in class com.okta.commons.http.config.Proxy
-
- getPort() - Method in class com.okta.commons.http.config.Proxy
-
- getPragma() - Method in class com.okta.commons.http.HttpHeaders
-
Returns the value of the Pragma header.
- getProxy() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getProxyHost() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getProxyPassword() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getProxyPort() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getProxyUsername() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getQualityValue() - Method in class com.okta.commons.http.MediaType
-
Return the quality value, as indicated by a q parameter, if any.
- getQueryString() - Method in class com.okta.commons.http.DefaultRequest
-
- getQueryString() - Method in interface com.okta.commons.http.Request
-
- getRequestAuthenticator() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getRequestExecutorParams() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getResourceUrl() - Method in class com.okta.commons.http.DefaultRequest
-
- getResourceUrl() - Method in interface com.okta.commons.http.Request
-
Returns the request target resource's Uniform Resource Locator location without a query string.
- getRetryMaxAttempts() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getRetryMaxElapsed() - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- getSubtype() - Method in class com.okta.commons.http.MimeType
-
Return the subtype.
- getType() - Method in class com.okta.commons.http.MimeType
-
Return the primary type.
- getUsername() - Method in class com.okta.commons.http.config.Proxy
-
- getXHeaders() - Method in class com.okta.commons.http.HttpHeaders
-
- MediaType - Class in com.okta.commons.http
-
A sub-class of
MimeType that adds support for quality parameters as defined
in the HTTP specification.
- MediaType(String) - Constructor for class com.okta.commons.http.MediaType
-
Create a new MediaType for the given primary type.
- MediaType(String, String) - Constructor for class com.okta.commons.http.MediaType
-
Create a new MediaType for the given primary type and subtype.
- MediaType(String, String, Charset) - Constructor for class com.okta.commons.http.MediaType
-
Create a new MediaType for the given type, subtype, and character set.
- MediaType(String, String, double) - Constructor for class com.okta.commons.http.MediaType
-
Create a new MediaType for the given type, subtype, and quality value.
- MediaType(MediaType, Charset) - Constructor for class com.okta.commons.http.MediaType
-
Copy-constructor that copies the type, subtype and parameters of the given
MediaType, and allows to set the specified character set.
- MediaType(MediaType, Map<String, String>) - Constructor for class com.okta.commons.http.MediaType
-
Copy-constructor that copies the type and subtype of the given MediaType,
and allows for different parameter.
- MediaType(String, String, Map<String, String>) - Constructor for class com.okta.commons.http.MediaType
-
Create a new MediaType for the given type, subtype, and parameters.
- MimeType - Class in com.okta.commons.http
-
Represents a MIME Type, as originally defined in RFC 2046 and subsequently used in
other Internet protocols including HTTP.
- MimeType(String) - Constructor for class com.okta.commons.http.MimeType
-
Create a new MimeType for the given primary type.
- MimeType(String, String) - Constructor for class com.okta.commons.http.MimeType
-
Create a new MimeType for the given primary type and subtype.
- MimeType(String, String, Charset) - Constructor for class com.okta.commons.http.MimeType
-
Create a new MimeType for the given type, subtype, and character set.
- MimeType(MimeType, Charset) - Constructor for class com.okta.commons.http.MimeType
-
Copy-constructor that copies the type, subtype, parameters of the given MimeType,
and allows to set the specified character set.
- MimeType(MimeType, Map<String, String>) - Constructor for class com.okta.commons.http.MimeType
-
Copy-constructor that copies the type and subtype of the given MimeType,
and allows for different parameter.
- MimeType(String, String, Map<String, String>) - Constructor for class com.okta.commons.http.MimeType
-
Create a new MimeType for the given type, subtype, and parameters.
- MimeType.SpecificityComparator<T extends MimeType> - Class in com.okta.commons.http
-
- MimeTypeUtils - Class in com.okta.commons.http
-
- MULTIPART_FORM_DATA - Static variable in class com.okta.commons.http.MediaType
-
Public constant media type for multipart/form-data.
- MULTIPART_FORM_DATA_VALUE - Static variable in class com.okta.commons.http.MediaType
-
- set(String, String) - Method in class com.okta.commons.http.HttpHeaders
-
Set the given, single header value under the given name.
- setAccept(List<MediaType>) - Method in class com.okta.commons.http.HttpHeaders
-
Set the list of acceptable
media types, as specified by the
Accept header.
- setAcceptCharset(List<Charset>) - Method in class com.okta.commons.http.HttpHeaders
-
Set the list of acceptable charsets, as specified by the Accept-Charset header.
- setAll(Map<String, String>) - Method in class com.okta.commons.http.HttpHeaders
-
- setAllow(Set<HttpMethod>) - Method in class com.okta.commons.http.HttpHeaders
-
Set the set of allowed
HTTP methods, as specified by the
Allow header.
- setBaseUrl(String) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setCacheControl(String) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the (new) value of the Cache-Control header.
- setConnectionTimeout(int) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
Connection timeout in seconds.
- setContentDispositionFormData(String, String) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the (new) value of the Content-Disposition header for form-data.
- setContentLength(long) - Method in class com.okta.commons.http.HttpHeaders
-
Set the length of the body in bytes, as specified by the Content-Length header.
- setContentType(MediaType) - Method in class com.okta.commons.http.HttpHeaders
-
Set the
media type of the body, as specified by the
Content-Type header.
- setDate(long) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the date and time at which the message was created, as specified by the Date header.
- setETag(String) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the (new) entity tag of the body, as specified by the ETag header.
- setExpires(long) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the date and time at which the message is no longer valid, as specified by the Expires header.
- setHeaders(HttpHeaders) - Method in class com.okta.commons.http.DefaultRequest
-
- setHeaders(HttpHeaders) - Method in class com.okta.commons.http.DefaultResponse
-
- setHeaders(HttpHeaders) - Method in interface com.okta.commons.http.HttpMessage
-
- setIfModifiedSince(long) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the (new) value of the If-Modified-Since header.
- setIfNoneMatch(String) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the (new) value of the If-None-Match header.
- setIfNoneMatch(List<String>) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the (new) values of the If-None-Match header.
- setLastModified(long) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the time the resource was last changed, as specified by the Last-Modified header.
- setLocation(URI) - Method in class com.okta.commons.http.HttpHeaders
-
Set the (new) location of a resource, as specified by the Location header.
- setNumRetries(int) - Method in class com.okta.commons.http.RetryRequestExecutor
-
Deprecated.
- setPragma(String) - Method in class com.okta.commons.http.HttpHeaders
-
Sets the (new) value of the Pragma header.
- setProxy(Proxy) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setProxyHost(String) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setProxyPassword(String) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setProxyPort(int) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setProxyUsername(String) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setQueryString(QueryString) - Method in class com.okta.commons.http.DefaultRequest
-
- setQueryString(QueryString) - Method in interface com.okta.commons.http.Request
-
- setRequestAuthenticator(RequestAuthenticator) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setRequestExecutorParams(Map<String, String>) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setRetryMaxAttempts(int) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- setRetryMaxElapsed(int) - Method in class com.okta.commons.http.config.HttpClientConfiguration
-
- size() - Method in class com.okta.commons.http.HttpHeaders
-
- sortByQualityValue(List<MediaType>) - Static method in class com.okta.commons.http.MediaType
-
Sorts the given list of MediaType objects by quality value.
- sortBySpecificity(List<MediaType>) - Static method in class com.okta.commons.http.MediaType
-
Sorts the given list of MediaType objects by specificity.
- sortBySpecificity(List<MimeType>) - Static method in class com.okta.commons.http.MimeTypeUtils
-
Sorts the given list of MimeType objects by specificity.
- sortBySpecificityAndQuality(List<MediaType>) - Static method in class com.okta.commons.http.MediaType
-
Sorts the given list of MediaType objects by specificity as the
primary criteria and quality value the secondary.
- SPECIFICITY_COMPARATOR - Static variable in class com.okta.commons.http.MediaType
-
- SPECIFICITY_COMPARATOR - Static variable in class com.okta.commons.http.MimeTypeUtils
-
- SpecificityComparator() - Constructor for class com.okta.commons.http.MimeType.SpecificityComparator
-