A B C D E F G H I J K L M O P R S T U V X 
All Classes All Packages

A

ACCEPT_STRING - Static variable in class com.networknt.http.client.Headers
 
addAuthToken(HttpRequest.Builder, String) - Method in class com.networknt.http.client.HttpClientRequest
Add Authorization Code grant token the caller app gets from OAuth2 server.
addCcToken(HttpRequest.Builder) - Method in class com.networknt.http.client.HttpClientRequest
Add Client Credentials token cached in the client for standalone application
addCorrelationId(HttpRequest.Builder, String) - Method in class com.networknt.http.client.HttpClientRequest
 
addRequestHeader(HttpRequest.Builder, String, String) - Method in class com.networknt.http.client.HttpClientRequest
 
addRequestHeaders(HttpRequest.Builder, Map<String, String>) - Method in class com.networknt.http.client.HttpClientRequest
 
addTraceabilityId(HttpRequest.Builder, String) - Method in class com.networknt.http.client.HttpClientRequest
 
ANY_TYPE - com.networknt.http.client.ContentType
 
APIS - com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
 
APPLICATION_FORM_URLENCODED_VALUE - com.networknt.http.client.ContentType
 
APPLICATION_JSON - com.networknt.http.client.ContentType
 
APPLICATION_PDF_VALUE - com.networknt.http.client.ContentType
 
APPLICATION_XML_VALUE - com.networknt.http.client.ContentType
 
AUTHORIZATION_CODE - Static variable in class com.networknt.http.client.ClientConfig
 
AUTHORIZATION_STRING - Static variable in class com.networknt.http.client.Headers
 
AuthorizationCodeRequest - Class in com.networknt.http.client
Created by steve on 02/09/16.
AuthorizationCodeRequest() - Constructor for class com.networknt.http.client.AuthorizationCodeRequest
load default values from client.json for authorization code grant, overwrite by setters in case you want to change it at runtime.

B

buildHttpClient(ClientConfig, boolean) - Method in class com.networknt.http.client.HttpClientRequest
 

C

CACHE - Static variable in class com.networknt.http.client.ClientConfig
 
cacheJwt(Jwt.Key, Jwt) - Method in interface com.networknt.http.client.oauth.cache.ICacheStrategy
caches a jwt to the cache pool with provided cache key and jwt.
cacheJwt(Jwt.Key, Jwt) - Method in class com.networknt.http.client.oauth.cache.LongestExpireCacheStrategy
This method is to cache a jwt LongestExpireCacheStrategy based on a given Jwt.Key and a Jwt.
CAPACITY - Static variable in class com.networknt.http.client.ClientConfig
 
CLIENT_AUTHENTICATED_USER - Static variable in class com.networknt.http.client.ClientConfig
 
CLIENT_AUTHENTICATED_USER_REQUEST_COMPOSER - com.networknt.http.client.ClientRequestComposerProvider.ClientRequestComposers
 
CLIENT_CREDENTIAL_REQUEST_COMPOSER - com.networknt.http.client.ClientRequestComposerProvider.ClientRequestComposers
 
CLIENT_CREDENTIALS - Static variable in class com.networknt.http.client.ClientConfig
 
CLIENT_ID - Static variable in class com.networknt.http.client.ClientConfig
 
CLIENT_SECRET - Static variable in class com.networknt.http.client.ClientConfig
 
ClientAuthenticatedUserRequest - Class in com.networknt.http.client
 
ClientAuthenticatedUserRequest(String, String, String) - Constructor for class com.networknt.http.client.ClientAuthenticatedUserRequest
load default values from client.yml for client authenticated user grant, overwrite by setters in case you want to change it at runtime.
ClientConfig - Class in com.networknt.http.client
 
ClientCredentialsRequest - Class in com.networknt.http.client
load default values from client.yml for client credentials grant, overwrite by setters in case you want to change it at runtime.
ClientCredentialsRequest() - Constructor for class com.networknt.http.client.ClientCredentialsRequest
 
ClientException - Exception in com.networknt.http.client.exception
This is a checked exception used by Client module.
ClientException() - Constructor for exception com.networknt.http.client.exception.ClientException
 
ClientException(Status) - Constructor for exception com.networknt.http.client.exception.ClientException
 
ClientException(String) - Constructor for exception com.networknt.http.client.exception.ClientException
 
ClientException(String, Throwable) - Constructor for exception com.networknt.http.client.exception.ClientException
 
ClientException(Throwable) - Constructor for exception com.networknt.http.client.exception.ClientException
 
clientId - Variable in class com.networknt.http.client.KeyRequest
 
