Class CombinedHandler

  • All Implemented Interfaces:
    io.javalin.http.Handler

    public class CombinedHandler
    extends java.lang.Object
    implements io.javalin.http.Handler
    Combined GET and SSE request handler. N.B. This based on an original idea/implementation found in Javalin's SseHandler.
    Author:
    rstein
    See Also:
    SseHandler
    • Constructor Summary

      Constructors 
      Constructor Description
      CombinedHandler​(io.javalin.http.Handler getHandler)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(io.javalin.http.Context ctx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CombinedHandler

        public CombinedHandler​(@NotNull
                               io.javalin.http.Handler getHandler)
    • Method Detail

      • handle

        public void handle​(io.javalin.http.Context ctx)
                    throws java.lang.Exception
        Specified by:
        handle in interface io.javalin.http.Handler
        Throws:
        java.lang.Exception