com.github.datalking.web.http.converter.GenericHttpMessageConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-mvc Show documentation
Show all versions of play-mvc Show documentation
simple mvc framework based on java servlet.
The newest version!
package com.github.datalking.web.http.converter;
import com.github.datalking.web.http.HttpInputMessage;
import com.github.datalking.web.http.MediaType;
import java.io.IOException;
import java.lang.reflect.Type;
/**
* 读取并转换http请求信息的具体接口
*
* @author yaoo on 4/29/18
*/
public interface GenericHttpMessageConverter extends HttpMessageConverter {
boolean canRead(Type type, Class> contextClass, MediaType mediaType);
T read(Type type, Class> contextClass, HttpInputMessage inputMessage) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy