org.eclipse.swordfish.plugins.compression
Class CompressionInterceptor

java.lang.Object
  extended by org.eclipse.swordfish.plugins.compression.AbstractInterceptor
      extended by org.eclipse.swordfish.plugins.compression.CompressionInterceptor
All Implemented Interfaces:
Interceptor

public class CompressionInterceptor
extends AbstractInterceptor


Field Summary
 
Fields inherited from interface org.eclipse.swordfish.core.Interceptor
TYPE_PROPERTY
 
Constructor Summary
CompressionInterceptor()
           
 
Method Summary
 java.util.Map<java.lang.String,?> getProperties()
          By using this method the implementation class can supply properties associated with the current interceptor e.g priority.
 void setCompressor(Compressor compressor)
           
 
Methods inherited from class org.eclipse.swordfish.plugins.compression.AbstractInterceptor
process
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressionInterceptor

public CompressionInterceptor()
Method Detail

setCompressor

public void setCompressor(Compressor compressor)

getProperties

public java.util.Map<java.lang.String,?> getProperties()
Description copied from interface: Interceptor
By using this method the implementation class can supply properties associated with the current interceptor e.g priority. These properties are merged with the properties provided at OSGI service registration and via Swordfish configuration. Details see at FilterStrategy#filter(java.util.List, ReadOnlyRegistry, java.util.List) and SortingStrategy#sort(java.util.List, ReadOnlyRegistry, java.util.List).

Specified by:
getProperties in interface Interceptor
Specified by:
getProperties in class AbstractInterceptor
Returns:
Properties in a Map of String keys and arbitrary values.