ClientRequestComposerProvider - Class in com.networknt.http.client
This class is a singleton to provide registered IClientRequestComposable composers.
ClientRequestComposerProvider.ClientRequestComposers - Enum in com.networknt.http.client
 
clientSecret - Variable in class com.networknt.http.client.KeyRequest
 
com.networknt.http.client - package com.networknt.http.client
 
com.networknt.http.client.exception - package com.networknt.http.client.exception
 
com.networknt.http.client.monad - package com.networknt.http.client.monad
 
com.networknt.http.client.oauth - package com.networknt.http.client.oauth
 
com.networknt.http.client.oauth.cache - package com.networknt.http.client.oauth.cache
 
com.networknt.http.client.ssl - package com.networknt.http.client.ssl
 
composeClientRequest(TokenRequest) - Method in interface com.networknt.http.client.IClientRequestComposable
compose an actual HttpRequest based on the given TokenRequest model.
CONFIG_LEVEL_DELIMITER - Static variable in class com.networknt.http.client.ssl.TLSConfig
 
CONFIG_NAME - Static variable in class com.networknt.http.client.ClientConfig
 
CONTENT_TYPE_STRING - Static variable in class com.networknt.http.client.Headers
 
ContentType - Enum in com.networknt.http.client
a enum for http Content-Type header
CORRELATION_ID_STRING - Static variable in class com.networknt.http.client.Headers
 
create(Map<String, Object>) - Static method in class com.networknt.http.client.ssl.TLSConfig
 
create(Map<String, Object>, String) - Static method in class com.networknt.http.client.ssl.TLSConfig
 
createSSLContext() - Static method in class com.networknt.http.client.HttpClientRequest
default method for creating ssl context.
createSSLContext(String) - Static method in class com.networknt.http.client.HttpClientRequest
create ssl context using specified trustedName config
CSRF - Static variable in class com.networknt.http.client.ClientConfig
 

D

DEFAULT_BUFFER_SIZE - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_CONNECTION_EXPIRE_TIME - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_CONNECTION_POOL_SIZE - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_ERROR_THRESHOLD - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_GROUP_KEY - Static variable in class com.networknt.http.client.ssl.TLSConfig
 
DEFAULT_INJECT_CALLER_ID - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_INJECT_OPEN_TRACING - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_MAX_CONNECTION_PER_HOST - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_MAX_REQUEST_PER_CONNECTION - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_MIN_CONNECTION_PER_HOST - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_REQUEST_ENABLE_HTTP2 - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_RESET_TIMEOUT - Static variable in class com.networknt.http.client.ClientConfig
 
DEFAULT_TIMEOUT - Static variable in class com.networknt.http.client.ClientConfig
 
defaultSeverity - Static variable in class com.networknt.http.client.monad.Status
 
DELETE - com.networknt.http.client.HttpMethod
 
DEREF - Static variable in class com.networknt.http.client.ClientConfig
 
DerefRequest - Class in com.networknt.http.client
 
DerefRequest(String) - Constructor for class com.networknt.http.client.DerefRequest
 
derefToken(DerefRequest) - Static method in class com.networknt.http.client.oauth.OauthHelper
De-reference a simple web token to JWT token from OAuth 2.0 provider.
derefToken(DerefRequest, String) - Static method in class com.networknt.http.client.oauth.OauthHelper
De-reference a simple web token to JWT token from OAuth 2.0 provider.

E

EARLY_REFRESH_RETRY_DELAY - Static variable in class com.networknt.http.client.ClientConfig
 
ENABLE_HTTP2 - Static variable in class com.networknt.http.client.ClientConfig
 
enableHttp2 - Variable in class com.networknt.http.client.KeyRequest
 
encodeCredentials(String, String) - Static method in class com.networknt.http.client.oauth.OauthHelper
 
EndpointIdentificationAlgorithm - Enum in com.networknt.http.client.ssl
This Enum is used to support endpoint identification algorithms LDAPS (RFC 2830), HTTPS (RFC 2818), and APIS.
equals(Object) - Method in class com.networknt.http.client.oauth.Jwt.Key
 
EXPIRED_REFRESH_RETRY_DELAY - Static variable in class com.networknt.http.client.ClientConfig
 

F

Failure<T> - Class in com.networknt.http.client.monad
 
flatMap(Function<? super T, Result<R>>) - Method in interface com.networknt.http.client.monad.Result
 
fold(Function<? super T, ? extends R>, Function<Failure<R>, ? extends R>) - Method in interface com.networknt.http.client.monad.Result
 
fromJson(String, Class<T>) - Static method in class com.networknt.http.client.JsonMapper
 

G

get() - Static method in class com.networknt.http.client.ClientConfig
 
