Class WebSocketApplication.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • applicationClass

        public WebSocketApplication.Builder applicationClass​(Class<? extends javax.websocket.server.ServerApplicationConfig> applicationClass)
        Set an application class in the builder.
        Parameters:
        applicationClass - The application class.
        Returns:
        The builder.
      • programmaticEndpoint

        public WebSocketApplication.Builder programmaticEndpoint​(Class<? extends javax.websocket.Endpoint> programmaticEndpoint)
        Add single programmatic endpoint.
        Parameters:
        programmaticEndpoint - Programmatic endpoint.
        Returns:
        The builder.
      • annotatedEndpoint

        public WebSocketApplication.Builder annotatedEndpoint​(Class<?> annotatedEndpoint)
        Add single annotated endpoint.
        Parameters:
        annotatedEndpoint - Annotated endpoint.
        Returns:
        The builder.
      • extension

        public WebSocketApplication.Builder extension​(javax.websocket.Extension extension)
        Add single extension.
        Parameters:
        extension - Extension.
        Returns:
        The builder.