Class RoutingBuilder
java.lang.Object
net.uiqui.embedhttp.api.impl.RoutingBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete(String pathPattern, HttpRequestHandler handler) Registers a handler for DELETE method and path pattern.get(String pathPattern, HttpRequestHandler handler) Registers a handler for GET method and path pattern.getRoutesForMethod(HttpMethod method) head(String pathPattern, HttpRequestHandler handler) Registers a handler for HEAD method and path pattern.options(String pathPattern, HttpRequestHandler handler) Registers a handler for OPTIONS method and path pattern.patch(String pathPattern, HttpRequestHandler handler) Registers a handler for PATCH method and path pattern.post(String pathPattern, HttpRequestHandler handler) Registers a handler for POST method and path pattern.put(String pathPattern, HttpRequestHandler handler) Registers a handler for PUT method and path pattern.
-
Constructor Details
-
RoutingBuilder
public RoutingBuilder()
-
-
Method Details
-
get
Description copied from interface:RouterRegisters a handler for GET method and path pattern. -
post
Description copied from interface:RouterRegisters a handler for POST method and path pattern. -
put
Description copied from interface:RouterRegisters a handler for PUT method and path pattern. -
delete
Description copied from interface:RouterRegisters a handler for DELETE method and path pattern. -
head
Description copied from interface:RouterRegisters a handler for HEAD method and path pattern. -
options
Description copied from interface:RouterRegisters a handler for OPTIONS method and path pattern. -
patch
Description copied from interface:RouterRegisters a handler for PATCH method and path pattern. -
getRoutesForMethod
-