Constructor and Description |
---|
Rewriter() |
Modifier and Type | Method and Description |
---|---|
void |
done() |
javax.ws.rs.core.UriBuilder |
getSecuredUriBuilder(javax.ws.rs.core.UriBuilder uribuilder) |
void |
setPortMapper(org.springframework.security.web.PortMapper portMapper) |
void |
setRewriteRegexp(String rewriteRegexp) |
void |
setRewriteTarget(String rewriteTarget)
What to rewrite the host, port and web-app name to be.
|
void |
setSuppressSecurity(boolean suppressSecurity)
Whether to suppress rewriting of URIs to be secure.
|
@Autowired public void setPortMapper(org.springframework.security.web.PortMapper portMapper)
public void setSuppressSecurity(boolean suppressSecurity)
suppressSecurity
- True if no rewriting should be done.public void setRewriteRegexp(String rewriteRegexp)
public void setRewriteTarget(String rewriteTarget)
rewriteTarget
- What to rewrite to, or "NONE" for no rewrite.@PreDestroy public void done()
Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.