类的使用
xyz.xiezc.ioc.starter.starter.web.common.ContentType
-
使用ContentType的程序包 程序包 说明 xyz.xiezc.ioc.starter.starter.web xyz.xiezc.ioc.starter.starter.web.common xyz.xiezc.ioc.starter.starter.web.converter -
-
xyz.xiezc.ioc.starter.starter.web中ContentType的使用
类型参数类型为ContentType的xyz.xiezc.ioc.starter.starter.web中的字段 修饰符和类型 字段 说明 static Map<ContentType,HttpMessageConverter>DispatcherHandler. httpMessageConverterMap返回ContentType的xyz.xiezc.ioc.starter.starter.web中的方法 修饰符和类型 方法 说明 ContentTypeDispatcherHandler. getContentType(HttpRequest httpRequest) -
xyz.xiezc.ioc.starter.starter.web.common中ContentType的使用
返回ContentType的xyz.xiezc.ioc.starter.starter.web.common中的方法 修饰符和类型 方法 说明 static ContentTypeContentType. get(String body)从请求参数的body中判断请求的Content-Type类型,支持的类型有:static ContentTypeContentType. getByValue(String value)根据枚举的value中获取枚举的对象static ContentTypeContentType. valueOf(String name)返回带有指定名称的该类型的枚举常量。static ContentType[]ContentType. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。 -
xyz.xiezc.ioc.starter.starter.web.converter中ContentType的使用
返回变量类型为ContentType的类型的xyz.xiezc.ioc.starter.starter.web.converter中的方法 修饰符和类型 方法 说明 List<ContentType>HttpMessageConverter. getSupportContentType()List<ContentType>JsonHttpMessageConverter. getSupportContentType()List<ContentType>MultipartFormHttpMessageConverter. getSupportContentType()List<ContentType>QueryStrHttpMessageConverter. getSupportContentType()List<ContentType>UrlencodedFormHttpMessageConverter. getSupportContentType()参数类型为ContentType的xyz.xiezc.ioc.starter.starter.web.converter中的方法 修饰符和类型 方法 说明 Object[]HttpMessageConverter. doRead(MethodDefinition methodDefinition, ContentType contentType, HttpRequest request)Object[]JsonHttpMessageConverter. doRead(MethodDefinition methodDefinition, ContentType contentType, HttpRequest request)Object[]MultipartFormHttpMessageConverter. doRead(MethodDefinition methodDefinition, ContentType contentType, HttpRequest request)Object[]QueryStrHttpMessageConverter. doRead(MethodDefinition methodDefinition, ContentType contentType, HttpRequest request)Object[]UrlencodedFormHttpMessageConverter. doRead(MethodDefinition methodDefinition, ContentType contentType, HttpRequest request)
-