com.bea.wsrp.resource
Interface IRewritableResourceUrlStrategy

All Known Implementing Classes:
DefaultRewritableResourceURLStrategy

public interface IRewritableResourceUrlStrategy

Determine what parts and how resource URLs are rewritable


Method Summary
 RewritableResourceURLContext createRewritableResourceURLContext(String url, String resourceID, String servedResourceParams)
          Called whenever a resource URL is created.
 void destroy()
          Called when this is destroyed
 void init(javax.servlet.ServletContext servletContext, boolean isProducer)
          Called when this is initialized
 

Method Detail

init

void init(javax.servlet.ServletContext servletContext,
          boolean isProducer)
Called when this is initialized

Parameters
servletContext - the servlet context
isProducer - true when this is being run on the produccer

destroy

void destroy()
Called when this is destroyed


createRewritableResourceURLContext

RewritableResourceURLContext createRewritableResourceURLContext(String url,
                                                                String resourceID,
                                                                String servedResourceParams)
Called whenever a resource URL is created.

Parameters
url - The resource's URL or null if a served resource
resourceID - the resource's ID if get resource (may be null).
servedResourceParams - any query parameters added to a served resource URL (in www-url-form-encoded format) or null;
Returns
A new RewritableResourceURLContext.


Copyright © 2011, Oracle. All rights reserved.