@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:07.971Z")
@Deprecated
public interface RedirectResponse
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticloadbalancingv2.*; RedirectResponse redirectResponse = RedirectResponse.builder() .statusCode("statusCode") // the properties below are optional .host("host") .path("path") .port("port") .protocol("protocol") .query("query") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
RedirectResponse.Builder
Deprecated.
|
static class |
RedirectResponse.Jsii$Proxy
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RedirectResponse.Builder |
builder()
Deprecated.
|
default java.lang.String |
getHost()
Deprecated.
|
default java.lang.String |
getPath()
Deprecated.
|
default java.lang.String |
getPort()
Deprecated.
|
default java.lang.String |
getProtocol()
Deprecated.
|
default java.lang.String |
getQuery()
Deprecated.
|
java.lang.String |
getStatusCode()
Deprecated.
|
@Deprecated java.lang.String getStatusCode()
@Deprecated default java.lang.String getHost()
This component is not percent-encoded. The hostname can contain #{host}.
Default: origin host of request
@Deprecated default java.lang.String getPath()
This component is not percent-encoded. The path can contain #{host}, #{path}, and #{port}.
Default: origin path of request
@Deprecated default java.lang.String getPort()
You can specify a value from 1 to 65535 or #{port}.
Default: origin port of request
@Deprecated default java.lang.String getProtocol()
You can specify HTTP, HTTPS, or #{protocol}. You can redirect HTTP to HTTP, HTTP to HTTPS, and HTTPS to HTTPS. You cannot redirect HTTPS to HTTP.
Default: origin protocol of request
@Deprecated default java.lang.String getQuery()
Do not include the leading "?", as it is automatically added. You can specify any of the reserved keywords.
Default: origin query string of request
@Deprecated static RedirectResponse.Builder builder()
RedirectResponse.Builder
of RedirectResponse