org.tuckey.web.filters.urlrewrite.json
Class JsonRewriteMatch
java.lang.Object
org.tuckey.web.filters.urlrewrite.extend.RewriteMatch
org.tuckey.web.filters.urlrewrite.json.JsonRewriteMatch
public class JsonRewriteMatch
- extends RewriteMatch
|
Method Summary |
boolean |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
If this rule has been matched and has not been "stolen" by another rule then process the request. |
String |
toJSONString(Object resultantObject,
Throwable resultantThrowable)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonRewriteMatch
public JsonRewriteMatch(Object returned)
JsonRewriteMatch
public JsonRewriteMatch(Throwable throwable)
execute
public boolean execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Description copied from class:
RewriteMatch
- If this rule has been matched and has not been "stolen" by another rule then process the request.
If you return true then the filter chain will NOT continue.
- Overrides:
execute in class RewriteMatch
- Returns:
- boolean true if the request was rewritten, false if not.
- Throws:
javax.servlet.ServletException
IOException
toJSONString
public String toJSONString(Object resultantObject,
Throwable resultantThrowable)
Copyright © 2001-2012 Paul Tuckey. All Rights Reserved.