GET - com.networknt.http.client.HttpMethod
 
getAccessToken() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getAuthCode() - Method in class com.networknt.http.client.AuthorizationCodeRequest
 
getBasicAuthHeader(String, String) - Static method in class com.networknt.http.client.oauth.OauthHelper
 
getBodyPublisher(Optional<?>) - Method in class com.networknt.http.client.HttpClientRequest
 
getBufferSize() - Method in class com.networknt.http.client.ClientConfig
 
getCachedJwt(Jwt.Key) - Method in interface com.networknt.http.client.oauth.cache.ICacheStrategy
get Jwt from cache pool with provided Jwt.Key cache key
getCachedJwt(Jwt.Key) - Method in class com.networknt.http.client.oauth.cache.LongestExpireCacheStrategy
get Jwt from cache pool based on provided Jwt.Key key
getCheckServerIdentity() - Method in class com.networknt.http.client.ssl.TLSConfig
 
getClientId() - Method in class com.networknt.http.client.DerefRequest
 
getClientId() - Method in class com.networknt.http.client.KeyRequest
 
getClientId() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getClientId() - Method in class com.networknt.http.client.SignRequest
 
getClientSecret() - Method in class com.networknt.http.client.DerefRequest
 
getClientSecret() - Method in class com.networknt.http.client.KeyRequest
 
getClientSecret() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getClientSecret() - Method in class com.networknt.http.client.SignRequest
 
getCode() - Method in class com.networknt.http.client.monad.Status
 
getComposer(ClientRequestComposerProvider.ClientRequestComposers) - Method in class com.networknt.http.client.ClientRequestComposerProvider
get IClientRequestComposable based on ClientRequestComposers composer name
getConnectionExpireTime() - Method in class com.networknt.http.client.ClientConfig
 
getConnectionPoolSize() - Method in class com.networknt.http.client.ClientConfig
 
getContentTypeHeaders(HttpHeaders) - Static method in class com.networknt.http.client.oauth.OauthHelper
 
getCsrf() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getDerefConfig() - Method in class com.networknt.http.client.ClientConfig
 
getDescription() - Method in class com.networknt.http.client.monad.Status
 
getEarlyRefreshRetryDelay() - Static method in class com.networknt.http.client.oauth.Jwt
 
getEarlyRetryTimeout() - Method in class com.networknt.http.client.oauth.Jwt
 
getEncodedString(TokenRequest) - Static method in class com.networknt.http.client.oauth.OauthHelper
 
getEndpointIdentificationAlgorithm() - Method in class com.networknt.http.client.ssl.TLSConfig
 
getError() - Method in class com.networknt.http.client.monad.Failure
 
getError() - Method in interface com.networknt.http.client.monad.Result
 
getError() - Method in class com.networknt.http.client.monad.Success
 
getErrorThreshold() - Method in class com.networknt.http.client.ClientConfig
 
getExampleParameter() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getExpire() - Method in class com.networknt.http.client.oauth.Jwt
 
getExpiredRefreshRetryDelay() - Static method in class com.networknt.http.client.oauth.Jwt
 
getExpiredRetryTimeout() - Method in class com.networknt.http.client.oauth.Jwt
 
getExpires() - Method in class com.networknt.http.client.SignRequest
 
getExpiresIn() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getFormDataString(Map<String, String>) - Static method in class com.networknt.http.client.ClientRequestComposerProvider
 
getGrantType() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getHttpVersion() - Method in class com.networknt.http.client.ClientConfig
 
getInstance() - Static method in class com.networknt.http.client.ClientRequestComposerProvider
 
getInstance() - Static method in class com.networknt.http.client.oauth.TokenManager
 
getJwt() - Method in class com.networknt.http.client.oauth.Jwt
 
getJwt() - Method in class com.networknt.http.client.oauth.TokenManager
 
getJwt(Jwt.Key) - Method in class com.networknt.http.client.oauth.TokenManager
get a Jwt with a provided Key (Key is either scope or a service id inputted by user, for caching usage): 1.if a token is cached with provided key - if the token is expired, renew it right away.
getJwt(Set<String>, String) - Method in class com.networknt.http.client.oauth.TokenManager
get a Jwt with a provided clientRequest, it will get token based on Jwt.Key (either scope or service_id) if the user declared both scope and service_id in header, it will get jwt based on scope
getJwtClientAssertion() - Method in class com.networknt.http.client.SAMLBearerRequest
 
getKey() - Method in class com.networknt.http.client.oauth.Jwt
 
getKey(KeyRequest) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get the certificate from key distribution service of OAuth 2.0 provider with the kid.
getKey(KeyRequest, String) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get the certificate from key distribution service of OAuth 2.0 provider with the kid.
getKid() - Method in class com.networknt.http.client.KeyRequest
 
