Module cloud.piranha.webapp.impl
Package cloud.piranha.webapp.impl
Class DefaultWebApplicationRequestMapping
java.lang.Object
cloud.piranha.webapp.impl.DefaultWebApplicationRequestMapping
- All Implemented Interfaces:
WebApplicationRequestMapping
public class DefaultWebApplicationRequestMapping
extends Object
implements WebApplicationRequestMapping
The default WebApplicationRequestMapping.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the matchValue.Returns the pattern.boolean
isExact()
Is this an exact match.boolean
Is this an extension match.void
setExact(boolean exact)
Set the exact flag.void
setExtension(boolean extension)
Set the extension flag.void
setMatchValue(String matchValue)
Set the matchValue.void
setPattern(String pattern)
Set the pattern.
-
Constructor Details
-
DefaultWebApplicationRequestMapping
Constructor.- Parameters:
pattern
- the pattern.
-
-
Method Details
-
getMatchValue
Returns the matchValue.- Specified by:
getMatchValue
in interfaceWebApplicationRequestMapping
- Returns:
- the matchValue
-
getPattern
Returns the pattern.- Specified by:
getPattern
in interfaceWebApplicationRequestMapping
- Returns:
- the pattern
-
isExact
public boolean isExact()Is this an exact match.- Specified by:
isExact
in interfaceWebApplicationRequestMapping
- Returns:
- true it it is, false otherwise.
-
isExtension
public boolean isExtension()Is this an extension match.- Specified by:
isExtension
in interfaceWebApplicationRequestMapping
- Returns:
- true if it is, false otherwise.
-
setExact
public void setExact(boolean exact)Set the exact flag.- Parameters:
exact
- the exact flag.
-
setExtension
public void setExtension(boolean extension)Set the extension flag.- Parameters:
extension
- the extension flag.
-
setMatchValue
Set the matchValue.- Parameters:
matchValue
- the matchValue to set
-
setPattern
Set the pattern.- Parameters:
pattern
- the pattern.
-