Package io.dropwizard.jersey.filter
Class AllowedMethodsFilter
- java.lang.Object
-
- io.dropwizard.jersey.filter.AllowedMethodsFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
public class AllowedMethodsFilter extends Object implements javax.servlet.Filter
-
-
Field Summary
Fields Modifier and Type Field Description static StringALLOWED_METHODS_PARAMstatic Set<String>DEFAULT_ALLOWED_METHODS
-
Constructor Summary
Constructors Constructor Description AllowedMethodsFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain)voidinit(javax.servlet.FilterConfig config)
-
-
-
Field Detail
-
ALLOWED_METHODS_PARAM
public static final String ALLOWED_METHODS_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.servlet.FilterConfig config)
- Specified by:
initin interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException- Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
-