java.lang.Object
swim.io.http.HttpSettings
- All Implemented Interfaces:
Debug
HTTP configuration parameters.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if theseHttpSettings
can possibly equal someother
object.protected HttpSettings
copy
(IpSettings ipSettings, int maxMessageSize) Returns a newHttpSettings
instance with the given options.static HttpSettings
create
(IpSettings ipSettings) <T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
static Form<HttpSettings>
form()
Returns the structuralForm
ofHttpSettings
.int
hashCode()
final IpSettings
Returns the socket configuration.ipSettings
(IpSettings ipSettings) Returns a copy of theseHttpSettings
configured with the givenipSettings
.int
Returns the maximum size in bytes on the wire of an HTTP request or response message + payload.maxMessageSize
(int maxMessageSize) Returns a copy of theseHttpSettings
configured with the givenmaxMessageSize
limit on HTTP message + payload sizes.static HttpSettings
standard()
Returns the defaultHttpSettings
instance.final TcpSettings
Returns the TCP socket configuration.tcpSettings
(TcpSettings tcpSettings) Returns a copy of theseHttpSettings
configured with the giventcpSettings
.final TlsSettings
Returns the TLS socket configuration.tlsSettings
(TlsSettings tlsSettings) Returns a copy of theseHttpSettings
configured with the giventlsSettings
.toString()
toValue()
Returns a structuralValue
representing theseHttpSettings
.
-
Field Details
-
ipSettings
-
maxMessageSize
protected final int maxMessageSize
-
-
Constructor Details
-
HttpSettings
-
-
Method Details
-
ipSettings
Returns the socket configuration. -
ipSettings
Returns a copy of theseHttpSettings
configured with the givenipSettings
. -
tcpSettings
Returns the TCP socket configuration. -
tcpSettings
Returns a copy of theseHttpSettings
configured with the giventcpSettings
. -
tlsSettings
Returns the TLS socket configuration. -
tlsSettings
Returns a copy of theseHttpSettings
configured 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 theseHttpSettings
configured with the givenmaxMessageSize
limit on HTTP message + payload sizes. -
copy
Returns a newHttpSettings
instance with the given options. Subclasses may override this method to ensure the proper class is instantiated when updating settings. -
toValue
Returns a structuralValue
representing theseHttpSettings
. -
canEqual
Returnstrue
if theseHttpSettings
can possibly equal someother
object. -
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
standard
Returns the defaultHttpSettings
instance. -
create
-
form
Returns the structuralForm
ofHttpSettings
.
-