public class RewriteSubstitution extends Object implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Class and Description |
---|---|
static class |
RewriteSubstitution.Parameter |
static class |
RewriteSubstitution.SubstitutionFlags
代表substitution的标志位。
|
Constructor and Description |
---|
RewriteSubstitution() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
getFlags() |
RewriteSubstitution.SubstitutionFlags |
getSubFlags() |
void |
setFlags(String flags) |
void |
setParameters(RewriteSubstitution.Parameter[] params) |
void |
setUri(String uri) |
String |
substitute(String path,
MatchResultSubstitution resultSubs) |
boolean |
substituteParameters(ParameterParser params,
MatchResultSubstitution resultSubs) |
String |
toString() |
public void setUri(String uri)
public RewriteSubstitution.SubstitutionFlags getSubFlags()
public String getFlags()
public void setFlags(String flags)
public void setParameters(RewriteSubstitution.Parameter[] params)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public String substitute(String path, MatchResultSubstitution resultSubs)
public boolean substituteParameters(ParameterParser params, MatchResultSubstitution resultSubs)
Copyright © 2006–2018 TinyGroup. All rights reserved.