class JsonRequestParser extends java.lang.Object implements RequestParser
Takes a request with a JSON body and returns a domain object.
Constructor and description |
---|
JsonRequestParser(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Type Params | Return Type | Name and description |
---|---|---|
<T> |
T |
parseRequest(HttpServerRequest request, java.lang.Class<T> klass) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |