public static class HttpHeaderAction.Builder extends Object
Modifier and Type | Method and Description |
---|---|
HttpHeaderAction.Builder |
addAllRequestHeadersToAdd(List<HttpHeaderOption> requestHeadersToAdd)
Headers to add to a matching request prior to forwarding the request to the backendService.
|
HttpHeaderAction.Builder |
addAllRequestHeadersToRemove(List<String> requestHeadersToRemove)
A list of header names for headers that need to be removed from the request prior to
forwarding the request to the backendService.
|
HttpHeaderAction.Builder |
addAllResponseHeadersToAdd(List<HttpHeaderOption> responseHeadersToAdd)
Headers to add the response prior to sending the response back to the client.
|
HttpHeaderAction.Builder |
addAllResponseHeadersToRemove(List<String> responseHeadersToRemove)
A list of header names for headers that need to be removed from the response prior to sending
the response back to the client.
|
HttpHeaderAction.Builder |
addRequestHeadersToAdd(HttpHeaderOption requestHeadersToAdd)
Headers to add to a matching request prior to forwarding the request to the backendService.
|
HttpHeaderAction.Builder |
addRequestHeadersToRemove(String requestHeadersToRemove)
A list of header names for headers that need to be removed from the request prior to
forwarding the request to the backendService.
|
HttpHeaderAction.Builder |
addResponseHeadersToAdd(HttpHeaderOption responseHeadersToAdd)
Headers to add the response prior to sending the response back to the client.
|
HttpHeaderAction.Builder |
addResponseHeadersToRemove(String responseHeadersToRemove)
A list of header names for headers that need to be removed from the response prior to sending
the response back to the client.
|
HttpHeaderAction |
build() |
HttpHeaderAction.Builder |
clone() |
List<HttpHeaderOption> |
getRequestHeadersToAddList()
Headers to add to a matching request prior to forwarding the request to the backendService.
|
List<String> |
getRequestHeadersToRemoveList()
A list of header names for headers that need to be removed from the request prior to
forwarding the request to the backendService.
|
List<HttpHeaderOption> |
getResponseHeadersToAddList()
Headers to add the response prior to sending the response back to the client.
|
List<String> |
getResponseHeadersToRemoveList()
A list of header names for headers that need to be removed from the response prior to sending
the response back to the client.
|
HttpHeaderAction.Builder |
mergeFrom(HttpHeaderAction other) |
public HttpHeaderAction.Builder mergeFrom(HttpHeaderAction other)
public List<HttpHeaderOption> getRequestHeadersToAddList()
public HttpHeaderAction.Builder addAllRequestHeadersToAdd(List<HttpHeaderOption> requestHeadersToAdd)
public HttpHeaderAction.Builder addRequestHeadersToAdd(HttpHeaderOption requestHeadersToAdd)
public List<String> getRequestHeadersToRemoveList()
public HttpHeaderAction.Builder addAllRequestHeadersToRemove(List<String> requestHeadersToRemove)
public HttpHeaderAction.Builder addRequestHeadersToRemove(String requestHeadersToRemove)
public List<HttpHeaderOption> getResponseHeadersToAddList()
public HttpHeaderAction.Builder addAllResponseHeadersToAdd(List<HttpHeaderOption> responseHeadersToAdd)
public HttpHeaderAction.Builder addResponseHeadersToAdd(HttpHeaderOption responseHeadersToAdd)
public List<String> getResponseHeadersToRemoveList()
public HttpHeaderAction.Builder addAllResponseHeadersToRemove(List<String> responseHeadersToRemove)
public HttpHeaderAction.Builder addResponseHeadersToRemove(String responseHeadersToRemove)
public HttpHeaderAction build()
public HttpHeaderAction.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.