getMappedConfig() - Method in class com.networknt.http.client.ClientConfig
 
getMaxConnectionNumPerHost() - Method in class com.networknt.http.client.ClientConfig
 
getMaxRequestPerConnection() - Method in class com.networknt.http.client.ClientConfig
 
getMessage() - Method in class com.networknt.http.client.monad.Status
 
getMinConnectionNumPerHost() - Method in class com.networknt.http.client.ClientConfig
 
getPayload() - Method in class com.networknt.http.client.SignRequest
 
getProxyHost() - Method in class com.networknt.http.client.DerefRequest
 
getProxyHost() - Method in class com.networknt.http.client.KeyRequest
 
getProxyHost() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getProxyHost() - Method in class com.networknt.http.client.SignRequest
 
getProxyPort() - Method in class com.networknt.http.client.DerefRequest
 
getProxyPort() - Method in class com.networknt.http.client.KeyRequest
 
getProxyPort() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getProxyPort() - Method in class com.networknt.http.client.SignRequest
 
getRedirectUri() - Method in class com.networknt.http.client.AuthorizationCodeRequest
 
getRedirectUri() - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 
getRefreshToken() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getRefreshToken() - Method in class com.networknt.http.client.RefreshTokenRequest
 
getRemember() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getResetTimeout() - Method in class com.networknt.http.client.ClientConfig
 
getResult() - Method in class com.networknt.http.client.monad.Failure
 
getResult() - Method in interface com.networknt.http.client.monad.Result
 
getResult() - Method in class com.networknt.http.client.monad.Success
 
getRoles() - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 
getSamlAssertion() - Method in class com.networknt.http.client.SAMLBearerRequest
 
getScope() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getScope() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getScopes() - Method in class com.networknt.http.client.oauth.Jwt
 
getScopes() - Method in class com.networknt.http.client.oauth.Jwt.Key
 
getServerUrl() - Method in class com.networknt.http.client.DerefRequest
 
getServerUrl() - Method in class com.networknt.http.client.KeyRequest
 
getServerUrl() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getServerUrl() - Method in class com.networknt.http.client.SignRequest
 
getServiceId() - Method in class com.networknt.http.client.DerefRequest
 
getServiceId() - Method in class com.networknt.http.client.KeyRequest
 
getServiceId() - Method in class com.networknt.http.client.oauth.Jwt.Key
 
getServiceId() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getServiceId() - Method in class com.networknt.http.client.SignRequest
 
getSeverity() - Method in class com.networknt.http.client.monad.Status
 
getSignConfig() - Method in class com.networknt.http.client.ClientConfig
 
getSignResult(SignRequest) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get a signed JWT token from token service to ensure that nobody can modify the payload when the token is passed from service to service.
getSignResult(SignRequest, String) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get a signed JWT token from token service to ensure that nobody can modify the payload when the token is passed from service to service.
getState() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getStatus() - Static method in exception com.networknt.http.client.exception.ClientException
 
getStatusCode() - Method in class com.networknt.http.client.monad.Status
 
getTimeout() - Method in class com.networknt.http.client.ClientConfig
 
getTimeout() - Method in class com.networknt.http.client.SignRequest
 
getTokenConfig() - Method in class com.networknt.http.client.ClientConfig
 
getTokenFromSamlResult(SAMLBearerRequest) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get an access token from the token service based on a SAML token request.
getTokenFromSamlResult(SAMLBearerRequest, String) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get an access token from the token service based on a SAML token request.
getTokenRenewBeforeExpired() - Static method in class com.networknt.http.client.oauth.Jwt
 
getTokenResult(TokenRequest) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get an access token from the token service.
getTokenResult(TokenRequest, String) - Static method in class com.networknt.http.client.oauth.OauthHelper
Get an access token from the token service.
getTokenType() - Method in class com.networknt.http.client.oauth.TokenResponse
 
getTrustedNameSet() - Method in class com.networknt.http.client.ssl.TLSConfig
 
getUri() - Method in class com.networknt.http.client.DerefRequest
 
getUri() - Method in class com.networknt.http.client.KeyRequest
 
getUri() - Method in class com.networknt.http.client.oauth.TokenRequest
 
getUri() - Method in class com.networknt.http.client.SignRequest
 
getUserId() - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 
getUserType() - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 

H

handleTrustValidationErrors(Throwable) - Static method in class com.networknt.http.client.ssl.SSLUtils
 
hashCode() - Method in class com.networknt.http.client.oauth.Jwt.Key
 
