org.apache.ws.commons.tcpmon.core.filter.mime
Interface ContentFilterFactory

All Known Implementing Classes:
ChainedContentFilterFactory, DefaultContentFilterFactory, MultipartContentFilterFactory, UriReplaceContentFilterFactory

public interface ContentFilterFactory

Factory that returns filters for given content types.


Method Summary
 StreamFilter[] getContentFilterChain(javax.activation.MimeType contentType)
          Get a new filter (chain) for the given content type.
 

Method Detail

getContentFilterChain

StreamFilter[] getContentFilterChain(javax.activation.MimeType contentType)
Get a new filter (chain) for the given content type.

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.