java.lang.Object
swim.io.http.HttpSettings
- All Implemented Interfaces:
Debug
HTTP configuration parameters.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif theseHttpSettingscan possibly equal someotherobject.protected HttpSettingscopy(IpSettings ipSettings, int maxMessageSize) Returns a newHttpSettingsinstance with the given options.static HttpSettingscreate(IpSettings ipSettings) <T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanstatic Form<HttpSettings>form()Returns the structuralFormofHttpSettings.inthashCode()final IpSettingsReturns the socket configuration.ipSettings(IpSettings ipSettings) Returns a copy of theseHttpSettingsconfigured with the givenipSettings.intReturns the maximum size in bytes on the wire of an HTTP request or response message + payload.maxMessageSize(int maxMessageSize) Returns a copy of theseHttpSettingsconfigured with the givenmaxMessageSizelimit on HTTP message + payload sizes.static HttpSettingsstandard()Returns the defaultHttpSettingsinstance.final TcpSettingsReturns the TCP socket configuration.tcpSettings(TcpSettings tcpSettings) Returns a copy of theseHttpSettingsconfigured with the giventcpSettings.final TlsSettingsReturns the TLS socket configuration.tlsSettings(TlsSettings tlsSettings) Returns a copy of theseHttpSettingsconfigured with the giventlsSettings.toString()toValue()Returns a structuralValuerepresenting theseHttpSettings.
-
Field Details
-
ipSettings
-
maxMessageSize
protected final int maxMessageSize
-
-
Constructor Details
-
HttpSettings
-
-
Method Details
-
ipSettings
Returns the socket configuration. -
ipSettings
Returns a copy of theseHttpSettingsconfigured with the givenipSettings. -
tcpSettings
Returns the TCP socket configuration. -
tcpSettings
Returns a copy of theseHttpSettingsconfigured with the giventcpSettings. -
tlsSettings
Returns the TLS socket configuration. -
tlsSettings
Returns a copy of theseHttpSettingsconfigured with the giventlsSettings. -
maxMessageSize
public int maxMessageSize()Returns the maximum size in bytes on the wire of an HTTP request or response message + payload. -
maxMessageSize
Returns a copy of theseHttpSettingsconfigured with the givenmaxMessageSizelimit on HTTP message + payload sizes. -
copy
Returns a newHttpSettingsinstance with the given options. Subclasses may override this method to ensure the proper class is instantiated when updating settings. -
toValue
Returns a structuralValuerepresenting theseHttpSettings. -
canEqual
Returnstrueif theseHttpSettingscan possibly equal someotherobject. -
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
standard
Returns the defaultHttpSettingsinstance. -
create
-
form
Returns the structuralFormofHttpSettings.
-