public static final class ALBHTTPApplicationProfile.Builder
extends java.lang.Object
ALBHTTPApplicationProfile.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBHTTPApplicationProfile. |
| Modifier and Type | Method and Description |
|---|---|
ALBHTTPApplicationProfile |
build() |
ALBHTTPApplicationProfile.Builder |
setAllowDotsInHeaderName(java.lang.Boolean allowDotsInHeaderName)
Allow use of dot (.) in HTTP header names, for instance Header.app.special
PickAppVersionX.
|
ALBHTTPApplicationProfile.Builder |
setCacheConfig(ALBHttpCacheConfig cacheConfig) |
ALBHTTPApplicationProfile.Builder |
setClientBodyTimeout(java.lang.Long clientBodyTimeout)
The maximum length of time allowed between consecutive read operations for a
client request body.
|
ALBHTTPApplicationProfile.Builder |
setClientHeaderTimeout(java.lang.Long clientHeaderTimeout)
The maximum length of time allowed for a client to transmit an entire request
header.
|
ALBHTTPApplicationProfile.Builder |
setClientMaxBodySize(java.lang.Long clientMaxBodySize)
Maximum size for the client request body.
|
ALBHTTPApplicationProfile.Builder |
setClientMaxHeaderSize(java.lang.Long clientMaxHeaderSize)
Maximum size in Kbytes of a single HTTP header in the client request.
|
ALBHTTPApplicationProfile.Builder |
setClientMaxRequestSize(java.lang.Long clientMaxRequestSize)
Maximum size in Kbytes of all the client HTTP request headers.
|
ALBHTTPApplicationProfile.Builder |
setCompressionProfile(ALBCompressionProfile compressionProfile) |
ALBHTTPApplicationProfile.Builder |
setConnectionMultiplexingEnabled(java.lang.Boolean connectionMultiplexingEnabled)
Allows HTTP requests, not just TCP connections, to be load balanced across
servers.
|
ALBHTTPApplicationProfile.Builder |
setDisableKeepalivePostsMsie6(java.lang.Boolean disableKeepalivePostsMsie6)
Disable keep-alive client side connections for older browsers based off MS
Internet Explorer 6.0 (MSIE6).
|
ALBHTTPApplicationProfile.Builder |
setDisableSniHostnameCheck(java.lang.Boolean disableSniHostnameCheck)
Disable strict check between TLS servername and HTTP Host name.
|
ALBHTTPApplicationProfile.Builder |
setEnableChunkMerge(java.lang.Boolean enableChunkMerge)
Enable chunk body merge for chunked transfer encoding response.
|
ALBHTTPApplicationProfile.Builder |
setEnableFireAndForget(java.lang.Boolean enableFireAndForget)
Enable support for fire and forget feature.
|
ALBHTTPApplicationProfile.Builder |
setEnableRequestBodyBuffering(java.lang.Boolean enableRequestBodyBuffering)
Enable request body buffering for POST requests.
|
ALBHTTPApplicationProfile.Builder |
setEnableRequestBodyMetrics(java.lang.Boolean enableRequestBodyMetrics)
Enable HTTP request body metrics.
|
ALBHTTPApplicationProfile.Builder |
setFwdCloseHdrForBoundConnections(java.lang.Boolean fwdCloseHdrForBoundConnections)
Forward the Connection Close header coming from backend server to the client if
connection-switching is enabled, i.e.
|
ALBHTTPApplicationProfile.Builder |
setHstsEnabled(java.lang.Boolean hstsEnabled)
Inserts HTTP Strict-Transport-Security header in the HTTPS response.
|
ALBHTTPApplicationProfile.Builder |
setHstsMaxAge(java.lang.Long hstsMaxAge)
Number of days for which the client should regard this virtual service as a
known HSTS host.
|
ALBHTTPApplicationProfile.Builder |
setHstsSubdomainsEnabled(java.lang.Boolean hstsSubdomainsEnabled)
Insert the 'includeSubdomains' directive in the HTTP Strict-Transport-Security
header.
|
ALBHTTPApplicationProfile.Builder |
setHttp2Profile(ALBHTTP2ApplicationProfile http2Profile) |
ALBHTTPApplicationProfile.Builder |
setHttponlyEnabled(java.lang.Boolean httponlyEnabled)
Mark HTTP cookies as HTTPonly.
|
ALBHTTPApplicationProfile.Builder |
setHttpToHttps(java.lang.Boolean httpToHttps)
Client requests received via HTTP will be redirected to HTTPS.
|
ALBHTTPApplicationProfile.Builder |
setHttpUpstreamBufferSize(java.lang.Long httpUpstreamBufferSize)
Size of HTTP buffer in kB.
|
ALBHTTPApplicationProfile.Builder |
setKeepaliveHeader(java.lang.Boolean keepaliveHeader)
Send HTTP 'Keep-Alive' header to the client.
|
ALBHTTPApplicationProfile.Builder |
setKeepaliveTimeout(java.lang.Long keepaliveTimeout)
The max idle time allowed between HTTP requests over a Keep-alive connection.
|
ALBHTTPApplicationProfile.Builder |
setMaxBadRpsCip(java.lang.Long maxBadRpsCip)
Maximum bad requests per second per client IP.
|
ALBHTTPApplicationProfile.Builder |
setMaxBadRpsCipUri(java.lang.Long maxBadRpsCipUri)
Maximum bad requests per second per client IP and URI.
|
ALBHTTPApplicationProfile.Builder |
setMaxBadRpsUri(java.lang.Long maxBadRpsUri)
Maximum bad requests per second per URI.
|
ALBHTTPApplicationProfile.Builder |
setMaxKeepaliveRequests(java.lang.Long maxKeepaliveRequests)
The max number of HTTP requests that can be sent over a Keep-Alive connection.
|
ALBHTTPApplicationProfile.Builder |
setMaxResponseHeadersSize(java.lang.Long maxResponseHeadersSize)
Maximum size in Kbytes of all the HTTP response headers.
|
ALBHTTPApplicationProfile.Builder |
setMaxRpsCip(java.lang.Long maxRpsCip)
Maximum requests per second per client IP.
|
ALBHTTPApplicationProfile.Builder |
setMaxRpsCipUri(java.lang.Long maxRpsCipUri)
Maximum requests per second per client IP and URI.
|
ALBHTTPApplicationProfile.Builder |
setMaxRpsUnknownCip(java.lang.Long maxRpsUnknownCip)
Maximum unknown client IPs per second.
|
ALBHTTPApplicationProfile.Builder |
setMaxRpsUnknownUri(java.lang.Long maxRpsUnknownUri)
Maximum unknown URIs per second.
|
ALBHTTPApplicationProfile.Builder |
setMaxRpsUri(java.lang.Long maxRpsUri)
Maximum requests per second per URI.
|
ALBHTTPApplicationProfile.Builder |
setPkiProfilePath(java.lang.String pkiProfilePath)
Select the PKI profile to be associated with the Virtual Service.
|
ALBHTTPApplicationProfile.Builder |
setPostAcceptTimeout(java.lang.Long postAcceptTimeout)
The max allowed length of time between a client establishing a TCP connection
and Avi receives the first byte of the client's HTTP request.
|
ALBHTTPApplicationProfile.Builder |
setResetConnHttpOnSslPort(java.lang.Boolean resetConnHttpOnSslPort)
If enabled, an HTTP request on an SSL port will result in connection close
instead of a 400 response.
|
ALBHTTPApplicationProfile.Builder |
setRespondWith100Continue(java.lang.Boolean respondWith100Continue)
Avi will respond with 100-Continue response if Expect 100-Continue header
received from client.
|
ALBHTTPApplicationProfile.Builder |
setSecureCookieEnabled(java.lang.Boolean secureCookieEnabled)
Mark server cookies with the 'Secure' attribute.
|
ALBHTTPApplicationProfile.Builder |
setServerSideRedirectToHttps(java.lang.Boolean serverSideRedirectToHttps)
When terminating client SSL sessions at Avi, servers may incorrectly send
redirect to clients as HTTP.
|
ALBHTTPApplicationProfile.Builder |
setSslClientCertificateAction(ALBSSLClientCertificateAction sslClientCertificateAction) |
ALBHTTPApplicationProfile.Builder |
setSslClientCertificateMode(java.lang.String sslClientCertificateMode)
Possible values are:
ALBHTTPApplicationProfile.SSL_CLIENT_CERTIFICATE_MODE_NONE
ALBHTTPApplicationProfile.SSL_CLIENT_CERTIFICATE_MODE_REQUEST
ALBHTTPApplicationProfile.SSL_CLIENT_CERTIFICATE_MODE_REQUIRE
Specifies whether the client side verification is set to none, request or
require. |
ALBHTTPApplicationProfile.Builder |
setUseAppKeepaliveTimeout(java.lang.Boolean useAppKeepaliveTimeout)
Use 'Keep-Alive' header timeout sent by application instead of sending the HTTP
Keep-Alive Timeout.
|
ALBHTTPApplicationProfile.Builder |
setWebsocketsEnabled(java.lang.Boolean websocketsEnabled)
Enable Websockets proxy for traffic from clients to the virtual service.
|
ALBHTTPApplicationProfile.Builder |
setXffAlternateName(java.lang.String xffAlternateName)
Provide a custom name for the X-Forwarded-For header sent to the servers.
|
ALBHTTPApplicationProfile.Builder |
setXffEnabled(java.lang.Boolean xffEnabled)
The client's original IP address is inserted into an HTTP request header sent to
the server.
|
ALBHTTPApplicationProfile.Builder |
setxForwardedProtoEnabled(java.lang.Boolean xForwardedProtoEnabled)
Insert an X-Forwarded-Proto header in the request sent to the server.
|
public Builder()
ALBHTTPApplicationProfile.public ALBHTTPApplicationProfile.Builder setAllowDotsInHeaderName(java.lang.Boolean allowDotsInHeaderName)
allowDotsInHeaderName - New value for the property.public ALBHTTPApplicationProfile.Builder setCacheConfig(ALBHttpCacheConfig cacheConfig)
cacheConfig - New value for the property.public ALBHTTPApplicationProfile.Builder setClientBodyTimeout(java.lang.Long clientBodyTimeout)
clientBodyTimeout - New value for the property.public ALBHTTPApplicationProfile.Builder setClientHeaderTimeout(java.lang.Long clientHeaderTimeout)
clientHeaderTimeout - New value for the property.public ALBHTTPApplicationProfile.Builder setClientMaxBodySize(java.lang.Long clientMaxBodySize)
clientMaxBodySize - New value for the property.public ALBHTTPApplicationProfile.Builder setClientMaxHeaderSize(java.lang.Long clientMaxHeaderSize)
clientMaxHeaderSize - New value for the property.public ALBHTTPApplicationProfile.Builder setClientMaxRequestSize(java.lang.Long clientMaxRequestSize)
clientMaxRequestSize - New value for the property.public ALBHTTPApplicationProfile.Builder setCompressionProfile(ALBCompressionProfile compressionProfile)
compressionProfile - New value for the property.public ALBHTTPApplicationProfile.Builder setConnectionMultiplexingEnabled(java.lang.Boolean connectionMultiplexingEnabled)
connectionMultiplexingEnabled - New value for the property.public ALBHTTPApplicationProfile.Builder setDisableKeepalivePostsMsie6(java.lang.Boolean disableKeepalivePostsMsie6)
disableKeepalivePostsMsie6 - New value for the property.public ALBHTTPApplicationProfile.Builder setDisableSniHostnameCheck(java.lang.Boolean disableSniHostnameCheck)
disableSniHostnameCheck - New value for the property.public ALBHTTPApplicationProfile.Builder setEnableChunkMerge(java.lang.Boolean enableChunkMerge)
enableChunkMerge - New value for the property.public ALBHTTPApplicationProfile.Builder setEnableFireAndForget(java.lang.Boolean enableFireAndForget)
enableFireAndForget - New value for the property.public ALBHTTPApplicationProfile.Builder setEnableRequestBodyBuffering(java.lang.Boolean enableRequestBodyBuffering)
enableRequestBodyBuffering - New value for the property.public ALBHTTPApplicationProfile.Builder setEnableRequestBodyMetrics(java.lang.Boolean enableRequestBodyMetrics)
enableRequestBodyMetrics - New value for the property.public ALBHTTPApplicationProfile.Builder setFwdCloseHdrForBoundConnections(java.lang.Boolean fwdCloseHdrForBoundConnections)
fwdCloseHdrForBoundConnections - New value for the property.public ALBHTTPApplicationProfile.Builder setHstsEnabled(java.lang.Boolean hstsEnabled)
hstsEnabled - New value for the property.public ALBHTTPApplicationProfile.Builder setHstsMaxAge(java.lang.Long hstsMaxAge)
hstsMaxAge - New value for the property.public ALBHTTPApplicationProfile.Builder setHstsSubdomainsEnabled(java.lang.Boolean hstsSubdomainsEnabled)
hstsSubdomainsEnabled - New value for the property.public ALBHTTPApplicationProfile.Builder setHttp2Profile(ALBHTTP2ApplicationProfile http2Profile)
http2Profile - New value for the property.public ALBHTTPApplicationProfile.Builder setHttpToHttps(java.lang.Boolean httpToHttps)
httpToHttps - New value for the property.public ALBHTTPApplicationProfile.Builder setHttpUpstreamBufferSize(java.lang.Long httpUpstreamBufferSize)
httpUpstreamBufferSize - New value for the property.public ALBHTTPApplicationProfile.Builder setHttponlyEnabled(java.lang.Boolean httponlyEnabled)
httponlyEnabled - New value for the property.public ALBHTTPApplicationProfile.Builder setKeepaliveHeader(java.lang.Boolean keepaliveHeader)
keepaliveHeader - New value for the property.public ALBHTTPApplicationProfile.Builder setKeepaliveTimeout(java.lang.Long keepaliveTimeout)
keepaliveTimeout - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxBadRpsCip(java.lang.Long maxBadRpsCip)
maxBadRpsCip - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxBadRpsCipUri(java.lang.Long maxBadRpsCipUri)
maxBadRpsCipUri - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxBadRpsUri(java.lang.Long maxBadRpsUri)
maxBadRpsUri - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxKeepaliveRequests(java.lang.Long maxKeepaliveRequests)
maxKeepaliveRequests - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxResponseHeadersSize(java.lang.Long maxResponseHeadersSize)
maxResponseHeadersSize - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxRpsCip(java.lang.Long maxRpsCip)
maxRpsCip - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxRpsCipUri(java.lang.Long maxRpsCipUri)
maxRpsCipUri - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxRpsUnknownCip(java.lang.Long maxRpsUnknownCip)
maxRpsUnknownCip - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxRpsUnknownUri(java.lang.Long maxRpsUnknownUri)
maxRpsUnknownUri - New value for the property.public ALBHTTPApplicationProfile.Builder setMaxRpsUri(java.lang.Long maxRpsUri)
maxRpsUri - New value for the property.public ALBHTTPApplicationProfile.Builder setPkiProfilePath(java.lang.String pkiProfilePath)
pkiProfilePath - New value for the property.public ALBHTTPApplicationProfile.Builder setPostAcceptTimeout(java.lang.Long postAcceptTimeout)
postAcceptTimeout - New value for the property.public ALBHTTPApplicationProfile.Builder setResetConnHttpOnSslPort(java.lang.Boolean resetConnHttpOnSslPort)
resetConnHttpOnSslPort - New value for the property.public ALBHTTPApplicationProfile.Builder setRespondWith100Continue(java.lang.Boolean respondWith100Continue)
respondWith100Continue - New value for the property.public ALBHTTPApplicationProfile.Builder setSecureCookieEnabled(java.lang.Boolean secureCookieEnabled)
secureCookieEnabled - New value for the property.public ALBHTTPApplicationProfile.Builder setServerSideRedirectToHttps(java.lang.Boolean serverSideRedirectToHttps)
serverSideRedirectToHttps - New value for the property.public ALBHTTPApplicationProfile.Builder setSslClientCertificateAction(ALBSSLClientCertificateAction sslClientCertificateAction)
sslClientCertificateAction - New value for the property.public ALBHTTPApplicationProfile.Builder setSslClientCertificateMode(java.lang.String sslClientCertificateMode)
sslClientCertificateMode - New value for the property.public ALBHTTPApplicationProfile.Builder setUseAppKeepaliveTimeout(java.lang.Boolean useAppKeepaliveTimeout)
useAppKeepaliveTimeout - New value for the property.public ALBHTTPApplicationProfile.Builder setWebsocketsEnabled(java.lang.Boolean websocketsEnabled)
websocketsEnabled - New value for the property.public ALBHTTPApplicationProfile.Builder setxForwardedProtoEnabled(java.lang.Boolean xForwardedProtoEnabled)
xForwardedProtoEnabled - New value for the property.public ALBHTTPApplicationProfile.Builder setXffAlternateName(java.lang.String xffAlternateName)
xffAlternateName - New value for the property.public ALBHTTPApplicationProfile.Builder setXffEnabled(java.lang.Boolean xffEnabled)
xffEnabled - New value for the property.public ALBHTTPApplicationProfile build()