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
Fields Modifier and Type Field Description static intDEFAULT_HTTP_CONNECT_TIMEOUTstatic intDEFAULT_HTTP_READ_TIMEOUTstatic intDEFAULT_HTTP_SIZE_LIMIT
-
Constructor Summary
Constructors Constructor Description ProxyAwareResourceRetriever()ProxyAwareResourceRetriever(URL proxyUrl)ProxyAwareResourceRetriever(URL proxyUrl, boolean usePlainTextForHttps)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HttpURLConnectionopenConnection(URL url)-
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
-
-
-
-
Field Detail
-
DEFAULT_HTTP_CONNECT_TIMEOUT
public static final int DEFAULT_HTTP_CONNECT_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_READ_TIMEOUT
public static final int DEFAULT_HTTP_READ_TIMEOUT
- See Also:
- Constant Field Values
-
DEFAULT_HTTP_SIZE_LIMIT
public static final int DEFAULT_HTTP_SIZE_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
openConnection
protected HttpURLConnection openConnection(URL url) throws IOException
- Overrides:
openConnectionin classcom.nimbusds.jose.util.DefaultResourceRetriever- Throws:
IOException
-
-