public class MapwayDocServlet
extends javax.servlet.http.HttpServlet
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PARAM_ANT_HOME
ANT hOME路径.
|
static String |
PARAM_API_VERSION
文档API版本.
|
static String |
PARAM_AUTHOR
作者.
|
static String |
PARAM_BASE_PATH
接口URL基路径.
|
static String |
PARAM_CONNECTOR_CLASS_NAME
连接的类名.
|
static String |
PARAM_CONNECTOR_PACKAGE_NAME
连接的包名.
|
static String |
PARAM_COPY_RIGHT
连接的类名.
|
static String |
PARAM_CSS_STYLE
样式文件,可以是 网络的文件,也可以直接是 css样式.
|
static String |
PARAM_DOMAIN
域名.
|
static String |
PARAM_ENABLE_GWT_CONNECTOR
是否允许生成GwtConnector.
|
static String |
PARAM_ENABLE_JAVA_CONNECTOR
是否允许生成JavaConnector.
|
static String |
PARAM_HOME_URL
返回的URL.
|
static String |
PARAM_LOGO_BASE64
LOGO base64 data
|
static String |
PARAM_SCAN_PACKAGES
扫描的包名,支持,号隔开多个包名.
|
static String |
PARAM_SUB_TITLE
子标题.
|
static String |
PARAM_TITLE
标题.
|
| 构造器和说明 |
|---|
MapwayDocServlet()
Constructor of the object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy()
Destruction of the servlet.
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The doGet method of the servlet.
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
The doPost method of the servlet.
|
static String |
getBasePath(javax.servlet.http.HttpServletRequest request)
Gets the base path.
|
String |
getTempFolder()
Gets the temp folder.
|
void |
init()
Initialization of the servlet.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String PARAM_CONNECTOR_PACKAGE_NAME
public static final String PARAM_ENABLE_JAVA_CONNECTOR
public static final String PARAM_ENABLE_GWT_CONNECTOR
public void destroy()
destroy 在接口中 javax.servlet.Servletdestroy 在类中 javax.servlet.GenericServletpublic void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
This method is called when a form has its tag value method equals to get.
doGet 在类中 javax.servlet.http.HttpServletrequest - the request send by the client to the serverresponse - the response send by the server to the clientjavax.servlet.ServletException - if an error occurredIOException - if an error occurredpublic static String getBasePath(javax.servlet.http.HttpServletRequest request)
request - the requestpublic void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
This method is called when a form has its tag value method equals to post.
doPost 在类中 javax.servlet.http.HttpServletrequest - the request send by the client to the serverresponse - the response send by the server to the clientjavax.servlet.ServletException - if an error occurredIOException - if an error occurredpublic void init()
throws javax.servlet.ServletException
init 在类中 javax.servlet.GenericServletjavax.servlet.ServletException - if an error occurspublic String getTempFolder()
Copyright © 2018. All rights reserved.