com.github.sd4324530.fastweixin.servlet
类 QYWeixinServletSupport
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.github.sd4324530.fastweixin.servlet.QYWeixinServletSupport
- 所有已实现的接口:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public abstract class QYWeixinServletSupport
- extends javax.servlet.http.HttpServlet
微信企业平台交互操作基类,提供几乎所有微信企业平台交互方式
====================================================================
上海聚攒软件开发有限公司
--------------------------------------------------------------------
- 从以下版本开始:
- 1.3.6
====================================================================
- 版本:
- 1.0.beta
- 作者:
- Nottyjay
- 另请参见:
- 序列化表格
|
方法摘要 |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
重写servlet中的get方法,用于处理微信服务器绑定,置为final方法,用户已经无需重写这个方法啦 |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
重写servlet中的post方法,用于接收微信服务器发来的消息,置为final方法,用户已经无需重写这个方法啦 |
protected abstract QYWeixinSupport |
getQYWeixinsupport()
强制要求servlet框架开发者自行实现QYWeixinSupport类 |
| 从类 javax.servlet.http.HttpServlet 继承的方法 |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| 从类 javax.servlet.GenericServlet 继承的方法 |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QYWeixinServletSupport
public QYWeixinServletSupport()
getQYWeixinsupport
protected abstract QYWeixinSupport getQYWeixinsupport()
- 强制要求servlet框架开发者自行实现QYWeixinSupport类
- 返回:
- 用户自行实现的QYWeixinSupport对象
doGet
protected final void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- 重写servlet中的get方法,用于处理微信服务器绑定,置为final方法,用户已经无需重写这个方法啦
- 覆盖:
- 类
javax.servlet.http.HttpServlet 中的 doGet
- 参数:
request - http请求对象response - http响应对象
- 抛出:
javax.servlet.ServletException - servlet异常
IOException - IO异常
doPost
protected final void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- 重写servlet中的post方法,用于接收微信服务器发来的消息,置为final方法,用户已经无需重写这个方法啦
- 覆盖:
- 类
javax.servlet.http.HttpServlet 中的 doPost
- 参数:
request - http请求对象response - http响应对象
- 抛出:
javax.servlet.ServletException - servlet异常
IOException - IO异常
Copyright © 2017. All rights reserved.