public class ExcelHttpMessageConverter extends AttachHttpMessageConverter
allowIgnorePagination, allowNameParam, allowResolverPath, extNames, ignorePaginationKey, logger, nameParamKey, resolverPath, resolverPathKey, templateBasePath, templatePathKey| 构造器和说明 |
|---|
ExcelHttpMessageConverter()
Instantiates a new Excel http message converter.
|
ExcelHttpMessageConverter(java.lang.ClassLoader classLoader)
Instantiates a new Excel http message converter.
|
| 限定符和类型 | 方法和说明 |
|---|---|
cn.featherfly.data.office.excel.ExcelDataMapper<?> |
getMapper()
返回mapper
|
void |
setMapper(cn.featherfly.data.office.excel.ExcelDataMapper<?> mapper)
设置mapper
|
protected void |
writeInternal(java.lang.Object result,
java.lang.reflect.Type type,
org.springframework.http.HttpOutputMessage outputMessage) |
getClassLoader, getDataFromResult, getDefaultContentType, getExtNames, getFileName, getIgnorePaginationKey, getNameParamKey, getResolverPath, getResolverPath, getResolverPathKey, getTemplate, getTemplateBasePath, getTemplatePathKey, isAllowIgnorePagination, isAllowNameAsLastUri, isAllowNameParam, isAllowResolverPath, matchExtName, read, readInternal, setAllowIgnorePagination, setAllowNameAsLastUri, setAllowNameParam, setAllowResolverPath, setClassLoader, setExtNames, setIgnorePaginationKey, setNameParamKey, setResolverPath, setResolverPathKey, setTemplateBasePath, setTemplatePathKey, supportscanRead, canWrite, write, writeInternaladdDefaultHeaders, canRead, canRead, canWrite, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writepublic ExcelHttpMessageConverter()
public ExcelHttpMessageConverter(java.lang.ClassLoader classLoader)
classLoader - the class loaderprotected void writeInternal(java.lang.Object result,
java.lang.reflect.Type type,
org.springframework.http.HttpOutputMessage outputMessage)
throws java.io.IOException,
org.springframework.http.converter.HttpMessageNotWritableException
writeInternal 在类中 org.springframework.http.converter.AbstractGenericHttpMessageConverter<java.lang.Object>java.io.IOExceptionorg.springframework.http.converter.HttpMessageNotWritableExceptionpublic cn.featherfly.data.office.excel.ExcelDataMapper<?> getMapper()
public void setMapper(cn.featherfly.data.office.excel.ExcelDataMapper<?> mapper)
mapper - mapper