Headers - Class in com.networknt.http.client
 
Headers() - Constructor for class com.networknt.http.client.Headers
 
HttpClientRequest - Class in com.networknt.http.client
 
HttpClientRequest() - Constructor for class com.networknt.http.client.HttpClientRequest
 
HttpMethod - Enum in com.networknt.http.client
 
HTTPS - com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
 

I

ICacheStrategy - Interface in com.networknt.http.client.oauth.cache
An interface to describes a cache strategy.
IClientRequestComposable - Interface in com.networknt.http.client
An interface to describe that a HttpRequest can be composed by a TokenRequest.
ifFailure(Consumer<Failure<T>>) - Method in interface com.networknt.http.client.monad.Result
 
ifSuccess(Consumer<? super T>) - Method in interface com.networknt.http.client.monad.Result
 
IMAGE_GIF_VALUE - com.networknt.http.client.ContentType
 
IMAGE_JPEG_VALUE - com.networknt.http.client.ContentType
 
IMAGE_PNG_VALUE - com.networknt.http.client.ContentType
 
initBuilder(String, HttpMethod) - Method in class com.networknt.http.client.HttpClientRequest
 
initBuilder(String, HttpMethod, Optional<?>) - Method in class com.networknt.http.client.HttpClientRequest
 
initBuilder(URI, HttpMethod) - Method in class com.networknt.http.client.HttpClientRequest
 
initBuilder(URI, HttpMethod, Optional<?>) - Method in class com.networknt.http.client.HttpClientRequest
 
isEnableHttp2() - Method in class com.networknt.http.client.DerefRequest
 
isEnableHttp2() - Method in class com.networknt.http.client.KeyRequest
 
isEnableHttp2() - Method in class com.networknt.http.client.oauth.TokenRequest
 
isEnableHttp2() - Method in class com.networknt.http.client.SignRequest
 
isFailure() - Method in interface com.networknt.http.client.monad.Result
 
isInjectCallerId() - Method in class com.networknt.http.client.ClientConfig
 
isInjectOpenTracing() - Method in class com.networknt.http.client.ClientConfig
 
isRenewing() - Method in class com.networknt.http.client.oauth.Jwt
 
isSuccess() - Method in class com.networknt.http.client.monad.Failure
 
isSuccess() - Method in interface com.networknt.http.client.monad.Result
 
isSuccess() - Method in class com.networknt.http.client.monad.Success
 

J

JsonMapper - Class in com.networknt.http.client
 
JsonMapper() - Constructor for class com.networknt.http.client.JsonMapper
 
Jwt - Class in com.networknt.http.client.oauth
a model class represents a JWT mostly for caching usage so that we don't need to decrypt jwt string to get info.
Jwt() - Constructor for class com.networknt.http.client.oauth.Jwt
 
Jwt(Jwt.Key) - Constructor for class com.networknt.http.client.oauth.Jwt
 
Jwt.Key - Class in com.networknt.http.client.oauth
a inner model tight to Jwt, this key is to represent to a Jwt for caching or other usage for now it's only identified by scopes and serviceId.

K

key - Variable in class com.networknt.http.client.oauth.Jwt
 
Key() - Constructor for class com.networknt.http.client.oauth.Jwt.Key
 
Key(String) - Constructor for class com.networknt.http.client.oauth.Jwt.Key
 
Key(Set<String>) - Constructor for class com.networknt.http.client.oauth.Jwt.Key
 
KeyRequest - Class in com.networknt.http.client
This is the generic key request with an id as parameter.
KeyRequest(String) - Constructor for class com.networknt.http.client.KeyRequest
 
kid - Variable in class com.networknt.http.client.KeyRequest
 

L

LDAPS - com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
 
lift(Result<R>, BiFunction<? super T, ? super R, ? extends Z>) - Method in interface com.networknt.http.client.monad.Result
 
loadKeyStore(String, char[]) - Static method in class com.networknt.http.client.ssl.TlsUtil
 
loadTrustStore(String, char[]) - Static method in class com.networknt.http.client.ssl.TlsUtil
 
LongestExpireCacheStrategy - Class in com.networknt.http.client.oauth.cache
This class is to cache Jwts with "LongestExpire" strategy, which means: When the cache pool meets the capacity and a new jwt with provided key needs to be cached: the token with the longest expiry time will be the last to be replaced, the token with the least expiry time will be the first to be replace.
LongestExpireCacheStrategy(int) - Constructor for class com.networknt.http.client.oauth.cache.LongestExpireCacheStrategy
 

M

map(Function<? super T, ? extends R>) - Method in interface com.networknt.http.client.monad.Result
 
methodString - Variable in enum com.networknt.http.client.HttpMethod
 
