Package httpserver.handlers
Class SessionMethodPathRouting<T>
java.lang.Object
httpserver.handlers.SessionMethodPathRouting<T>
- All Implemented Interfaces:
SessionHttpHandler<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete(String path, SessionHttpHandler handler) fallback(SessionHttpHandler fallback) get(String path, SessionHttpHandler handler) voidhandleRequest(T session, HttpServerExchange exchange) head(String path, SessionHttpHandler handler) patch(String path, SessionHttpHandler handler) post(String path, SessionHttpHandler handler) put(String path, SessionHttpHandler handler) static SessionMethodPathRouting
-
Constructor Details
-
SessionMethodPathRouting
public SessionMethodPathRouting()
-
-
Method Details
-
sessionRouting
-
fallback
-
head
-
get
-
put
-
post
-
patch
-
delete
-
handleRequest
- Specified by:
handleRequestin interfaceSessionHttpHandler<T>- Throws:
Exception
-