Class ScrubEtagPolicy

java.lang.Object
com.azure.storage.common.policy.ScrubEtagPolicy
All Implemented Interfaces:
HttpPipelinePolicy

public class ScrubEtagPolicy extends Object implements HttpPipelinePolicy
Wraps any potential error responses from the service and applies post-processing of the response's eTag header to standardize the value.
  • Constructor Details

    • ScrubEtagPolicy

      public ScrubEtagPolicy()
  • Method Details

    • process

      Wraps any potential error responses from the service and applies post-processing of the response's eTag header to standardize the value.
      Specified by:
      process in interface HttpPipelinePolicy
      Parameters:
      context - The request context.
      next - The next policy to invoke.
      Returns:
      an updated response with post-processing steps applied.