Index

A B C D E F G H I K L M O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

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
A String equivalent of MediaType.ALL.
ALL_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.ALL.
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
A String equivalent of MediaType.APPLICATION_ATOM_XML.
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
A String equivalent of MediaType.APPLICATION_JSON_UTF8.
APPLICATION_JSON_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.APPLICATION_JSON.
APPLICATION_JSON_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.APPLICATION_JSON.
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
A String equivalent of MediaType.APPLICATION_OCTET_STREAM.
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
A String equivalent of MediaType.APPLICATION_PDF.
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
A String equivalent of MediaType.APPLICATION_PROBLEM_JSON.
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
A String equivalent of MediaType.APPLICATION_PROBLEM_XML.
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
A String equivalent of MediaType.APPLICATION_RSS_XML.
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
A String equivalent of MediaType.APPLICATION_STREAM_JSON.
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
A String equivalent of MediaType.APPLICATION_XHTML_XML.
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
A String equivalent of MediaType.APPLICATION_XML.
APPLICATION_XML_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.APPLICATION_XML.
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
 

B

BaseUrlResolver - Interface in com.okta.commons.http.config
 
buildHref(String, QueryString) - Static method in class com.okta.commons.http.QueryString
Build an href with query string.

C

checkParameters(String, String) - Method in class com.okta.commons.http.MediaType
 
checkParameters(String, String) - Method in class com.okta.commons.http.MimeType
 
clear() - Method in class com.okta.commons.http.HttpHeaders
 
com.okta.commons.http - package com.okta.commons.http
 
com.okta.commons.http.authc - package com.okta.commons.http.authc
 
com.okta.commons.http.config - package com.okta.commons.http.config
 
compare(T, T) - Method in class com.okta.commons.http.MimeType.SpecificityComparator
 
compareParameters(T, T) - Method in class com.okta.commons.http.MimeType.SpecificityComparator
 
compareTo(MimeType) - Method in class com.okta.commons.http.MimeType
Compares this MediaType to another alphabetically.
CONNECT - Enum constant in enum com.okta.commons.http.HttpMethod
 
containsKey(Object) - Method in class com.okta.commons.http.HttpHeaders
 
containsValue(Object) - Method in class com.okta.commons.http.HttpHeaders
 
copyQualityValue(MediaType) - Method in class com.okta.commons.http.MediaType
Return a replica of this instance with the quality value of the given MediaType.
create(HttpClientConfiguration) - Method in interface com.okta.commons.http.RequestExecutorFactory
 
create(String) - Static method in class com.okta.commons.http.QueryString
 

D

DefaultRequest - Class in com.okta.commons.http
 
DefaultRequest(HttpMethod, String) - Constructor for class com.okta.commons.http.DefaultRequest
 
DefaultRequest(HttpMethod, String, QueryString) - Constructor for class com.okta.commons.http.DefaultRequest
 
DefaultRequest(HttpMethod, String, QueryString, HttpHeaders) - Constructor for class com.okta.commons.http.DefaultRequest
 
DefaultRequest(HttpMethod, String, QueryString, HttpHeaders, InputStream, long) - Constructor for class com.okta.commons.http.DefaultRequest
 
DefaultResponse - Class in com.okta.commons.http
 
DefaultResponse(int, MediaType, InputStream, long) - Constructor for class com.okta.commons.http.DefaultResponse
 
DELETE - Enum constant in enum com.okta.commons.http.HttpMethod
 
DisabledAuthenticator - Class in com.okta.commons.http.authc
This RequestAuthenticator provides a no-op implementation.
DisabledAuthenticator() - Constructor for class com.okta.commons.http.authc.DisabledAuthenticator
 
doExecuteRequest(Request) - Method in class com.okta.commons.http.RetryRequestExecutor
 

E

encodeUrl(String, boolean, boolean) - Static method in class com.okta.commons.http.RequestUtils
 
entrySet() - Method in class com.okta.commons.http.HttpHeaders
 
equals(Object) - Method in class com.okta.commons.http.config.Proxy
 
equals(Object) - Method in class com.okta.commons.http.HttpHeaders
 
equals(Object) - Method in class com.okta.commons.http.MimeType
 
executeRequest(Request) - Method in interface com.okta.commons.http.RequestExecutor
 
executeRequest(Request) - Method in class com.okta.commons.http.RetryRequestExecutor
 

