Class ProxyAwareResourceRetriever
java.lang.Object
com.nimbusds.jose.util.AbstractRestrictedResourceRetriever
com.nimbusds.jose.util.DefaultResourceRetriever
no.nav.security.token.support.core.configuration.ProxyAwareResourceRetriever
- All Implemented Interfaces:
com.nimbusds.jose.util.ResourceRetriever
,com.nimbusds.jose.util.RestrictedResourceRetriever
public class ProxyAwareResourceRetriever
extends com.nimbusds.jose.util.DefaultResourceRetriever
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionProxyAwareResourceRetriever
(URL proxyUrl) ProxyAwareResourceRetriever
(URL proxyUrl, boolean usePlainTextForHttps) -
Method Summary
Methods inherited from class com.nimbusds.jose.util.DefaultResourceRetriever
disconnectsAfterUse, getProxy, retrieveResource, setDisconnectsAfterUse, setProxy
Methods inherited from class com.nimbusds.jose.util.AbstractRestrictedResourceRetriever
getConnectTimeout, getHeaders, getReadTimeout, getSizeLimit, setConnectTimeout, setHeaders, setReadTimeout, setSizeLimit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nimbusds.jose.util.RestrictedResourceRetriever
getConnectTimeout, getHeaders, getReadTimeout, getSizeLimit, setConnectTimeout, setHeaders, setReadTimeout, setSizeLimit
-
Field Details
-
DEFAULT_HTTP_CONNECT_TIMEOUT
public static final int DEFAULT_HTTP_CONNECT_TIMEOUT- See Also:
-
DEFAULT_HTTP_READ_TIMEOUT
public static final int DEFAULT_HTTP_READ_TIMEOUT- See Also:
-
DEFAULT_HTTP_SIZE_LIMIT
public static final int DEFAULT_HTTP_SIZE_LIMIT- See Also:
-
-
Constructor Details
-
ProxyAwareResourceRetriever
public ProxyAwareResourceRetriever() -
ProxyAwareResourceRetriever
-
ProxyAwareResourceRetriever
-
-
Method Details
-
openConnection
- Overrides:
openConnection
in classcom.nimbusds.jose.util.DefaultResourceRetriever
- Throws:
IOException
-