org.apache.abdera.protocol.server.filters
Class MethodOverrideFilter

java.lang.Object
  extended by org.apache.abdera.protocol.server.filters.MethodOverrideFilter
All Implemented Interfaces:
Filter

public class MethodOverrideFilter
extends Object
implements Filter

Abdera Filter implementation that supports the use of the X-HTTP-Method-Override header used by GData.


Constructor Summary
MethodOverrideFilter()
           
MethodOverrideFilter(String... methods)
           
 
Method Summary
 ResponseContext filter(RequestContext request, FilterChain chain)
          Process the filter request.
 String[] getMethods()
           
 void setMethods(String... methods)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodOverrideFilter

public MethodOverrideFilter()

MethodOverrideFilter

public MethodOverrideFilter(String... methods)
Method Detail

getMethods

public String[] getMethods()

setMethods

public void setMethods(String... methods)

filter

public ResponseContext filter(RequestContext request,
                              FilterChain chain)
Description copied from interface: Filter
Process the filter request. The filter must call chain.next(request) to pass the request on to the next filter or the provider.

Specified by:
filter in interface Filter


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.