org.apache.ws.commons.tcpmon.core.filter.mime
Class MultipartContentFilterFactory

java.lang.Object
  extended by org.apache.ws.commons.tcpmon.core.filter.mime.MultipartContentFilterFactory
All Implemented Interfaces:
ContentFilterFactory

public class MultipartContentFilterFactory
extends Object
implements ContentFilterFactory

ContentFilterFactory implementation that handles multipart/related. It delegates to a different content filter factory for individual MIME parts.


Constructor Summary
MultipartContentFilterFactory(ContentFilterFactory parent)
           
 
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
 

Constructor Detail

MultipartContentFilterFactory

public MultipartContentFilterFactory(ContentFilterFactory parent)
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.