MULTIPART_FORM_DATA_VALUE - com.networknt.http.client.ContentType
 
MULTIPART_MIXED_VALUE - com.networknt.http.client.ContentType
 

O

OAUTH - Static variable in class com.networknt.http.client.ClientConfig
 
OauthHelper - Class in com.networknt.http.client.oauth
 
OauthHelper() - Constructor for class com.networknt.http.client.oauth.OauthHelper
 
objectMapper - Static variable in class com.networknt.http.client.JsonMapper
 
of(Status) - Static method in class com.networknt.http.client.monad.Failure
 
of(T) - Static method in class com.networknt.http.client.monad.Success
 
ofOptional(T) - Static method in class com.networknt.http.client.monad.Success
 
OPTIONAL_SUCCESS - Static variable in class com.networknt.http.client.monad.Success
 

P

populateCCToken(Jwt) - Static method in class com.networknt.http.client.oauth.OauthHelper
populate/renew jwt info to the give jwt object.
populateHeader(HttpRequest.Builder, String) - Method in class com.networknt.http.client.HttpClientRequest
Support API to API calls with scope token.
POST - com.networknt.http.client.HttpMethod
 
PROXY_HOST - Static variable in class com.networknt.http.client.ClientConfig
 
PROXY_PORT - Static variable in class com.networknt.http.client.ClientConfig
 
proxyHost - Variable in class com.networknt.http.client.KeyRequest
 
proxyPort - Variable in class com.networknt.http.client.KeyRequest
 
PUT - com.networknt.http.client.HttpMethod
 

R

REDIRECT_URI - Static variable in class com.networknt.http.client.ClientConfig
 
REFRESH_TOKEN - Static variable in class com.networknt.http.client.ClientConfig
 
RefreshTokenRequest - Class in com.networknt.http.client
 
RefreshTokenRequest() - Constructor for class com.networknt.http.client.RefreshTokenRequest
 
registerComposer(ClientRequestComposerProvider.ClientRequestComposers, IClientRequestComposable) - Method in class com.networknt.http.client.ClientRequestComposerProvider
register the composer in this provider with Enum ClientRequestComposers name.
REQUEST - Static variable in class com.networknt.http.client.ClientConfig
 
resolveTrustedNames(String) - Static method in class com.networknt.http.client.ssl.TLSConfig
 
resolveTrustedNames(Map<String, Object>, String) - Static method in class com.networknt.http.client.ssl.TLSConfig
 
Result<T> - Interface in com.networknt.http.client.monad
 

S

SAML_BEARER - Static variable in class com.networknt.http.client.ClientConfig
 
SAML_BEARER_REQUEST_COMPOSER - com.networknt.http.client.ClientRequestComposerProvider.ClientRequestComposers
 
SAMLBearerRequest - Class in com.networknt.http.client
This holds values used to call the SAML Bearer grant flow from the OAuth Server.
SAMLBearerRequest(String, String) - Constructor for class com.networknt.http.client.SAMLBearerRequest
 
SCOPE - Static variable in class com.networknt.http.client.ClientConfig
 
SCOPE_TOKEN_STRING - Static variable in class com.networknt.http.client.Headers
 
scopes - Variable in class com.networknt.http.client.oauth.Jwt.Key
scopes should be extendable by its children
scopes - Variable in class com.networknt.http.client.oauth.Jwt
 
select(boolean, Set<String>) - Static method in enum com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
Choose the algorithm to be used based on configuration.
send(HttpRequest.Builder, HttpResponse.BodyHandler<?>) - Method in class com.networknt.http.client.HttpClientRequest
 
sendAsync(HttpRequest.Builder, HttpResponse.BodyHandler<?>) - Method in class com.networknt.http.client.HttpClientRequest
 
SERVER_URL - Static variable in class com.networknt.http.client.ClientConfig
 
serverUrl - Variable in class com.networknt.http.client.KeyRequest
 
SERVICE_ID - Static variable in class com.networknt.http.client.ClientConfig
 
serviceId - Variable in class com.networknt.http.client.KeyRequest
 
serviceId - Variable in class com.networknt.http.client.oauth.Jwt.Key
serviceId should be extendable by its children
setAccessToken(String) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setAuthCode(String) - Method in class com.networknt.http.client.AuthorizationCodeRequest
 
setAuthenticator(Authenticator) - Method in class com.networknt.http.client.HttpClientRequest
Sets an authenticator to use for HTTP authentication.
setClientId(String) - Method in class com.networknt.http.client.DerefRequest
 
setClientId(String) - Method in class com.networknt.http.client.KeyRequest
 
