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