org.apache.abdera.protocol.server.filters
Class MethodOverrideFilter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodOverrideFilter
public MethodOverrideFilter()
MethodOverrideFilter
public MethodOverrideFilter(String... methods)
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.