Package com.azure.common.http.policy
Interface HttpPipelinePolicy
-
- All Known Implementing Classes:
AddDatePolicy,AddHeadersPolicy,AsyncCredentialsPolicy,CookiePolicy,CredentialsPolicy,HostPolicy,HttpLoggingPolicy,PortPolicy,ProtocolPolicy,ProxyAuthenticationPolicy,RequestIdPolicy,RetryPolicy,TimeoutPolicy,UserAgentPolicy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface HttpPipelinePolicy
Pipeline policy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description reactor.core.publisher.Mono<HttpResponse>process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)Process provided request context and invokes the next policy.
-
-
-
Method Detail
-
process
reactor.core.publisher.Mono<HttpResponse> process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)
Process provided request context and invokes the next policy.- Parameters:
context- request contextnext- the next policy to invoke- Returns:
- publisher that initiate the request upon subscription and emits response on completion.
-
-