Package org.apache.hadoop.ozone.s3
Class EmptyContentTypeFilter
java.lang.Object
org.apache.hadoop.ozone.s3.EmptyContentTypeFilter
- All Implemented Interfaces:
javax.servlet.Filter
Filter to accept queries with empty string content-type (ruby sdk).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEnumeration Wrapper which removes Content-Type from the original enumeration. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EmptyContentTypeFilter
public EmptyContentTypeFilter()
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-
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
-
destroy
public void destroy()- Specified by:
destroyin interfacejavax.servlet.Filter
-