public class Base64JsonHttpMessageConverter extends Object implements org.springframework.http.converter.HttpMessageConverter
| 构造器和说明 |
|---|
Base64JsonHttpMessageConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canRead(Class clazz,
org.springframework.http.MediaType mediaType) |
boolean |
canWrite(Class clazz,
org.springframework.http.MediaType mediaType) |
List<org.springframework.http.MediaType> |
getSupportedMediaTypes() |
Object |
read(Class clazz,
org.springframework.http.HttpInputMessage inputMessage) |
void |
write(Object object,
org.springframework.http.MediaType contentType,
org.springframework.http.HttpOutputMessage outputMessage) |
public boolean canRead(Class clazz, org.springframework.http.MediaType mediaType)
canRead 在接口中 org.springframework.http.converter.HttpMessageConverterpublic boolean canWrite(Class clazz, org.springframework.http.MediaType mediaType)
canWrite 在接口中 org.springframework.http.converter.HttpMessageConverterpublic List<org.springframework.http.MediaType> getSupportedMediaTypes()
getSupportedMediaTypes 在接口中 org.springframework.http.converter.HttpMessageConverterpublic Object read(Class clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotReadableException
read 在接口中 org.springframework.http.converter.HttpMessageConverterIOExceptionorg.springframework.http.converter.HttpMessageNotReadableExceptionpublic void write(Object object, org.springframework.http.MediaType contentType, org.springframework.http.HttpOutputMessage outputMessage) throws IOException, org.springframework.http.converter.HttpMessageNotWritableException
write 在接口中 org.springframework.http.converter.HttpMessageConverterIOExceptionorg.springframework.http.converter.HttpMessageNotWritableExceptionCopyright © 2023 onecode. All rights reserved.