Package org.apache.hadoop.ozone.s3
Class HeaderPreprocessor
java.lang.Object
org.apache.hadoop.ozone.s3.HeaderPreprocessor
- All Implemented Interfaces:
javax.ws.rs.container.ContainerRequestFilter
@Provider
@PreMatching
@Priority(150)
public class HeaderPreprocessor
extends Object
implements javax.ws.rs.container.ContainerRequestFilter
Filter to adjust request headers for compatible reasons.
It should be executed AFTER signature check (VirtualHostStyleFilter) as the
original Content-Type could be part of the base of the signature.
-
Field Details
-
PRIORITY
public static final int PRIORITY- See Also:
-
MULTIPART_UPLOAD_MARKER
- See Also:
-
CONTENT_TYPE
- See Also:
-
ORIGINAL_CONTENT_TYPE
- See Also:
-
-
Constructor Details
-
HeaderPreprocessor
public HeaderPreprocessor()
-
-
Method Details
-
filter
- Specified by:
filterin interfacejavax.ws.rs.container.ContainerRequestFilter- Throws:
IOException
-