public class AbstractInstancesProxyController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String[] |
HOP_BY_HOP_HEADERS |
protected static String |
REQUEST_MAPPING_PATH |
| Constructor and Description |
|---|
AbstractInstancesProxyController(String adminContextPath,
Set<String> ignoredHeaders,
InstanceRegistry registry,
InstanceWebClient instanceWebClient) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.http.HttpHeaders |
filterHeaders(org.springframework.http.HttpHeaders headers) |
protected reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> |
forward(String instanceId,
URI uri,
org.springframework.http.HttpMethod method,
org.springframework.http.HttpHeaders headers,
Supplier<org.springframework.web.reactive.function.BodyInserter<?,? super org.springframework.http.client.reactive.ClientHttpRequest>> bodyInserter) |
protected String |
getEndpointLocalPath(String pathWithinApplication) |
protected static final String REQUEST_MAPPING_PATH
protected static final String[] HOP_BY_HOP_HEADERS
public AbstractInstancesProxyController(String adminContextPath, Set<String> ignoredHeaders, InstanceRegistry registry, InstanceWebClient instanceWebClient)
protected reactor.core.publisher.Mono<org.springframework.web.reactive.function.client.ClientResponse> forward(String instanceId, URI uri, org.springframework.http.HttpMethod method, org.springframework.http.HttpHeaders headers, Supplier<org.springframework.web.reactive.function.BodyInserter<?,? super org.springframework.http.client.reactive.ClientHttpRequest>> bodyInserter)
protected org.springframework.http.HttpHeaders filterHeaders(org.springframework.http.HttpHeaders headers)
Copyright © 2019 codecentric AG. All rights reserved.