Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CachingWebClientOptions

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

addCachedMethod

  • Configure the HTTP methods that can be cached.

    Parameters

    • cachedMethods: HttpMethod

    Returns CachingWebClientOptions

addCachedStatusCode

  • Configure the status codes that can be cached.

    Parameters

    • cachedStatusCodes: number

    Returns CachingWebClientOptions

addCrlPath

addCrlValue

addEnabledCipherSuite

addEnabledSecureTransportProtocol

addNonProxyHost

getActivityLogDataFormat

  • getActivityLogDataFormat(): any

getAlpnVersions

  • getAlpnVersions(): HttpVersion[]

getCachedMethods

  • getCachedMethods(): HttpMethod[]
  • Configure the HTTP methods that can be cached.

    Returns HttpMethod[]

getCachedStatusCodes

  • getCachedStatusCodes(): number[]
  • Configure the status codes that can be cached.

    Returns number[]

getConnectTimeout

  • getConnectTimeout(): number

getCrlPaths

  • getCrlPaths(): string[]

getCrlValues

  • getCrlValues(): Buffer[]

getDecoderInitialBufferSize

  • getDecoderInitialBufferSize(): number

getDefaultHost

  • getDefaultHost(): string

getDefaultPort

  • getDefaultPort(): number

getEnabledCipherSuites

  • getEnabledCipherSuites(): string[]

getEnabledSecureTransportProtocols

  • getEnabledSecureTransportProtocols(): string[]

getHttp2ConnectionWindowSize

  • getHttp2ConnectionWindowSize(): number

getHttp2KeepAliveTimeout

  • getHttp2KeepAliveTimeout(): number

getHttp2MaxPoolSize

  • getHttp2MaxPoolSize(): number

getHttp2MultiplexingLimit

  • getHttp2MultiplexingLimit(): number

getIdleTimeout

  • getIdleTimeout(): number

getIdleTimeoutUnit

  • getIdleTimeoutUnit(): any

getInitialSettings

  • getInitialSettings(): Http2Settings

getJdkSslEngineOptions

  • getJdkSslEngineOptions(): JdkSSLEngineOptions

getKeepAliveTimeout

  • getKeepAliveTimeout(): number

getKeyStoreOptions

  • getKeyStoreOptions(): JksOptions

getLocalAddress

  • getLocalAddress(): string

getLogActivity

  • getLogActivity(): boolean

getMaxChunkSize

  • getMaxChunkSize(): number

getMaxHeaderSize

  • getMaxHeaderSize(): number

getMaxInitialLineLength

  • getMaxInitialLineLength(): number

getMaxPoolSize

  • getMaxPoolSize(): number

getMaxRedirects

  • getMaxRedirects(): number

getMaxWaitQueueSize

  • getMaxWaitQueueSize(): number

getMaxWebSocketFrameSize

  • getMaxWebSocketFrameSize(): number

getMaxWebSocketMessageSize

  • getMaxWebSocketMessageSize(): number

getMaxWebSockets

  • getMaxWebSockets(): number

getMetricsName

  • getMetricsName(): string

getName

  • getName(): string
  • Returns string

getNonProxyHosts

  • getNonProxyHosts(): string[]

getOpenSslEngineOptions

  • getOpenSslEngineOptions(): OpenSSLEngineOptions

getPemKeyCertOptions

  • getPemKeyCertOptions(): PemKeyCertOptions

getPemTrustOptions

  • getPemTrustOptions(): PemTrustOptions

getPfxKeyCertOptions

  • getPfxKeyCertOptions(): PfxOptions

getPfxTrustOptions

  • getPfxTrustOptions(): PfxOptions

getPipeliningLimit

  • getPipeliningLimit(): number

getPoolCleanerPeriod

  • getPoolCleanerPeriod(): number

getPoolEventLoopSize

  • getPoolEventLoopSize(): number

getProtocolVersion

  • getProtocolVersion(): HttpVersion

getProxyOptions

  • getProxyOptions(): ProxyOptions

getReadIdleTimeout

  • getReadIdleTimeout(): number

getReceiveBufferSize

  • getReceiveBufferSize(): number

getSendBufferSize

  • getSendBufferSize(): number

getSoLinger

  • getSoLinger(): number

getSslEngineOptions

  • getSslEngineOptions(): any

getSslHandshakeTimeout

  • getSslHandshakeTimeout(): number

getSslHandshakeTimeoutUnit

  • getSslHandshakeTimeoutUnit(): any

getTcpUserTimeout

  • getTcpUserTimeout(): number

getTemplateExpandOptions

  • getTemplateExpandOptions(): ExpandOptions

getTracingPolicy

  • getTracingPolicy(): TracingPolicy

getTrafficClass

  • getTrafficClass(): number

getTrustOptions

  • getTrustOptions(): any

getTrustStoreOptions

  • getTrustStoreOptions(): JksOptions

getTryUsePerMessageWebSocketCompression

  • getTryUsePerMessageWebSocketCompression(): boolean

getTryWebSocketDeflateFrameCompression

  • getTryWebSocketDeflateFrameCompression(): boolean

getUserAgent

  • getUserAgent(): string
  • Sets the Web Client user agent header. Defaults to Vert.x-WebClient/<version>.

    Returns string

getWebSocketClosingTimeout

  • getWebSocketClosingTimeout(): number

