ResolverFragment class.
resourceResolver.setProperty("http.proxy.host", "proxy.company.com");
resourceResolver.setProperty("http.proxy.port", "8080");
// if we need a password for the proxy
resourceResolver.setProperty("http.proxy.username", "proxyuser3");
resourceResolver.setProperty("http.proxy.password", "secretca");
| Modifier and Type | Field and Description |
|---|---|
| private static final int | HttpBasicPass
Field HttpProxyPass |
| private static final int | HttpBasicUser
Field HttpProxyUser |
| private static final int | HttpProxyHost
Field HttpProxyHost |
| private static final int | HttpProxyPass
Field HttpProxyPass |
| private static final int | HttpProxyPort
Field HttpProxyPort |
| private static final int | HttpProxyUser
Field HttpProxyUser |
| private static final Logger | |
| private static final String[] | properties
Field properties[] |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if can be resolvedImplements abstract com. We resolve http URIs without fragment... |
| public XMLSignatureInput | engineResolveURI(ResourceResolverContext context)
Implements abstract com. This is the workhorse method used to resolve resources. |
| private static URI | |
| private String | |
| private URLConnection |
| HttpBasicPass | back to summary |
|---|---|
| private static final int HttpBasicPass Field HttpProxyPass | |
| HttpBasicUser | back to summary |
|---|---|
| private static final int HttpBasicUser Field HttpProxyUser | |
| HttpProxyHost | back to summary |
|---|---|
| private static final int HttpProxyHost Field HttpProxyHost | |
| HttpProxyPass | back to summary |
|---|---|
| private static final int HttpProxyPass Field HttpProxyPass | |
| HttpProxyPort | back to summary |
|---|---|
| private static final int HttpProxyPort Field HttpProxyPort | |
| HttpProxyUser | back to summary |
|---|---|
| private static final int HttpProxyUser Field HttpProxyUser | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| properties | back to summary |
|---|---|
| private static final String[] properties Field properties[] | |
| resolverProperties | back to summary |
|---|---|
| private final Map<String, String> resolverProperties | |
| ResolverDirectHTTP | back to summary |
|---|---|
| public ResolverDirectHTTP() | |
| ResolverDirectHTTP | back to summary |
|---|---|
| public ResolverDirectHTTP(Map<String, String> resolverProperties) | |
| engineCanResolveURI | back to summary |
|---|---|
| public boolean engineCanResolveURI(ResourceResolverContext context) Implements abstract com. We resolve http URIs without fragment...
| |
| engineResolveURI | back to summary |
|---|---|
| public XMLSignatureInput engineResolveURI(ResourceResolverContext context) throws ResourceResolverException Implements abstract com. Doc from com. This is the workhorse method used to resolve resources.
| |
| getNewURI | back to summary |
|---|---|
| private static URI getNewURI(String uri, String baseURI) throws URISyntaxException | |
| getProperty | back to summary |
|---|---|
| private String getProperty(ResourceResolverContext context, String propertyName) | |
| openConnection | back to summary |
|---|---|
| private URLConnection openConnection(URL url, ResourceResolverContext context) throws IOException | |