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

  • Constructor Details

    • HeaderPreprocessor

      public HeaderPreprocessor()
  • Method Details

    • filter

      public void filter(javax.ws.rs.container.ContainerRequestContext requestContext) throws IOException
      Specified by:
      filter in interface javax.ws.rs.container.ContainerRequestFilter
      Throws:
      IOException