Enum Class的使用
cool.scx.mvc.ScxMvcRequestInfo.ContentType
-
cool.scx.mvc中ScxMvcRequestInfo.ContentType的使用
修饰符和类型方法说明ScxMvcRequestInfo.contentType()ScxMvcRequestInfo.initContentType(io.vertx.ext.web.RoutingContext ctx) initContentType.Returns the enum constant of this class with the specified name.static ScxMvcRequestInfo.ContentType[]ScxMvcRequestInfo.ContentType.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明static com.fasterxml.jackson.databind.JsonNodeScxMvcRequestInfo.initBody(io.vertx.ext.web.RoutingContext ctx, ScxMvcRequestInfo.ContentType contentType) 根据不同的 ContentType 以不同的逻辑初始化 body