org.apache.ws.commons.tcpmon.core.engine
Class UriReplaceContentFilterFactory

java.lang.Object
  extended by org.apache.ws.commons.tcpmon.core.engine.UriReplaceContentFilterFactory
All Implemented Interfaces:
ContentFilterFactory

public class UriReplaceContentFilterFactory
extends Object
implements ContentFilterFactory


Field Summary
static int REQUEST
           
static int RESPONSE
           
 
Constructor Summary
UriReplaceContentFilterFactory(HostRewriter hostRewriter, int direction)
           
 
Method Summary
 StreamFilter[] getContentFilterChain(javax.activation.MimeType contentType)
          Get a new filter (chain) for the given content type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST

public static final int REQUEST
See Also:
Constant Field Values

RESPONSE

public static final int RESPONSE
See Also:
Constant Field Values
Constructor Detail

UriReplaceContentFilterFactory

public UriReplaceContentFilterFactory(HostRewriter hostRewriter,
                                      int direction)
Method Detail

getContentFilterChain

public StreamFilter[] getContentFilterChain(javax.activation.MimeType contentType)
Description copied from interface: ContentFilterFactory
Get a new filter (chain) for the given content type.

Specified by:
getContentFilterChain in interface ContentFilterFactory
Parameters:
contentType - the content type
Returns:
the filters to apply to the content or null (or an empty array) if no filter should be applied


Copyright © The Apache Software Foundation. All Rights Reserved.