Top Description Methods
reactor.netty5.http.client

public Interface HttpClientInfos

extends HttpInfos
Known Direct Subinterfaces
reactor.netty5.http.client.HttpClientRequest, reactor.netty5.http.client.HttpClientResponse
Imports
io.netty5.handler.codec.http.headers.HttpHeaders, .HttpSetCookie, reactor.netty5.http.HttpInfos, reactor.util.annotation.Nullable, reactor.util.context.ContextView, java.util.Map, .Set

An Http Reactive Channel with several accessors related to HTTP flow: resource URL, information for redirections etc...
Since
0.9.3

Method Summary

Modifier and TypeMethod and Description
public Map<CharSequence, Set<HttpSetCookie>>

Returns:

Resolved HTTP cookies
cookies
()

Returns resolved HTTP cookies.

public ContextView

Returns:

the current user ContextView
currentContextView
()

Return the current ContextView associated with the Mono/Flux exposed via HttpClient.ResponseReceiver#response() or related terminating API.

public String[]

Returns:

the previous redirections or empty array
redirectedFrom
()

Return the previous redirections or empty array

public HttpHeaders

Returns:

outbound headers to be sent
requestHeaders
()

Return outbound headers to be sent

public String

Returns:

The URL of the retrieved resource. This method can return null in case there was an error before the client could create the URL
resourceUrl
()

Return the fully qualified URL of the requested resource.

Inherited from reactor.netty5.http.HttpInfos:
fullPathisKeepAliveisWebsocketmethodpathrequestIduriversion

Method Detail

cookiesback to summary
public Map<CharSequence, Set<HttpSetCookie>> cookies()

Returns resolved HTTP cookies.

Returns:Map<CharSequence, Set<HttpSetCookie>>

Resolved HTTP cookies

currentContextViewback to summary
public ContextView currentContextView()

Return the current ContextView associated with the Mono/Flux exposed via HttpClient.ResponseReceiver#response() or related terminating API.

Returns:ContextView

the current user ContextView

Since
1.0.0
redirectedFromback to summary
public String[] redirectedFrom()

Return the previous redirections or empty array

Returns:String[]

the previous redirections or empty array

requestHeadersback to summary
public HttpHeaders requestHeaders()

Return outbound headers to be sent

Returns:HttpHeaders

outbound headers to be sent

resourceUrlback to summary
public String resourceUrl()

Return the fully qualified URL of the requested resource. In case of redirects, return the URL the last redirect led to.

Returns:String

The URL of the retrieved resource. This method can return null in case there was an error before the client could create the URL

Annotations
@Nullable