F

fetchHeaderValueAndRemoveIfPresent(Request, String) - Static method in class com.okta.commons.http.RequestUtils
 

G

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
 
GET - Enum constant in enum com.okta.commons.http.HttpMethod
 
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. 2017-11-30T21:15:16Z) that Okta core supports.
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 class 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
 
getSslFactory() - 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
 

H

hasBody() - Method in class com.okta.commons.http.DefaultRequest
 
hasBody() - Method in class com.okta.commons.http.DefaultResponse
 
hasBody() - Method in interface com.okta.commons.http.HttpMessage
 
hashCode() - Method in class com.okta.commons.http.config.Proxy
 
hashCode() - Method in class com.okta.commons.http.HttpHeaders
 
hashCode() - Method in class com.okta.commons.http.MimeType
 
HEAD - Enum constant in enum com.okta.commons.http.HttpMethod
 
HttpClientConfiguration - Class in com.okta.commons.http.config
This class holds the configuration properties use to construct a RequestExecutor.
HttpClientConfiguration() - Constructor for class com.okta.commons.http.config.HttpClientConfiguration
 
HttpException - Exception Class in com.okta.commons.http
 
HttpException(String) - Constructor for exception class com.okta.commons.http.HttpException
 
HttpException(String, Throwable) - Constructor for exception class com.okta.commons.http.HttpException
 
HttpException(String, Throwable, boolean) - Constructor for exception class com.okta.commons.http.HttpException
 
HttpException(Throwable) - Constructor for exception class com.okta.commons.http.HttpException
 
HttpHeaders - Class in com.okta.commons.http
 
HttpHeaders() - Constructor for class com.okta.commons.http.HttpHeaders
Constructs a new, empty instance of the HttpHeaders object.
HttpMessage - Interface in com.okta.commons.http
 
HttpMethod - Enum in com.okta.commons.http
An enum representing the HTTP methods defined in the Hypertext Transfer Protocol -- HTTP/1.1 specification.

I

IMAGE_GIF - Static variable in class com.okta.commons.http.MediaType
Public constant media type for image/gif.
IMAGE_GIF - Static variable in class com.okta.commons.http.MimeTypeUtils
Public constant mime type for image/gif.
IMAGE_GIF_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.IMAGE_GIF.
IMAGE_GIF_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.IMAGE_GIF.
IMAGE_JPEG - Static variable in class com.okta.commons.http.MediaType
Public constant media type for image/jpeg.
IMAGE_JPEG - Static variable in class com.okta.commons.http.MimeTypeUtils
Public constant mime type for image/jpeg.
IMAGE_JPEG_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.IMAGE_JPEG.
IMAGE_JPEG_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.IMAGE_JPEG.
IMAGE_PNG - Static variable in class com.okta.commons.http.MediaType
Public constant media type for image/png.
IMAGE_PNG - Static variable in class com.okta.commons.http.MimeTypeUtils
Public constant mime type for image/png.
IMAGE_PNG_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.IMAGE_PNG.
IMAGE_PNG_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.IMAGE_PNG.
includes(MediaType) - Method in class com.okta.commons.http.MediaType
Indicate whether this MediaType includes the given media type.
includes(MimeType) - Method in class com.okta.commons.http.MimeType
Indicate whether this MediaType includes the given media type.
InvalidMediaTypeException - Exception Class in com.okta.commons.http
Exception thrown from MediaType.parseMediaType(String) in case of encountering an invalid media type specification String.
InvalidMimeTypeException - Exception Class in com.okta.commons.http
 
isAuthenticationRequired() - Method in class com.okta.commons.http.config.Proxy
 
isClientError() - Method in class com.okta.commons.http.DefaultResponse
 
isClientError() - Method in interface com.okta.commons.http.Response
 
isCompatibleWith(MediaType) - Method in class com.okta.commons.http.MediaType
Indicate whether this MediaType is compatible with the given media type.
isCompatibleWith(MimeType) - Method in class com.okta.commons.http.MimeType
Indicate whether this MediaType is compatible with the given media type.
isConcrete() - Method in class com.okta.commons.http.MimeType
Indicates whether this media type is concrete, i.e. whether neither the type nor the subtype is a wildcard character &#42;.
isDefaultPort(URI) - Static method in class com.okta.commons.http.RequestUtils
Returns true if the specified URI uses a standard port (i.e. http == 80 or https == 443), false otherwise.
isEmpty() - Method in class com.okta.commons.http.HttpHeaders
 
