Modifier and Type | Class and Description |
---|---|
static class |
FilterConfiguration.FilterConfigurationResources
Child mutators for FilterConfiguration
|
Constructor and Description |
---|
FilterConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
customFilter(CustomFilter value)
Add the CustomFilter object to the list of subresources
|
T |
customFilter(CustomFilterSupplier supplier)
Install a supplied CustomFilter object to the list of subresources
|
T |
customFilter(String childKey)
Create and configure a CustomFilter object to the list of subresources
|
T |
customFilter(String childKey,
CustomFilterConsumer consumer)
Create and configure a CustomFilter object to the list of subresources
|
T |
customFilters(List<CustomFilter> value)
Add all CustomFilter objects to this subresource
|
T |
errorPage(ErrorPage value)
Add the ErrorPage object to the list of subresources
|
T |
errorPage(ErrorPageSupplier supplier)
Install a supplied ErrorPage object to the list of subresources
|
T |
errorPage(String childKey)
Create and configure a ErrorPage object to the list of subresources
|
T |
errorPage(String childKey,
ErrorPageConsumer consumer)
Create and configure a ErrorPage object to the list of subresources
|
T |
errorPages(List<ErrorPage> value)
Add all ErrorPage objects to this subresource
|
T |
expressionFilter(ExpressionFilter value)
Add the ExpressionFilter object to the list of subresources
|
T |
expressionFilter(ExpressionFilterSupplier supplier)
Install a supplied ExpressionFilter object to the list of subresources
|
T |
expressionFilter(String childKey)
Create and configure a ExpressionFilter object to the list of
subresources
|
T |
expressionFilter(String childKey,
ExpressionFilterConsumer consumer)
Create and configure a ExpressionFilter object to the list of
subresources
|
T |
expressionFilters(List<ExpressionFilter> value)
Add all ExpressionFilter objects to this subresource
|
String |
getKey() |
T |
gzip(Gzip value)
Add the Gzip object to the list of subresources
|
T |
gzip(GzipSupplier supplier)
Install a supplied Gzip object to the list of subresources
|
T |
gzip(String childKey)
Create and configure a Gzip object to the list of subresources
|
T |
gzip(String childKey,
GzipConsumer consumer)
Create and configure a Gzip object to the list of subresources
|
T |
gzips(List<Gzip> value)
Add all Gzip objects to this subresource
|
T |
modCluster(ModCluster value)
Add the ModCluster object to the list of subresources
|
T |
modCluster(ModClusterSupplier supplier)
Install a supplied ModCluster object to the list of subresources
|
T |
modCluster(String childKey)
Create and configure a ModCluster object to the list of subresources
|
T |
modCluster(String childKey,
ModClusterConsumer consumer)
Create and configure a ModCluster object to the list of subresources
|
T |
modClusters(List<ModCluster> value)
Add all ModCluster objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
requestLimit(RequestLimit value)
Add the RequestLimit object to the list of subresources
|
T |
requestLimit(RequestLimitSupplier supplier)
Install a supplied RequestLimit object to the list of subresources
|
T |
requestLimit(String childKey)
Create and configure a RequestLimit object to the list of subresources
|
T |
requestLimit(String childKey,
RequestLimitConsumer consumer)
Create and configure a RequestLimit object to the list of subresources
|
T |
requestLimits(List<RequestLimit> value)
Add all RequestLimit objects to this subresource
|
T |
responseHeader(ResponseHeader value)
Add the ResponseHeader object to the list of subresources
|
T |
responseHeader(ResponseHeaderSupplier supplier)
Install a supplied ResponseHeader object to the list of subresources
|
T |
responseHeader(String childKey)
Create and configure a ResponseHeader object to the list of subresources
|
T |
responseHeader(String childKey,
ResponseHeaderConsumer consumer)
Create and configure a ResponseHeader object to the list of subresources
|
T |
responseHeaders(List<ResponseHeader> value)
Add all ResponseHeader objects to this subresource
|
T |
rewrite(Rewrite value)
Add the Rewrite object to the list of subresources
|
T |
rewrite(RewriteSupplier supplier)
Install a supplied Rewrite object to the list of subresources
|
T |
rewrite(String childKey)
Create and configure a Rewrite object to the list of subresources
|
T |
rewrite(String childKey,
RewriteConsumer consumer)
Create and configure a Rewrite object to the list of subresources
|
T |
rewrites(List<Rewrite> value)
Add all Rewrite objects to this subresource
|
FilterConfiguration.FilterConfigurationResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public FilterConfiguration.FilterConfigurationResources subresources()
public T requestLimits(List<RequestLimit> value)
value
- List of RequestLimit objects.public T requestLimit(RequestLimit value)
value
- The RequestLimit to addpublic T requestLimit(String childKey, RequestLimitConsumer consumer)
key
- The key for the RequestLimit resourceconfig
- The RequestLimitConsumer to usepublic T requestLimit(String childKey)
key
- The key for the RequestLimit resourcepublic T requestLimit(RequestLimitSupplier supplier)
public T errorPages(List<ErrorPage> value)
value
- List of ErrorPage objects.public T errorPage(ErrorPage value)
value
- The ErrorPage to addpublic T errorPage(String childKey, ErrorPageConsumer consumer)
key
- The key for the ErrorPage resourceconfig
- The ErrorPageConsumer to usepublic T errorPage(String childKey)
key
- The key for the ErrorPage resourcepublic T errorPage(ErrorPageSupplier supplier)
public T customFilters(List<CustomFilter> value)
value
- List of CustomFilter objects.public T customFilter(CustomFilter value)
value
- The CustomFilter to addpublic T customFilter(String childKey, CustomFilterConsumer consumer)
key
- The key for the CustomFilter resourceconfig
- The CustomFilterConsumer to usepublic T customFilter(String childKey)
key
- The key for the CustomFilter resourcepublic T customFilter(CustomFilterSupplier supplier)
public T gzips(List<Gzip> value)
value
- List of Gzip objects.public T gzip(Gzip value)
value
- The Gzip to addpublic T gzip(String childKey, GzipConsumer consumer)
key
- The key for the Gzip resourceconfig
- The GzipConsumer to usepublic T gzip(String childKey)
key
- The key for the Gzip resourcepublic T gzip(GzipSupplier supplier)
public T modClusters(List<ModCluster> value)
value
- List of ModCluster objects.public T modCluster(ModCluster value)
value
- The ModCluster to addpublic T modCluster(String childKey, ModClusterConsumer consumer)
key
- The key for the ModCluster resourceconfig
- The ModClusterConsumer to usepublic T modCluster(String childKey)
key
- The key for the ModCluster resourcepublic T modCluster(ModClusterSupplier supplier)
public T expressionFilters(List<ExpressionFilter> value)
value
- List of ExpressionFilter objects.public T expressionFilter(ExpressionFilter value)
value
- The ExpressionFilter to addpublic T expressionFilter(String childKey, ExpressionFilterConsumer consumer)
key
- The key for the ExpressionFilter resourceconfig
- The ExpressionFilterConsumer to usepublic T expressionFilter(String childKey)
key
- The key for the ExpressionFilter resourcepublic T expressionFilter(ExpressionFilterSupplier supplier)
public T responseHeaders(List<ResponseHeader> value)
value
- List of ResponseHeader objects.public T responseHeader(ResponseHeader value)
value
- The ResponseHeader to addpublic T responseHeader(String childKey, ResponseHeaderConsumer consumer)
key
- The key for the ResponseHeader resourceconfig
- The ResponseHeaderConsumer to usepublic T responseHeader(String childKey)
key
- The key for the ResponseHeader resourcepublic T responseHeader(ResponseHeaderSupplier supplier)
public T rewrites(List<Rewrite> value)
value
- List of Rewrite objects.public T rewrite(Rewrite value)
value
- The Rewrite to addpublic T rewrite(String childKey, RewriteConsumer consumer)
key
- The key for the Rewrite resourceconfig
- The RewriteConsumer to usepublic T rewrite(String childKey)
key
- The key for the Rewrite resourcepublic T rewrite(RewriteSupplier supplier)
Copyright © 2016 JBoss by Red Hat. All rights reserved.