Class RestHttpHandler
java.lang.Object
org.jobrunr.dashboard.server.AbstractHttpExchangeHandler
org.jobrunr.dashboard.server.http.RestHttpHandler
- All Implemented Interfaces:
HttpHandler
,AutoCloseable
,HttpExchangeHandler
- Direct Known Subclasses:
JobRunrApiHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(String url, HttpRequestHandler httpRequestHandler) void
get
(String url, HttpRequestHandler httpRequestHandler) void
handle
(HttpExchange httpExchange) void
head
(String url, HttpRequestHandler httpRequestHandler) void
post
(String url, HttpRequestHandler httpRequestHandler) void
put
(String url, HttpRequestHandler httpRequestHandler) <T extends Exception>
voidwithExceptionMapping
(Class<T> clazz, ExceptionHandler exceptionHandler) Methods inherited from class org.jobrunr.dashboard.server.AbstractHttpExchangeHandler
close
-
Constructor Details
-
RestHttpHandler
-
-
Method Details
-
getContextPath
-
get
-
put
-
post
-
delete
-
head
-
withExceptionMapping
public <T extends Exception> void withExceptionMapping(Class<T> clazz, ExceptionHandler exceptionHandler) -
handle
-