org.springframework.boot.rsocket.server

Interface ConfigurableRSocketServerFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setAddress(java.net.InetAddress address)
      Set the specific network address that the server should bind to.
      void setFragmentSize(org.springframework.util.unit.DataSize fragmentSize)
      Specify the maximum transmission unit.
      void setPort(int port)
      Set the port that the server should listen on.
      void setSsl(Ssl ssl)
      Sets the SSL configuration that will be applied to the server's default connector.
      void setSslStoreProvider(SslStoreProvider sslStoreProvider)
      Sets a provider that will be used to obtain SSL stores.
      void setTransport(RSocketServer.Transport transport)
      Set the transport that the RSocket server should use.
    • Method Detail

      • setPort

        void setPort(int port)
        Set the port that the server should listen on. If not specified port '9898' will be used.
        Parameters:
        port - the port to set
      • setFragmentSize

        void setFragmentSize(org.springframework.util.unit.DataSize fragmentSize)
        Specify the maximum transmission unit. Frames larger than the specified fragmentSize are fragmented.
        Parameters:
        fragmentSize - the fragment size
        Since:
        2.4.0
      • setAddress

        void setAddress(java.net.InetAddress address)
        Set the specific network address that the server should bind to.
        Parameters:
        address - the address to set (defaults to null)
      • setTransport

        void setTransport(RSocketServer.Transport transport)
        Set the transport that the RSocket server should use.
        Parameters:
        transport - the transport protocol to use
      • setSsl

        void setSsl(Ssl ssl)
        Sets the SSL configuration that will be applied to the server's default connector.
        Parameters:
        ssl - the SSL configuration
      • setSslStoreProvider

        void setSslStoreProvider(SslStoreProvider sslStoreProvider)
        Sets a provider that will be used to obtain SSL stores.
        Parameters:
        sslStoreProvider - the SSL store provider