Package io.fabric8.openshift.api.model
Class RouteHTTPHeaderActions
- java.lang.Object
-
- io.fabric8.openshift.api.model.RouteHTTPHeaderActions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RouteHTTPHeaderActionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RouteHTTPHeaderActions extends Object implements io.fabric8.kubernetes.api.builder.Editable<RouteHTTPHeaderActionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RouteHTTPHeaderActions defines configuration for actions on HTTP request and response headers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteHTTPHeaderActions()No args constructor for use in serializationRouteHTTPHeaderActions(List<RouteHTTPHeader> request, List<RouteHTTPHeader> response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteHTTPHeaderActionsBuilderedit()Map<String,Object>getAdditionalProperties()List<RouteHTTPHeader>getRequest()request is a list of HTTP request headers to modify.List<RouteHTTPHeader>getResponse()response is a list of HTTP response headers to modify.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRequest(List<RouteHTTPHeader> request)request is a list of HTTP request headers to modify.voidsetResponse(List<RouteHTTPHeader> response)response is a list of HTTP response headers to modify.RouteHTTPHeaderActionsBuildertoBuilder()
-
-
-
Constructor Detail
-
RouteHTTPHeaderActions
public RouteHTTPHeaderActions()
No args constructor for use in serialization
-
RouteHTTPHeaderActions
public RouteHTTPHeaderActions(List<RouteHTTPHeader> request, List<RouteHTTPHeader> response)
-
-
Method Detail
-
getRequest
public List<RouteHTTPHeader> getRequest()
request is a list of HTTP request headers to modify. Currently, actions may define to either `Set` or `Delete` headers values. Actions defined here will modify the request headers of all requests made through a route. These actions are applied to a specific Route defined within a cluster i.e. connections made through a route. Currently, actions may define to either `Set` or `Delete` headers values. Route actions will be executed after IngressController actions for request headers. Actions are applied in sequence as defined in this list. A maximum of 20 request header actions may be configured. You can use this field to specify HTTP request headers that should be set or deleted when forwarding connections from the client to your application. Sample fetchers allowed are "req.hdr" and "ssl_c_der". Converters allowed are "lower" and "base64". Example header values: "%[req.hdr(X-target),lower]", "%{+Q}[ssl_c_der,base64]". Any request header configuration applied directly via a Route resource using this API will override header configuration for a header of the same name applied via spec.httpHeaders.actions on the IngressController or route annotation. Note: This field cannot be used if your route uses TLS passthrough.
-
setRequest
public void setRequest(List<RouteHTTPHeader> request)
request is a list of HTTP request headers to modify. Currently, actions may define to either `Set` or `Delete` headers values. Actions defined here will modify the request headers of all requests made through a route. These actions are applied to a specific Route defined within a cluster i.e. connections made through a route. Currently, actions may define to either `Set` or `Delete` headers values. Route actions will be executed after IngressController actions for request headers. Actions are applied in sequence as defined in this list. A maximum of 20 request header actions may be configured. You can use this field to specify HTTP request headers that should be set or deleted when forwarding connections from the client to your application. Sample fetchers allowed are "req.hdr" and "ssl_c_der". Converters allowed are "lower" and "base64". Example header values: "%[req.hdr(X-target),lower]", "%{+Q}[ssl_c_der,base64]". Any request header configuration applied directly via a Route resource using this API will override header configuration for a header of the same name applied via spec.httpHeaders.actions on the IngressController or route annotation. Note: This field cannot be used if your route uses TLS passthrough.
-
getResponse
public List<RouteHTTPHeader> getResponse()
response is a list of HTTP response headers to modify. Currently, actions may define to either `Set` or `Delete` headers values. Actions defined here will modify the response headers of all requests made through a route. These actions are applied to a specific Route defined within a cluster i.e. connections made through a route. Route actions will be executed before IngressController actions for response headers. Actions are applied in sequence as defined in this list. A maximum of 20 response header actions may be configured. You can use this field to specify HTTP response headers that should be set or deleted when forwarding responses from your application to the client. Sample fetchers allowed are "res.hdr" and "ssl_c_der". Converters allowed are "lower" and "base64". Example header values: "%[res.hdr(X-target),lower]", "%{+Q}[ssl_c_der,base64]". Note: This field cannot be used if your route uses TLS passthrough.
-
setResponse
public void setResponse(List<RouteHTTPHeader> response)
response is a list of HTTP response headers to modify. Currently, actions may define to either `Set` or `Delete` headers values. Actions defined here will modify the response headers of all requests made through a route. These actions are applied to a specific Route defined within a cluster i.e. connections made through a route. Route actions will be executed before IngressController actions for response headers. Actions are applied in sequence as defined in this list. A maximum of 20 response header actions may be configured. You can use this field to specify HTTP response headers that should be set or deleted when forwarding responses from your application to the client. Sample fetchers allowed are "res.hdr" and "ssl_c_der". Converters allowed are "lower" and "base64". Example header values: "%[res.hdr(X-target),lower]", "%{+Q}[ssl_c_der,base64]". Note: This field cannot be used if your route uses TLS passthrough.
-
edit
public RouteHTTPHeaderActionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RouteHTTPHeaderActionsBuilder>
-
toBuilder
public RouteHTTPHeaderActionsBuilder toBuilder()
-
-