rewrite-api-servlet 2.0.0.Beta2

org.ocpsoft.rewrite.servlet.http.event
Interface HttpServletRewrite

All Superinterfaces:
Rewrite, ServletRewrite<HttpServletRequest,HttpServletResponse>
All Known Subinterfaces:
HttpInboundServletRewrite, HttpOutboundServletRewrite

public interface HttpServletRewrite
extends ServletRewrite<HttpServletRequest,HttpServletResponse>

Author:
Lincoln Baxter, III

Method Summary
 Address getAddress()
          For HttpInboundServletRewrite events, return the request Address.
 String getContextPath()
          Return the application context root HttpServletRequest.getContextPath()
 Address getInboundAddress()
          Get the full Address of the current request.
 
Methods inherited from interface org.ocpsoft.rewrite.servlet.event.ServletRewrite
abort, getRequest, getResponse, getServletContext, handled, proceed, setFlow
 
Methods inherited from interface org.ocpsoft.rewrite.event.Rewrite
getFlow, getRewriteContext
 

Method Detail

getContextPath

String getContextPath()
Return the application context root HttpServletRequest.getContextPath()


getInboundAddress

Address getInboundAddress()
Get the full Address of the current request.


getAddress

Address getAddress()
For HttpInboundServletRewrite events, return the request Address.

For HttpOutboundServletRewrite events, this method returns OutboundServletRewrite.getOutboundAddress()


rewrite-api-servlet 2.0.0.Beta2

Copyright © 2013 OCPsoft. All Rights Reserved.