1 package com.zone.weixin4j.service;
2
3 import com.zone.weixin4j.exception.HttpResponseException;
4 import com.zone.weixin4j.exception.MessageInterceptorException;
5 import com.zone.weixin4j.exception.WeixinException;
6 import com.zone.weixin4j.request.WeixinRequest;
7 import com.zone.weixin4j.response.WeixinResponse;
8 import com.zone.weixin4j.util.AesToken;
9
10 import javax.servlet.http.HttpServletRequest;
11
12
13
14
15
16 public interface WxService {
17
18 WeixinResponse processRequest(String uri, String encryptType, String echostr, String timestamp, String nonce, String signature, String msg_signature, String messageContent, AesToken aesToken, HttpServletRequest request) throws WeixinException, HttpResponseException, MessageInterceptorException;
19
20 String transferResponse(WeixinResponse weixinResponse) throws WeixinException;
21
22 }
23