|
rewrite-api-servlet 1.0.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpServletRewrite
| Method Summary | |
|---|---|
String |
getContextPath()
Return the application context root HttpServletRequest.getContextPath() |
String |
getRequestPath()
Portion of the request URL representing request path within the application. |
String |
getRequestQueryString()
Portion of the request URL representing the query string. |
String |
getRequestQueryStringSeparator()
Portion of the request URL joining the getRequestPath() and getRequestQueryString(). |
String |
getURL()
For HttpInboundServletRewrite events, return the request URL excluding context path, but including query
string: getRequestPath() + getRequestQueryStringSeparator() + getRequestQueryString() |
| Methods inherited from interface org.ocpsoft.rewrite.servlet.event.ServletRewrite |
|---|
abort, getFlow, getRequest, getResponse, handled, proceed, setFlow |
| Methods inherited from interface org.ocpsoft.rewrite.event.Rewrite |
|---|
getRewriteContext |
| Method Detail |
|---|
String getContextPath()
HttpServletRequest.getContextPath()
String getRequestPath()
getContextPath()
String getRequestQueryString()
String getRequestQueryStringSeparator()
getRequestPath() and getRequestQueryString(). If
getRequestQueryString() is valued, this will return "?"; otherwise, if getRequestQueryString()
is empty, this too will return an empty string.
String getURL()
HttpInboundServletRewrite events, return the request URL excluding context path, but including query
string: getRequestPath() + getRequestQueryStringSeparator() + getRequestQueryString()
For HttpOutboundServletRewrite events, this method returns
HttpOutboundServletRewrite.getOutboundURL()
|
rewrite-api-servlet 1.0.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||