Top Description Fields Constructors Methods
io.undertow.servlet.compat.rewrite

public Class RewriteConfig

extends Object
Class Inheritance
Imports
java.util.Map

The configuration for a io.undertow.servlet.compat.rewrite.RewriteHandler. This should be produced by RewriteConfigFactory
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final Map<String, RewriteMap>
maps

Maps to be used by the rules.

private final RewriteRule[]
rules

The rewrite rules that the valve will use.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Map<String, RewriteMap>
public RewriteRule[]
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

mapsback to summary
private final Map<String, RewriteMap> maps

Maps to be used by the rules.

rulesback to summary
private final RewriteRule[] rules

The rewrite rules that the valve will use.

Constructor Detail

RewriteConfigback to summary
public RewriteConfig(RewriteRule[] rules, Map<String, RewriteMap> maps)

Method Detail

getMapsback to summary
public Map<String, RewriteMap> getMaps()
getRulesback to summary
public RewriteRule[] getRules()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object