Top Description Inners Fields Constructors Methods
org.eclipse.jetty.http2

public final Enum CloseState

extends Enum<CloseState>
Class Inheritance

The set of close states for a stream or a session.
               rcv hc
NOT_CLOSED ---------------> REMOTELY_CLOSED
     |                             |
  gen|                             |gen
   hc|                             |hc
     |                             |
     v              rcv hc         v
LOCALLY_CLOSING --------------> CLOSING
     |                             |
  snd|                             |gen
   hc|                             |hc
     |                             |
     v              rcv hc         v
LOCALLY_CLOSED ----------------> CLOSED

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
public static final CloseState
CLOSED

Fully closed.

public static final CloseState
CLOSING

A half-close frame has been received and a half-close frame has been generated, but not yet sent.

public static final CloseState
LOCALLY_CLOSED

A half-close frame has been generated and sent.

public static final CloseState
LOCALLY_CLOSING

A half-close frame has been generated.

public static final CloseState
NOT_CLOSED

Fully open.

public static final CloseState
REMOTELY_CLOSED

A half-close frame has been received.

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

CLOSEDback to summary
public static final CloseState CLOSED

Fully closed.

CLOSINGback to summary
public static final CloseState CLOSING

A half-close frame has been received and a half-close frame has been generated, but not yet sent.

LOCALLY_CLOSEDback to summary
public static final CloseState LOCALLY_CLOSED

A half-close frame has been generated and sent.

LOCALLY_CLOSINGback to summary
public static final CloseState LOCALLY_CLOSING

A half-close frame has been generated.

NOT_CLOSEDback to summary
public static final CloseState NOT_CLOSED

Fully open.

REMOTELY_CLOSEDback to summary
public static final CloseState REMOTELY_CLOSED

A half-close frame has been received.

Constructor Detail

CloseStateback to summary
private CloseState()

Method Detail

valueOfback to summary
public static CloseState valueOf(String name)
valuesback to summary
public static CloseState[] values()
org.eclipse.jetty.http2 back to summary

public final Enum CloseState.Event

extends Enum<CloseState.Event>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final CloseState.Event
public static final CloseState.Event
public static final CloseState.Event

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

AFTER_SENDback to summary
public static final CloseState.Event AFTER_SEND
BEFORE_SENDback to summary
public static final CloseState.Event BEFORE_SEND
RECEIVEDback to summary
public static final CloseState.Event RECEIVED

Constructor Detail

Eventback to summary
private Event()

Method Detail

valueOfback to summary
public static CloseState.Event valueOf(String name)
valuesback to summary
public static CloseState.Event[] values()