Top Description Fields Constructors Methods
org.apache.coyote.http2

pack-priv Class ConnectionSettingsLocal

extends ConnectionSettingsBase<IllegalArgumentException>
Class Inheritance
Imports
java.util.Map

Represents the local connection settings i.e. the settings the client is expected to use when communicating with the server. There will be a delay between calling a setter and the setting taking effect at the client. When a setter is called, the new value is added to the set of pending settings. Once the ACK is received, the new value is moved to the current settings. While waiting for the ACK, the getters will return the most lenient / generous / relaxed of the current setting and the pending setting. This class does not validate the values passed to the setters. If an invalid value is used the client will respond (almost certainly by closing the connection) as defined in the HTTP/2 specification.

Field Summary

Modifier and TypeField and Description
private static final String
private boolean
Inherited from org.apache.coyote.http2.ConnectionSettingsBase:
currentDEFAULT_ENABLE_PUSHDEFAULT_HEADER_TABLE_SIZEDEFAULT_INITIAL_WINDOW_SIZEDEFAULT_MAX_CONCURRENT_STREAMSDEFAULT_MAX_FRAME_SIZEDEFAULT_MAX_HEADER_LIST_SIZEDEFAULT_NO_RFC7540_PRIORITIESMAX_HEADER_TABLE_SIZEMAX_MAX_FRAME_SIZEMAX_WINDOW_SIZEMIN_MAX_FRAME_SIZEpendingUNLIMITED

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv final synchronized boolean
ack()

private void
pack-priv final String
pack-priv final synchronized byte[]
pack-priv final synchronized void
pack-priv final void
Inherited from org.apache.coyote.http2.ConnectionSettingsBase:
getEnablePushgetHeaderTableSizegetInitialWindowSizegetMaxConcurrentStreamsgetMaxFrameSizegetMaxHeaderListSizeset

Field Detail

ENDPOINT_NAMEback to summary
private static final String ENDPOINT_NAME
sendInProgressback to summary
private boolean sendInProgress

Constructor Detail

ConnectionSettingsLocalback to summary
pack-priv ConnectionSettingsLocal(String connectionId)

Method Detail

ackback to summary
pack-priv final synchronized boolean ack()
checkSendback to summary
private void checkSend()
getEndpointNameback to summary
pack-priv final String getEndpointName()

Implements abstract org.apache.coyote.http2.ConnectionSettingsBase.getEndpointName.

Annotations
@Override
getSettingsFrameForPendingback to summary
pack-priv final synchronized byte[] getSettingsFrameForPending()
setback to summary
pack-priv final synchronized void set(Setting setting, Long value)

Overrides org.apache.coyote.http2.ConnectionSettingsBase.set.

Annotations
@Override
throwExceptionback to summary
pack-priv final void throwException(String msg, Http2Error error) throws IllegalArgumentException

Implements abstract org.apache.coyote.http2.ConnectionSettingsBase.throwException.

Annotations
@Override