   [webserver-context :- ServerContext
    handlers :- websockets/WebsocketHandlers
    path :- schema/Str
-   enable-trailing-slash-redirect?
+   enable-trailing-slash-redirect? :- schema/Bool
    normalize-request-uri? :- schema/Bool]
   (let [handler (handler-maybe-wrapped-with-normalized-uri
                  (websockets/websocket-handler handlers)

  add-handler :- ContextHandler
  [webserver-context :- ServerContext
   handler :- ContextHandler
   enable-trailing-slash-redirect?]
  (.setAllowNullPathInfo handler (not enable-trailing-slash-redirect?))
  (.addHandler (:handlers webserver-context) handler)
  ;; If this handler is being added after the server has been started, we

  [webserver-context :- ServerContext
   war :- schema/Str
   path :- schema/Str
   disable-redirects-no-slash? :- schema/Bool
   normalize-request-uri? :- schema/Bool]
  (let [handler (doto (WebAppContext.)
                  (.setContextPath path)
