Interface Http2ClientSettings
- All Known Subinterfaces:
Http2ClientSettings
- All Known Implementing Classes:
Http2ClientSettings.Http2ClientSettingsImpl
public interface Http2ClientSettings
-
Method Summary
Modifier and TypeMethodDescriptionintintintbooleanintintThe maximum size of a decoded header list that this endpoint is prepared to accept, in bytes.intintwithBaseConnectionBackoff(Duration backoff) withCompletionTimeout(Duration timeout) withIncomingConnectionLevelBufferSize(int newValue) withIncomingStreamLevelBufferSize(int newValue) withLogFrames(boolean shouldLog) withMaxConcurrentStreams(int newValue) withMaxConnectionBackoff(Duration backoff) withMaxHeaderListSize(int newValue) withMaxPersistentAttempts(int max) withOutgoingControlFrameBufferSize(int newValue) withPingInterval(Duration interval) withPingTimeout(Duration timeout) withRequestEntityChunkSize(int newValue)
-
Method Details
-
getBaseConnectionBackoff
Duration getBaseConnectionBackoff() -
getCompletionTimeout
Duration getCompletionTimeout() -
getMaxConnectionBackoff
Duration getMaxConnectionBackoff() -
getMaxPersistentAttempts
int getMaxPersistentAttempts() -
getPingInterval
Duration getPingInterval() -
getPingTimeout
Duration getPingTimeout() -
incomingConnectionLevelBufferSize
int incomingConnectionLevelBufferSize() -
incomingStreamLevelBufferSize
int incomingStreamLevelBufferSize() -
logFrames
boolean logFrames() -
maxConcurrentStreams
int maxConcurrentStreams() -
maxHeaderListSize
int maxHeaderListSize()The maximum size of a decoded header list that this endpoint is prepared to accept, in bytes. The value is advertised to the peer via SETTINGS_MAX_HEADER_LIST_SIZE and the same limit is applied to the accumulated header block fragments of a HEADERS frame and its CONTINUATION frames.- Returns:
- (undocumented)
- Since:
- 2.0.0
-
outgoingControlFrameBufferSize
int outgoingControlFrameBufferSize() -
requestEntityChunkSize
int requestEntityChunkSize() -
withBaseConnectionBackoff
-
withCompletionTimeout
-
withIncomingConnectionLevelBufferSize
-
withIncomingStreamLevelBufferSize
-
withLogFrames
-
withMaxConcurrentStreams
-
withMaxConnectionBackoff
-
withMaxHeaderListSize
- Parameters:
newValue- (undocumented)- Returns:
- (undocumented)
- Since:
- 2.0.0
-
withMaxPersistentAttempts
-
withOutgoingControlFrameBufferSize
-
withPingInterval
-
withPingTimeout
-
withRequestEntityChunkSize
-