类 AbstractController
java.lang.Object
com.iplatform.base.AbstractController
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean
- 直接已知子类:
AbstractSecurityController
public abstract class AbstractController
extends Object
implements org.springframework.beans.factory.InitializingBean
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected <T> com.walker.web.ResponseValue<List<?>>acquireTablePage(List<T> data, long total) 已过时。protected voidajaxOutputFileStream(String contentType, File file) protected voidajaxOutputFileStream(String contentType, String filePath) protected voidajaxOutPutHtml(Object outputString) protected voidajaxOutPutJson(Object outputString) protected voidajaxOutPutText(Object outputString) protected voidajaxOutPutXml(Object outputString) protected voiddownloadSimpleFile(byte[] data, String fileName) 下载简单的文件,通常文件不大。protected com.walker.infrastructure.arguments.ArgumentsManagerprotected com.walker.infrastructure.arguments.Variable返回系统配置可变参数对象。protected ObjectgetAttribute(String name) protected String得到WEB应用上下文路径,如:/webprotected DoublegetDoubleParameter(String name) protected FloatgetFloatParameter(String name) protected IntegergetIntParameter(String name) protected LonggetLongParameter(String name) protected StringgetParameter(String name) protected StringgetParameterUTF8(String name) protected String[]getParameterValues(String name) protected longgetParamsDateTime(String dateTime, boolean isTime) 把一个日期或时间字符串,转换成数值。protected <T> TgetPlatformCallback(Class<T> clazz) 返回给定的回调实现对象。protected jakarta.servlet.http.HttpServletRequestprotected jakarta.servlet.http.HttpServletResponseprotected String返回服务端调用地址前缀,如:
http://localhost:8080/demoprotected ThirdPartyManager返回第三方对接管理器对象。protected com.walker.db.page.PageSearch已过时。protected voidprotected voidsetAttribute(String name, Object value) protected void从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.beans.factory.InitializingBean
afterPropertiesSet
-
字段详细资料
-
构造器详细资料
-
AbstractController
public AbstractController()
-
-
方法详细资料
-
getThirdPartyManager
返回第三方对接管理器对象。- 返回:
-
getServerDomain
返回服务端调用地址前缀,如:
http://localhost:8080/demo- 返回:
-
getPlatformCallback
返回给定的回调实现对象。- 类型参数:
T-- 参数:
clazz- 定义的回调接口,如: PlatformUserCallback.class- 返回:
-
getArgumentVariable
返回系统配置可变参数对象。- 参数:
key- 参数 key- 返回:
-
getArgumentManager
protected com.walker.infrastructure.arguments.ArgumentsManager getArgumentManager() -
downloadSimpleFile
下载简单的文件,通常文件不大。- 参数:
data- 文件字节码内容fileName- 文件名称,如: demo.zip- 抛出:
IOException
-
preparePageSearch
已过时。从前端获得分页查询条件,写入线程参数中。 -
getParamsDateTime
把一个日期或时间字符串,转换成数值。1.2022-11-16 --> 20221116000000 2.2022-11-16 12:01:30 --> 20221116120130- 参数:
dateTime- 给定时间或日期字符串isTime- 是否时间,否表示只有日期- 返回:
-
acquireTablePage
@Deprecated protected <T> com.walker.web.ResponseValue<List<?>> acquireTablePage(List<T> data, long total) 已过时。包装返回带分页的表格集合,加上total属性(适配前端)- 类型参数:
T-- 参数:
data-total-- 返回:
-
getRequest
protected jakarta.servlet.http.HttpServletRequest getRequest() -
getResponse
protected jakarta.servlet.http.HttpServletResponse getResponse() -
getContextPath
得到WEB应用上下文路径,如:/web- 返回:
-
getParameter
-
getParameterUTF8
-
getParameterValues
-
getIntParameter
-
getLongParameter
-
getFloatParameter
-
getDoubleParameter
-
getAttribute
- 参数:
name-- 返回:
- Attribute value
-
setAttribute
- 参数:
name-value-
-
setDefaultContentType
protected void setDefaultContentType() -
print
protected void print(jakarta.servlet.http.HttpServletResponse response, String str) throws IOException - 抛出:
IOException
-
ajaxOutPutText
- 抛出:
IOException
-
ajaxOutPutJson
- 抛出:
IOException
-
ajaxOutPutXml
- 抛出:
IOException
-
ajaxOutPutHtml
- 抛出:
IOException
-
ajaxOutputFileStream
-
ajaxOutputFileStream
-