Top Inners Constructors Methods
org.apache.catalina.valves.rewrite

public Class InternalRewriteMap

extends Object
Class Inheritance
Imports
java.nio.charset.Charset, .StandardCharsets, java.util.Locale, org.apache.catalina.util.URLEncoder, org.apache.tomcat.util.buf.UDecoder

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static RewriteMap
toMap(String name)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

InternalRewriteMapback to summary
public InternalRewriteMap()

Method Detail

toMapback to summary
public static RewriteMap toMap(String name)
org.apache.catalina.valves.rewrite back to summary

public Class InternalRewriteMap.Escape

extends Object
implements RewriteMap
Class Inheritance
All Implemented Interfaces
org.apache.catalina.valves.rewrite.RewriteMap

Field Summary

Modifier and TypeField and Description
private Charset

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
lookup(String
used by the actual implementation to generate a mapped value
key
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.

public String
setParameters(String
the optional parameter
params
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

charsetback to summary
private Charset charset

Constructor Detail

Escapeback to summary
public Escape()

Method Detail

lookupback to summary
public String lookup(String key)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.
The method is free to return null to indicate, that the default value from the RewriteRule directive should be used.

Parameters
key:String

used by the actual implementation to generate a mapped value

Returns:String

mapped value or null

Annotations
@Override
setParametersback to summary
public String setParameters(String params)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Parameters
params:String

the optional parameter

Returns:String

value is currently ignored

Annotations
@Override
org.apache.catalina.valves.rewrite back to summary

public Class InternalRewriteMap.LowerCase

extends Object
implements RewriteMap
Class Inheritance
  • java.lang.Object
  • org.apache.catalina.valves.rewrite.InternalRewriteMap.LowerCase
All Implemented Interfaces
org.apache.catalina.valves.rewrite.RewriteMap

Field Summary

Modifier and TypeField and Description
private Locale

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
lookup(String
used by the actual implementation to generate a mapped value
key
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.

public String
setParameters(String
the optional parameter
params
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

localeback to summary
private Locale locale

Constructor Detail

LowerCaseback to summary
public LowerCase()

Method Detail

lookupback to summary
public String lookup(String key)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.
The method is free to return null to indicate, that the default value from the RewriteRule directive should be used.

Parameters
key:String

used by the actual implementation to generate a mapped value

Returns:String

mapped value or null

Annotations
@Override
setParametersback to summary
public String setParameters(String params)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Parameters
params:String

the optional parameter

Returns:String

value is currently ignored

Annotations
@Override
org.apache.catalina.valves.rewrite back to summary

public Class InternalRewriteMap.Unescape

extends Object
implements RewriteMap
Class Inheritance
  • java.lang.Object
  • org.apache.catalina.valves.rewrite.InternalRewriteMap.Unescape
All Implemented Interfaces
org.apache.catalina.valves.rewrite.RewriteMap

Field Summary

Modifier and TypeField and Description
private Charset

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
lookup(String
used by the actual implementation to generate a mapped value
key
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.

public String
setParameters(String
the optional parameter
params
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

charsetback to summary
private Charset charset

Constructor Detail

Unescapeback to summary
public Unescape()

Method Detail

lookupback to summary
public String lookup(String key)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.
The method is free to return null to indicate, that the default value from the RewriteRule directive should be used.

Parameters
key:String

used by the actual implementation to generate a mapped value

Returns:String

mapped value or null

Annotations
@Override
setParametersback to summary
public String setParameters(String params)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Parameters
params:String

the optional parameter

Returns:String

value is currently ignored

Annotations
@Override
org.apache.catalina.valves.rewrite back to summary

public Class InternalRewriteMap.UpperCase

extends Object
implements RewriteMap
Class Inheritance
  • java.lang.Object
  • org.apache.catalina.valves.rewrite.InternalRewriteMap.UpperCase
All Implemented Interfaces
org.apache.catalina.valves.rewrite.RewriteMap

Field Summary

Modifier and TypeField and Description
private Locale

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
lookup(String
used by the actual implementation to generate a mapped value
key
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.

public String
setParameters(String
the optional parameter
params
)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

localeback to summary
private Locale locale

Constructor Detail

UpperCaseback to summary
public UpperCase()

Method Detail

lookupback to summary
public String lookup(String key)

Implements org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.lookup.

Maps a key to a replacement value.
The method is free to return null to indicate, that the default value from the RewriteRule directive should be used.

Parameters
key:String

used by the actual implementation to generate a mapped value

Returns:String

mapped value or null

Annotations
@Override
setParametersback to summary
public String setParameters(String params)

Implements org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Doc from org.apache.catalina.valves.rewrite.RewriteMap.setParameters.

Optional parameter that can be defined through the RewriteMap directive in the rewrite.config file.

Parameters
params:String

the optional parameter

Returns:String

value is currently ignored

Annotations
@Override