Class RequestHandler


  • public class RequestHandler
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RequestHandler​(String rootPath, org.msync.spring_boost.Boost boost)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> httpRequestHandler​(org.springframework.web.reactive.function.server.ServerRequest request)  
      reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> startNreplHandler​(org.springframework.web.reactive.function.server.ServerRequest request)
      Endpoint to request starting of the nrepl-server
      reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> stopNreplHandler​(org.springframework.web.reactive.function.server.ServerRequest request)
      Endpoint to request stopping of the nrepl-server
      org.springframework.web.reactive.socket.WebSocketHandler webSocketSessionHandler()  
    • Constructor Detail

      • RequestHandler

        public RequestHandler​(String rootPath,
                              org.msync.spring_boost.Boost boost)
    • Method Detail

      • startNreplHandler

        public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> startNreplHandler​(org.springframework.web.reactive.function.server.ServerRequest request)
        Endpoint to request starting of the nrepl-server
        Parameters:
        request - - The request object
        Returns:
        void
      • stopNreplHandler

        public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> stopNreplHandler​(org.springframework.web.reactive.function.server.ServerRequest request)
        Endpoint to request stopping of the nrepl-server
        Parameters:
        request - - The request object
        Returns:
        void
      • httpRequestHandler

        public reactor.core.publisher.Mono<org.springframework.web.reactive.function.server.ServerResponse> httpRequestHandler​(org.springframework.web.reactive.function.server.ServerRequest request)
        Parameters:
        request - - ServerRequest object as initialized by Spring
        Returns:
        - The response
      • webSocketSessionHandler

        public org.springframework.web.reactive.socket.WebSocketHandler webSocketSessionHandler()