|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ResourceHeaderFilter
Implementations of this interface can filter which HTTP headers are passed through 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.somecompany.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 |
|---|
ResourceHeaders getPassThroughHeaders(javax.servlet.http.HttpServletRequest request,
javax.servlet.ServletContext context,
String url)
request - the HttpServletRequestcontext - the current ServletContexturl - the target url being requested through the ResourceProxyServlet
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||