Package kos.core
Class Request
- java.lang.Object
-
- kos.core.Request
-
public class Request extends Object
Methods to read and parse data from the incoming request. Note: As these methods have been mainly created for internal API use, we strongly discourage developers to use these methods as it may change without further notice.
-
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TreadBody(io.vertx.ext.web.RoutingContext context, String name, Class<T> type)<T> TreadContext(io.vertx.ext.web.RoutingContext context, String name, Class<T> type)<T> TreadHeader(io.vertx.ext.web.RoutingContext context, String name, Class<T> type)<T> TreadParam(io.vertx.ext.web.RoutingContext context, String name, Class<T> type)
-
-
-
Method Detail
-
readParam
public <T> T readParam(io.vertx.ext.web.RoutingContext context, String name, Class<T> type)
-
readHeader
public <T> T readHeader(io.vertx.ext.web.RoutingContext context, String name, Class<T> type)
-
readBody
public <T> T readBody(io.vertx.ext.web.RoutingContext context, String name, Class<T> type)
-
-