Module swim.io
Package swim.io

Class IpSettings

  • All Implemented Interfaces:
    Debug

    public class IpSettings
    extends Object
    implements Debug
    IP Socket configuration parameters.
    • Method Detail

      • tcpSettings

        public TcpSettings tcpSettings()
        Returns the TCP socket configuration.
      • tcpSettings

        public IpSettings tcpSettings​(TcpSettings tcpSettings)
        Returns a copy of these IpSettings configured with the given tcpSettings.
      • tlsSettings

        public TlsSettings tlsSettings()
        Returns the TLS socket configuration.
      • tlsSettings

        public IpSettings tlsSettings​(TlsSettings tlsSettings)
        Returns a copy of these IpSettings configured with the given tlsSettings.
      • copy

        protected IpSettings copy​(TcpSettings tcpSettings,
                                  TlsSettings tlsSettings)
        Returns a new IpSettings instance with the given options. Subclasses may override this method to ensure the proper class is instantiated when updating settings.
      • toValue

        public Value toValue()
        Returns a structural Value representing these IpSettings.
      • canEqual

        public boolean canEqual​(Object other)
        Returns true if these IpSettings can possibly equal some other object.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> Output<T> debug​(Output<T> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Returns:
        the continuation of the output.
      • standard

        public static IpSettings standard()
        Returns the default IpSettings instance.
      • form

        @Kind
        public static Form<IpSettings> form()
        Returns the structural Form of IpSettings.