public class ProtocolPolicy extends Object implements HttpPipelinePolicy
| Constructor and Description |
|---|
ProtocolPolicy(String protocol,
boolean overwrite)
Create a new ProtocolPolicy.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<HttpResponse> |
process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next)
Process provided request context and invokes the next policy.
|
public ProtocolPolicy(String protocol, boolean overwrite)
protocol - The protocol to set.overwrite - Whether or not to overwrite a HttpRequest's protocol if it already has one.public reactor.core.publisher.Mono<HttpResponse> process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)
HttpPipelinePolicyprocess in interface HttpPipelinePolicycontext - request contextnext - the next policy to invokeCopyright © 2019 Microsoft Corporation. All rights reserved.