Interface HttpServletRewrite
- All Superinterfaces:
Rewrite,ServletRewrite<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>
- All Known Subinterfaces:
HttpInboundServletRewrite,HttpOutboundServletRewrite
public interface HttpServletRewrite
extends ServletRewrite<jakarta.servlet.http.HttpServletRequest,jakarta.servlet.http.HttpServletResponse>
- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptionForHttpInboundServletRewriteevents, return the requestAddress.Return the application context rootHttpServletRequest.getContextPath()Get the fullAddressof the current request.Methods inherited from interface org.ocpsoft.rewrite.event.Rewrite
getEvaluatedRules, getFlow, getRewriteContextMethods inherited from interface org.ocpsoft.rewrite.servlet.event.ServletRewrite
abort, getRequest, getResponse, getServletContext, handled, proceed, setFlow
-
Method Details
-
getContextPath
String getContextPath()Return the application context rootHttpServletRequest.getContextPath() -
getInboundAddress
Address getInboundAddress()Get the fullAddressof the current request. This is the original URL of the request and has not been encoded or decoded. -
getAddress
Address getAddress()ForHttpInboundServletRewriteevents, return the requestAddress.For
HttpOutboundServletRewriteevents, this method returnsOutboundServletRewrite.getOutboundAddress()
-