com.bea.wsrp.consumer.resource
Interface ResourceHeaderFilter


public interface ResourceHeaderFilter

Implementations of this interface can filter which HTTP headers on the given HttpServletRequest are passed through to the ResourceProxyServlet.

You can specify an implementation of this filter by updating the init-parameter of the servlet ResourceProxyServlet. For example,

       <init-param>
            <!-- Specify a header filter -->
            <param-name>resourceHeaderFilter</param-name>
            <param-value>com.mycompany.wsrp.consumer.MyResourceHeaderFilter</param-value>
        </init-param>
 


Method Summary
 ResourceHeaders getPassThroughHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.ServletContext context, String url)
          Returns a ResourceHeaders object with headers to be proxied, given the HttpServletRequest.
 

Method Detail

getPassThroughHeaders

ResourceHeaders getPassThroughHeaders(javax.servlet.http.HttpServletRequest request,
                                      javax.servlet.ServletContext context,
                                      String url)
Returns a ResourceHeaders object with headers to be proxied, given the HttpServletRequest.

Parameters
request - the HttpServletRequest
context - the current ServletContext
url - the target url being requested through the ResourceProxyServlet
Returns
com.bea.wsrp.consumer.resource.ResourceHeaders - the Headers to be proxied


Copyright © 2011, Oracle. All rights reserved.