@Configurable public class SetHeader extends AbstractRewriteFilter
<resin:SetHeader url-pattern="/foo/*" name="Foo" value="bar"/>
Constructor and Description |
---|
SetHeader() |
Modifier and Type | Method and Description |
---|---|
protected FilterChain |
createFilterChain(java.lang.String uri,
java.lang.String queryString,
FilterChain next) |
void |
init() |
void |
setName(java.lang.String name)
Sets the HTTP header name
|
void |
setValue(java.lang.String value)
Sets the HTTP header value
|
@Configurable public void setName(java.lang.String name)
public void setValue(java.lang.String value)
public void init() throws ConfigException
ConfigException
protected FilterChain createFilterChain(java.lang.String uri, java.lang.String queryString, FilterChain next)
createFilterChain
in class AbstractRewriteFilter