org.apache.myfaces.orchestra.requestParameterProvider
Class RequestParameterResponseWrapper

java.lang.Object
  extended by HttpServletResponseWrapper
      extended by org.apache.myfaces.orchestra.requestParameterProvider.RequestParameterResponseWrapper

public class RequestParameterResponseWrapper
extends HttpServletResponseWrapper

This wrapper intercepts encodeURL and pass it to the RequestParameterProviderManager which attaches the url parameters


Constructor Summary
RequestParameterResponseWrapper(HttpServletResponse httpServletResponse)
           
 
Method Summary
 java.lang.String encodeUrl(java.lang.String url)
          Deprecated.  
 java.lang.String encodeURL(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestParameterResponseWrapper

public RequestParameterResponseWrapper(HttpServletResponse httpServletResponse)
Method Detail

encodeURL

public java.lang.String encodeURL(java.lang.String url)
Parameters:
url - the url to encode
Returns:
wrappedResponse.encodeUrl(url);

encodeUrl

public java.lang.String encodeUrl(java.lang.String url)
Deprecated. 

Override deprecated form of this method, in case users call it.

The inherited implementation of this method calls super.encodeUrl(url) directly, which would bypass our custom code.

Since:
1.1


Copyright © 2008 The Apache Software Foundation. All Rights Reserved.