Package com.azure.data.tables
Class TableScrubEtagPolicy
java.lang.Object
com.azure.data.tables.TableScrubEtagPolicy
- All Implemented Interfaces:
com.azure.core.http.policy.HttpPipelinePolicy
public final class TableScrubEtagPolicy
extends Object
implements com.azure.core.http.policy.HttpPipelinePolicy
Wraps any potential error responses from the service and applies post processing of the response's eTag header to
standardize the value.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMono<com.azure.core.http.HttpResponse> process(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextPolicy next) Wraps any potential error responses from the service and applies post-processing of the response's eTag header to standardize the value.com.azure.core.http.HttpResponseprocessSync(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextSyncPolicy next) Wraps any potential error responses from the service and applies post-processing of the response's eTag header to standardize the value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.core.http.policy.HttpPipelinePolicy
getPipelinePosition
-
Constructor Details
-
TableScrubEtagPolicy
public TableScrubEtagPolicy()Creates aTableScrubEtagPolicy.
-
-
Method Details
-
processSync
public com.azure.core.http.HttpResponse processSync(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextSyncPolicy next) Wraps any potential error responses from the service and applies post-processing of the response's eTag header to standardize the value.- Specified by:
processSyncin interfacecom.azure.core.http.policy.HttpPipelinePolicy- Returns:
- an updated response with post-processing steps applied.
-
process
public Mono<com.azure.core.http.HttpResponse> process(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextPolicy next) Wraps any potential error responses from the service and applies post-processing of the response's eTag header to standardize the value.- Specified by:
processin interfacecom.azure.core.http.policy.HttpPipelinePolicy- Returns:
- an updated response with post-processing steps applied.
-