isError() - Method in class com.okta.commons.http.DefaultResponse
 
isError() - Method in interface com.okta.commons.http.Response
 
isRetryable() - Method in exception class com.okta.commons.http.HttpException
 
isServerError() - Method in class com.okta.commons.http.DefaultResponse
 
isServerError() - Method in interface com.okta.commons.http.Response
 
isWildcardSubtype() - Method in class com.okta.commons.http.MimeType
Indicates whether the subtype is the wildcard character &#42; or the wildcard character followed by a suffix (e.g.
isWildcardType() - Method in class com.okta.commons.http.MimeType
Indicates whether the type is the wildcard character &#42; or not.

K

keySet() - Method in class com.okta.commons.http.HttpHeaders
 

L

LINK - Static variable in class com.okta.commons.http.HttpHeaders
 

M

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(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) - 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, double) - Constructor for class com.okta.commons.http.MediaType
Create a new MediaType for the given type, subtype, and quality value.
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, 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(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) - 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(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> - Class in com.okta.commons.http
 
MimeTypeUtils - Class in com.okta.commons.http
Miscellaneous MimeType utility methods.
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
A String equivalent of MediaType.MULTIPART_FORM_DATA.

O

OKTA_AGENT - Static variable in class com.okta.commons.http.HttpHeaders
 
OKTA_CLIENT_REQUEST_ID - Static variable in class com.okta.commons.http.HttpHeaders
 
OKTA_REQUEST_ID - Static variable in class com.okta.commons.http.HttpHeaders
 
OKTA_USER_AGENT - Static variable in class com.okta.commons.http.HttpHeaders
 
OPTIONS - Enum constant in enum com.okta.commons.http.HttpMethod
 

P

parseMediaType(String) - Static method in class com.okta.commons.http.MediaType
Parse the given String into a single MediaType.
parseMediaTypes(String) - Static method in class com.okta.commons.http.MediaType
Parse the given comma-separated string into a list of MediaType objects.
parseMediaTypes(List<String>) - Static method in class com.okta.commons.http.MediaType
Parse the given list of (potentially) comma-separated strings into a list of MediaType objects.
parseMimeType(String) - Static method in class com.okta.commons.http.MimeTypeUtils
Parse the given String into a single MimeType.
parseMimeTypes(String) - Static method in class com.okta.commons.http.MimeTypeUtils
Parse the given, comma-separated string into a list of MimeType objects.
PATCH - Enum constant in enum com.okta.commons.http.HttpMethod
 
POST - Enum constant in enum com.okta.commons.http.HttpMethod
 
Proxy - Class in com.okta.commons.http.config
HTTP proxy server communication settings, used if the Okta SDK Client must communicate through an HTTP Proxy.
Proxy(String, int) - Constructor for class com.okta.commons.http.config.Proxy
Creates a instance reflecting an HTTP proxy server that does not require authentication.
Proxy(String, int, String, String) - Constructor for class com.okta.commons.http.config.Proxy
Creates an instance reflecting an HTTP proxy server that requires username/password authentication.
put(String, Object) - Method in class com.okta.commons.http.QueryString
 
put(String, List<String>) - Method in class com.okta.commons.http.HttpHeaders
 
PUT - Enum constant in enum com.okta.commons.http.HttpMethod
 
putAll(Map<? extends String, ? extends List<String>>) - Method in class com.okta.commons.http.HttpHeaders
 

Q

QUALITY_VALUE_COMPARATOR - Static variable in class com.okta.commons.http.MediaType
QueryString - Class in com.okta.commons.http
 
QueryString() - Constructor for class com.okta.commons.http.QueryString
 
QueryString(Map<String, ?>) - Constructor for class com.okta.commons.http.QueryString
 

R

readOnlyHttpHeaders(HttpHeaders) - Static method in class com.okta.commons.http.HttpHeaders
Returns HttpHeaders object that can only be read, not written to.
remove(Object) - Method in class com.okta.commons.http.HttpHeaders
 
removeQualityValue() - Method in class com.okta.commons.http.MediaType
Return a replica of this instance with its quality value removed.
Request - Interface in com.okta.commons.http
 
RequestAuthenticationException - Exception Class in com.okta.commons.http.authc
 
RequestAuthenticationException(String) - Constructor for exception class com.okta.commons.http.authc.RequestAuthenticationException
 
RequestAuthenticationException(String, Throwable) - Constructor for exception class com.okta.commons.http.authc.RequestAuthenticationException
 
RequestAuthenticator - Interface in com.okta.commons.http.authc
Interface to be implemented by HTTP authentication schemes.
RequestExecutor - Interface in com.okta.commons.http
 
RequestExecutorFactory - Interface in com.okta.commons.http
 
RequestUtils - Class in com.okta.commons.http
 
Response - Interface in com.okta.commons.http
 
RetryRequestExecutor - Class in com.okta.commons.http
 
RetryRequestExecutor(HttpClientConfiguration, RequestExecutor) - Constructor for class com.okta.commons.http.RetryRequestExecutor
 

S

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
 
setSslFactory(SSLFactory) - 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
 

T

TEXT_EVENT_STREAM - Static variable in class com.okta.commons.http.MediaType
Public constant media type for text/event-stream.
TEXT_EVENT_STREAM_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.TEXT_EVENT_STREAM.
TEXT_HTML - Static variable in class com.okta.commons.http.MediaType
Public constant media type for text/html.
TEXT_HTML - Static variable in class com.okta.commons.http.MimeTypeUtils
Public constant mime type for text/html.
TEXT_HTML_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.TEXT_HTML.
TEXT_HTML_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.TEXT_HTML.
TEXT_MARKDOWN - Static variable in class com.okta.commons.http.MediaType
Public constant media type for text/markdown.
TEXT_MARKDOWN_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.TEXT_MARKDOWN.
TEXT_PLAIN - Static variable in class com.okta.commons.http.MediaType
Public constant media type for text/plain.
TEXT_PLAIN - Static variable in class com.okta.commons.http.MimeTypeUtils
Public constant mime type for text/plain.
TEXT_PLAIN_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.TEXT_PLAIN.
TEXT_PLAIN_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.TEXT_PLAIN.
TEXT_XML - Static variable in class com.okta.commons.http.MediaType
Public constant media type for text/xml.
TEXT_XML - Static variable in class com.okta.commons.http.MimeTypeUtils
Public constant mime type for text/xml.
TEXT_XML_VALUE - Static variable in class com.okta.commons.http.MediaType
A String equivalent of MediaType.TEXT_XML.
TEXT_XML_VALUE - Static variable in class com.okta.commons.http.MimeTypeUtils
A String equivalent of MimeTypeUtils.TEXT_XML.
toSingleValueMap() - Method in class com.okta.commons.http.HttpHeaders
 
toString() - Method in class com.okta.commons.http.config.HttpClientConfiguration
 
toString() - Method in class com.okta.commons.http.config.Proxy
 
toString() - Method in class com.okta.commons.http.HttpHeaders
 
toString() - Method in class com.okta.commons.http.MimeType
 
toString() - Method in class com.okta.commons.http.QueryString
 
toString(boolean) - Method in class com.okta.commons.http.QueryString
The canonicalized query string is formed by first sorting all the query string parameters, then URI encoding both the key and value and then joining them, in order, separating key value pairs with an '&'.
toString(Collection<? extends MimeType>) - Static method in class com.okta.commons.http.MimeTypeUtils
Return a string representation of the given list of MimeType objects.
toString(Collection<MediaType>) - Static method in class com.okta.commons.http.MediaType
Return a string representation of the given list of MediaType objects.
TRACE - Enum constant in enum com.okta.commons.http.HttpMethod
 

U

unquote(String) - Method in class com.okta.commons.http.MimeType
 
USER_AGENT - Static variable in class com.okta.commons.http.HttpHeaders
 

V

valueOf(String) - Static method in enum com.okta.commons.http.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.okta.commons.http.MediaType
Parse the given String value into a MediaType object, with this method name following the 'valueOf' naming convention.
valueOf(String) - Static method in class com.okta.commons.http.MimeType
Parse the given String value into a MimeType object, with this method name following the 'valueOf' naming convention (as supported by org.springframework.core.convert.ConversionService.
values() - Method in class com.okta.commons.http.HttpHeaders
 
values() - Static method in enum com.okta.commons.http.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

WILDCARD_TYPE - Static variable in class com.okta.commons.http.MimeType
 
A B C D E F G H I K L M O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form