setClientId(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setClientId(String) - Method in class com.networknt.http.client.SignRequest
 
setClientSecret(String) - Method in class com.networknt.http.client.DerefRequest
 
setClientSecret(String) - Method in class com.networknt.http.client.KeyRequest
 
setClientSecret(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setClientSecret(String) - Method in class com.networknt.http.client.SignRequest
 
setCode(String) - Method in class com.networknt.http.client.monad.Status
 
setCsrf(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setDescription(String) - Method in class com.networknt.http.client.monad.Status
 
setEarlyRefreshRetryDelay(long) - Static method in class com.networknt.http.client.oauth.Jwt
 
setEarlyRetryTimeout(long) - Method in class com.networknt.http.client.oauth.Jwt
 
setEnableHttp2(boolean) - Method in class com.networknt.http.client.ClientConfig
 
setEnableHttp2(boolean) - Method in class com.networknt.http.client.DerefRequest
 
setEnableHttp2(boolean) - Method in class com.networknt.http.client.KeyRequest
 
setEnableHttp2(boolean) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setEnableHttp2(boolean) - Method in class com.networknt.http.client.SignRequest
 
setExampleParameter(String) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setExecutorService(ExecutorService) - Method in class com.networknt.http.client.HttpClientRequest
Sets the executor to be used for asynchronous and dependent tasks.
setExpire(long) - Method in class com.networknt.http.client.oauth.Jwt
 
setExpiredRefreshRetryDelay(long) - Static method in class com.networknt.http.client.oauth.Jwt
 
setExpiredRetryTimeout(long) - Method in class com.networknt.http.client.oauth.Jwt
 
setExpires(int) - Method in class com.networknt.http.client.SignRequest
 
setExpiresIn(long) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setGrantType(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setJwt(String) - Method in class com.networknt.http.client.oauth.Jwt
 
setKid(String) - Method in class com.networknt.http.client.KeyRequest
 
setMessage(String) - Method in class com.networknt.http.client.monad.Status
 
setPayload(Map<String, Object>) - Method in class com.networknt.http.client.SignRequest
 
setProxy(String, int) - Method in class com.networknt.http.client.HttpClientRequest
Selects the proxy server to use, if any, when connecting to the network resource referenced by a URL
setProxyHost(String) - Method in class com.networknt.http.client.DerefRequest
 
setProxyHost(String) - Method in class com.networknt.http.client.KeyRequest
 
setProxyHost(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setProxyHost(String) - Method in class com.networknt.http.client.SignRequest
 
setProxyPort(int) - Method in class com.networknt.http.client.DerefRequest
 
setProxyPort(int) - Method in class com.networknt.http.client.KeyRequest
 
setProxyPort(int) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setProxyPort(int) - Method in class com.networknt.http.client.SignRequest
 
setRedirectUri(String) - Method in class com.networknt.http.client.AuthorizationCodeRequest
 
setRedirectUri(String) - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 
setRefreshToken(String) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setRefreshToken(String) - Method in class com.networknt.http.client.RefreshTokenRequest
 
setRemember(String) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setRenewing(boolean) - Method in class com.networknt.http.client.oauth.Jwt
 
setRoles(String) - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 
setScope(String) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setScope(List<String>) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setScopes(String) - Method in class com.networknt.http.client.oauth.Jwt
 
setScopes(Set<String>) - Method in class com.networknt.http.client.oauth.Jwt
 
setServerUrl(String) - Method in class com.networknt.http.client.DerefRequest
 
setServerUrl(String) - Method in class com.networknt.http.client.KeyRequest
 
setServerUrl(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setServerUrl(String) - Method in class com.networknt.http.client.SignRequest
 
setServiceId(String) - Method in class com.networknt.http.client.DerefRequest
 
setServiceId(String) - Method in class com.networknt.http.client.KeyRequest
 
setServiceId(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setServiceId(String) - Method in class com.networknt.http.client.SignRequest
 
setSeverity(String) - Method in class com.networknt.http.client.monad.Status
 
setState(String) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setStatus(Status) - Static method in exception com.networknt.http.client.exception.ClientException
 
setStatusCode(int) - Method in class com.networknt.http.client.monad.Status
 
setTimeout(int) - Method in class com.networknt.http.client.SignRequest
 
setTokenRenewBeforeExpired(long) - Static method in class com.networknt.http.client.oauth.Jwt
 
setTokenType(String) - Method in class com.networknt.http.client.oauth.TokenResponse
 
setup(Socket, EndpointIdentificationAlgorithm) - Static method in enum com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
set EndpointIdentificationAlgorithm to SSLSocket EndpointIdentificationAlgorithm.APIS is not set because it'll cause unsupported algorithm exceptions
setup(SSLEngine, EndpointIdentificationAlgorithm) - Static method in enum com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
set EndpointIdentificationAlgorithm to SSLEngine EndpointIdentificationAlgorithm.APIS is not set because it'll cause unsupported algorithm exceptions
setUri(String) - Method in class com.networknt.http.client.DerefRequest
 
setUri(String) - Method in class com.networknt.http.client.KeyRequest
 
setUri(String) - Method in class com.networknt.http.client.oauth.TokenRequest
 
setUri(String) - Method in class com.networknt.http.client.SignRequest
 
setUserId(String) - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 
setUserType(String) - Method in class com.networknt.http.client.ClientAuthenticatedUserRequest
 
SIGN - Static variable in class com.networknt.http.client.ClientConfig
 
SignRequest - Class in com.networknt.http.client
Construct a signing request for token service based on the sign configuration section in client.yml file.
SignRequest() - Constructor for class com.networknt.http.client.SignRequest
 
SSLUtils - Class in com.networknt.http.client.ssl
 
SSLUtils() - Constructor for class com.networknt.http.client.ssl.SSLUtils
 
Status - Class in com.networknt.http.client.monad
 
Status() - Constructor for class com.networknt.http.client.monad.Status
 
Status(int, String, String, String) - Constructor for class com.networknt.http.client.monad.Status
Construct a status object based on all the properties in the object.
Status(String, String) - Constructor for class com.networknt.http.client.monad.Status
 
STATUS_CLIENT_CREDENTIALS_TOKEN_NOT_AVAILABLE - Static variable in class com.networknt.http.client.oauth.OauthHelper
 
string2List(String) - Static method in class com.networknt.http.client.JsonMapper
 
string2Map(String) - Static method in class com.networknt.http.client.JsonMapper
 
Success<T> - Class in com.networknt.http.client.monad
 
SUCCESS - Static variable in class com.networknt.http.client.monad.Success
 
superString() - Method in class com.networknt.http.client.oauth.TokenResponse
 

T

TEXT_PLAIN_VALUE - com.networknt.http.client.ContentType
 
TIMEOUT - Static variable in class com.networknt.http.client.ClientConfig
 
TLS - Static variable in class com.networknt.http.client.HttpClientRequest
 
TLSConfig - Class in com.networknt.http.client.ssl
This class holds configuration values related to server identify check.
TlsUtil - Class in com.networknt.http.client.ssl
 
TlsUtil() - Constructor for class com.networknt.http.client.ssl.TlsUtil
 
toContentType(String) - Static method in enum com.networknt.http.client.ContentType
 
toJson(Object) - Static method in class com.networknt.http.client.JsonMapper
 
TOKEN - Static variable in class com.networknt.http.client.ClientConfig
 
TOKEN_RENEW_BEFORE_EXPIRED - Static variable in class com.networknt.http.client.ClientConfig
 
TokenManager - Class in com.networknt.http.client.oauth
This class is a singleton to manage ALL tokens.
TokenRequest - Class in com.networknt.http.client.oauth
Created by steve on 02/09/16.
TokenRequest() - Constructor for class com.networknt.http.client.oauth.TokenRequest
 
TokenResponse - Class in com.networknt.http.client.oauth
TokenResponse is extended from Status so that error response can be handled gracefully.
TokenResponse() - Constructor for class com.networknt.http.client.oauth.TokenResponse
 
toString() - Method in class com.networknt.http.client.monad.Failure
 
toString() - Method in class com.networknt.http.client.monad.Success
 
toString() - Method in class com.networknt.http.client.oauth.TokenResponse
 
TRACEABILITY_ID_STRING - Static variable in class com.networknt.http.client.Headers
 
TRUSTED_NAMES - Static variable in class com.networknt.http.client.ssl.TLSConfig
 

U

uri - Variable in class com.networknt.http.client.KeyRequest
 
URI - Static variable in class com.networknt.http.client.ClientConfig
 

V

value() - Method in enum com.networknt.http.client.ContentType
 
valueOf(String) - Static method in enum com.networknt.http.client.ClientRequestComposerProvider.ClientRequestComposers
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.networknt.http.client.ContentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.networknt.http.client.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.networknt.http.client.ClientRequestComposerProvider.ClientRequestComposers
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.networknt.http.client.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.networknt.http.client.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.networknt.http.client.ssl.EndpointIdentificationAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
VERIFY_HOSTNAME - Static variable in class com.networknt.http.client.ssl.TLSConfig
 

X

XML - com.networknt.http.client.ContentType
 
A B C D E F G H I J K L M O P R S T U V X 
All Classes All Packages