Top Description Fields Constructors Methods
reactor.netty.http.client

public sealed Enum HttpClientState

extends Enum<HttpClientState>
implements State
Class Inheritance
All Implemented Interfaces
reactor.netty.ConnectionObserver.State
Imports
reactor.netty.ConnectionObserver

Specific Http Client state observable by HttpClient#observe(ConnectionObserver).
Author
Stephane Maldini

Field Summary

Modifier and TypeField and Description
public static final HttpClientState
REQUEST_PREPARED

The request has been prepared and ready for I/O handler to be invoked.

public static final HttpClientState
REQUEST_SENT

The request has been sent.

public static final HttpClientState
RESPONSE_COMPLETED

The response fully received.

public static final HttpClientState
RESPONSE_INCOMPLETE

The request has been sent but the response has not been fully received and the connection has been prematurely closed.

public static final HttpClientState
RESPONSE_RECEIVED

The response status and headers have been received.

public static final HttpClientState
STREAM_CONFIGURED

Propagated when a stream is bound to a channelOperation and ready for user interaction.

public static final HttpClientState
UPGRADE_REJECTED

The H2C upgrade was unsuccessful due to the server not issuing with a 101 Switching Protocols response.

public static final HttpClientState
UPGRADE_SUCCESSFUL

The H2C upgrade was successful.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static HttpClientState
public static HttpClientState[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

REQUEST_PREPAREDback to summary
public static final HttpClientState REQUEST_PREPARED

The request has been prepared and ready for I/O handler to be invoked.

REQUEST_SENTback to summary
public static final HttpClientState REQUEST_SENT

The request has been sent.

RESPONSE_COMPLETEDback to summary
public static final HttpClientState RESPONSE_COMPLETED

The response fully received.

RESPONSE_INCOMPLETEback to summary
public static final HttpClientState RESPONSE_INCOMPLETE

The request has been sent but the response has not been fully received and the connection has been prematurely closed.

RESPONSE_RECEIVEDback to summary
public static final HttpClientState RESPONSE_RECEIVED

The response status and headers have been received.

STREAM_CONFIGUREDback to summary
public static final HttpClientState STREAM_CONFIGURED

Propagated when a stream is bound to a channelOperation and ready for user interaction.

UPGRADE_REJECTEDback to summary
public static final HttpClientState UPGRADE_REJECTED

The H2C upgrade was unsuccessful due to the server not issuing with a 101 Switching Protocols response. This may indicate that the server does not support H2C.

UPGRADE_SUCCESSFULback to summary
public static final HttpClientState UPGRADE_SUCCESSFUL

The H2C upgrade was successful.

Constructor Detail

HttpClientStateback to summary
private HttpClientState()

Method Detail

valueOfback to summary
public static HttpClientState valueOf(String name)
valuesback to summary
public static HttpClientState[] values()