public final class HttpPathInfo extends Object implements PathInfo, Serializable
Modifier | Constructor and Description |
---|---|
protected |
HttpPathInfo(javax.servlet.http.HttpServletRequest req)
Creates a new PathInfo for HTTP.
|
Modifier and Type | Method and Description |
---|---|
String |
context()
Returns the context of the Web application.
|
String |
extension()
Returns the suffix used for the request if mapped as "*.xxx" including the '.'.
|
String |
path()
Returns the berlioz path used for the request that is the part that corresponds to the wildcard.
|
String |
prefix()
Returns the prefix used for the request if mapped as "/xxx/*".
|
String |
toString() |
void |
toXML(org.pageseeder.xmlwriter.XMLWriter xml) |
protected HttpPathInfo(javax.servlet.http.HttpServletRequest req)
req
- the HTTP servlet request.NullPointerException
- if the request is null
public String context()
PathInfo
public String extension()
PathInfo
public String path()
PathInfo
public String prefix()
PathInfo
public void toXML(org.pageseeder.xmlwriter.XMLWriter xml) throws IOException
toXML
in interface org.pageseeder.xmlwriter.XMLWritable
IOException
Copyright © 2016 Allette Systems. All rights reserved.