getWebSocketCompressionAllowClientNoContext

  • getWebSocketCompressionAllowClientNoContext(): boolean

getWebSocketCompressionLevel

  • getWebSocketCompressionLevel(): number

getWebSocketCompressionRequestServerNoContext

  • getWebSocketCompressionRequestServerNoContext(): boolean

getWriteIdleTimeout

  • getWriteIdleTimeout(): number

isFollowRedirects

  • isFollowRedirects(): boolean
  • Configure the default behavior of the client to follow HTTP 30x redirections.

    Returns boolean

isForceSni

  • isForceSni(): boolean

isHttp2ClearTextUpgrade

  • isHttp2ClearTextUpgrade(): boolean

isHttp2ClearTextUpgradeWithPreflightRequest

  • isHttp2ClearTextUpgradeWithPreflightRequest(): boolean

isKeepAlive

  • isKeepAlive(): boolean

isPipelining

  • isPipelining(): boolean

isReuseAddress

  • isReuseAddress(): boolean

isReusePort

  • isReusePort(): boolean

isSendUnmaskedFrames

  • isSendUnmaskedFrames(): boolean

isShared

  • isShared(): boolean

isSsl

  • isSsl(): boolean
  • Returns boolean

isTcpCork

  • isTcpCork(): boolean

isTcpFastOpen

  • isTcpFastOpen(): boolean

isTcpKeepAlive

  • isTcpKeepAlive(): boolean

isTcpNoDelay

  • isTcpNoDelay(): boolean

isTcpQuickAck

  • isTcpQuickAck(): boolean

isTrustAll

  • isTrustAll(): boolean

isTryUseCompression

  • isTryUseCompression(): boolean

isUseAlpn

  • isUseAlpn(): boolean

isUserAgentEnabled

  • isUserAgentEnabled(): boolean
  • Sets whether the Web Client should send a user agent header. Defaults to true.

    Returns boolean

isVaryCachingEnabled

  • isVaryCachingEnabled(): boolean
  • Returns boolean

isVerifyHost

  • isVerifyHost(): boolean

setActivityLogDataFormat

setAlpnVersions

setCachedMethods

  • Configure the HTTP methods that can be cached.

    Parameters

    • cachedMethods: HttpMethod[]

    Returns CachingWebClientOptions

setCachedStatusCodes

  • Configure the status codes that can be cached.

    Parameters

    • cachedStatusCodes: number[]

    Returns CachingWebClientOptions

setConnectTimeout

setDecoderInitialBufferSize

setDefaultHost

setDefaultPort

setEnableVaryCaching

  • Configure the client cache behavior for Vary responses.

    Parameters

    • enableVaryCaching: boolean

    Returns CachingWebClientOptions

setEnabledSecureTransportProtocols

setFollowRedirects

setForceSni

setHttp2ClearTextUpgrade

setHttp2ClearTextUpgradeWithPreflightRequest

  • setHttp2ClearTextUpgradeWithPreflightRequest(http2ClearTextUpgradeWithPreflightRequest: boolean): CachingWebClientOptions

setHttp2ConnectionWindowSize

setHttp2KeepAliveTimeout

setHttp2MaxPoolSize

setHttp2MultiplexingLimit

setIdleTimeout

setIdleTimeoutUnit

setInitialSettings

setJdkSslEngineOptions

setKeepAlive

setKeepAliveTimeout

setKeyCertOptions

setKeyStoreOptions

setLocalAddress

setLogActivity

setMaxChunkSize

setMaxHeaderSize

setMaxInitialLineLength

setMaxPoolSize

setMaxRedirects

setMaxWaitQueueSize

setMaxWebSocketFrameSize

setMaxWebSocketMessageSize

setMaxWebSockets

setMetricsName

setName

setNonProxyHosts

setOpenSslEngineOptions

setPemKeyCertOptions

setPemTrustOptions

setPfxKeyCertOptions

setPfxTrustOptions

setPipelining

setPipeliningLimit

setPoolCleanerPeriod

setPoolEventLoopSize

setProtocolVersion

setProxyOptions

setReadIdleTimeout

setReceiveBufferSize

setReuseAddress

setReusePort

setSendBufferSize

setSendUnmaskedFrames

setShared

setSoLinger

setSsl

setSslEngineOptions

setSslHandshakeTimeout

setSslHandshakeTimeoutUnit

setTcpCork

setTcpFastOpen

setTcpKeepAlive

setTcpNoDelay

setTcpQuickAck

setTcpUserTimeout

setTemplateExpandOptions

setTracingPolicy

setTrafficClass

setTrustAll

setTrustOptions

setTrustStoreOptions

setTryUseCompression

setTryUsePerFrameWebSocketCompression

setTryUsePerMessageWebSocketCompression

setUseAlpn

setUserAgent

setUserAgentEnabled

setVerifyHost

setWebSocketClosingTimeout

setWebSocketCompressionAllowClientNoContext

  • setWebSocketCompressionAllowClientNoContext(webSocketCompressionAllowClientNoContext: boolean): CachingWebClientOptions

setWebSocketCompressionLevel

setWebSocketCompressionRequestServerNoContext

  • setWebSocketCompressionRequestServerNoContext(webSocketCompressionRequestServerNoContext: boolean): CachingWebClientOptions

setWriteIdleTimeout

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc