public class ResolverDirectHTTP extends ResourceResolverSpi
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");
Constructor and Description |
---|
ResolverDirectHTTP() |
ResolverDirectHTTP(Map<String,String> resolverProperties) |
Modifier and Type | Method and Description |
---|---|
boolean |
engineCanResolveURI(ResourceResolverContext context)
We resolve http URIs without fragment...
|
XMLSignatureInput |
engineResolveURI(ResourceResolverContext context)
This is the workhorse method used to resolve resources.
|
public XMLSignatureInput engineResolveURI(ResourceResolverContext context) throws ResourceResolverException
engineResolveURI
in class ResourceResolverSpi
context
- Context to use to resolve resources.ResourceResolverException
public boolean engineCanResolveURI(ResourceResolverContext context)
engineCanResolveURI
in class ResourceResolverSpi
context
- Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.