Package com.foxinmy.weixin4j.request
Class WeixinRequest
- java.lang.Object
-
- com.foxinmy.weixin4j.request.WeixinRequest
-
- All Implemented Interfaces:
io.netty.handler.codec.DecoderResultProvider
,io.netty.handler.codec.http.HttpMessage
,io.netty.handler.codec.http.HttpObject
public class WeixinRequest extends Object implements io.netty.handler.codec.http.HttpMessage
微信请求- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Constructor Summary
Constructors Constructor Description WeixinRequest(io.netty.handler.codec.http.HttpHeaders headers, io.netty.handler.codec.http.HttpMethod method, String uri, EncryptType encryptType, String echoStr, String timeStamp, String nonce, String signature, String msgSignature, String originalContent, String encryptContent, AesToken aesToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.handler.codec.DecoderResult
decoderResult()
AesToken
getAesToken()
io.netty.handler.codec.DecoderResult
getDecoderResult()
String
getEchoStr()
String
getEncryptContent()
EncryptType
getEncryptType()
io.netty.handler.codec.http.HttpMethod
getMethod()
String
getMsgSignature()
String
getNonce()
String
getOriginalContent()
Map<String,List<String>>
getParameters()
io.netty.handler.codec.http.HttpVersion
getProtocolVersion()
String
getSignature()
String
getTimeStamp()
String
getUri()
io.netty.handler.codec.http.HttpHeaders
headers()
io.netty.handler.codec.http.HttpVersion
protocolVersion()
void
setDecoderResult(io.netty.handler.codec.DecoderResult decoderResult)
io.netty.handler.codec.http.HttpMessage
setProtocolVersion(io.netty.handler.codec.http.HttpVersion protocolVersion)
String
toString()
-
-
-
Constructor Detail
-
WeixinRequest
public WeixinRequest(io.netty.handler.codec.http.HttpHeaders headers, io.netty.handler.codec.http.HttpMethod method, String uri, EncryptType encryptType, String echoStr, String timeStamp, String nonce, String signature, String msgSignature, String originalContent, String encryptContent, AesToken aesToken)
-
-
Method Detail
-
getMethod
public io.netty.handler.codec.http.HttpMethod getMethod()
-
getUri
public String getUri()
-
getEchoStr
public String getEchoStr()
-
getTimeStamp
public String getTimeStamp()
-
getNonce
public String getNonce()
-
getSignature
public String getSignature()
-
getMsgSignature
public String getMsgSignature()
-
getEncryptType
public EncryptType getEncryptType()
-
getOriginalContent
public String getOriginalContent()
-
getEncryptContent
public String getEncryptContent()
-
getAesToken
public AesToken getAesToken()
-
getDecoderResult
public io.netty.handler.codec.DecoderResult getDecoderResult()
- Specified by:
getDecoderResult
in interfaceio.netty.handler.codec.http.HttpObject
-
setDecoderResult
public void setDecoderResult(io.netty.handler.codec.DecoderResult decoderResult)
- Specified by:
setDecoderResult
in interfaceio.netty.handler.codec.DecoderResultProvider
-
getProtocolVersion
public io.netty.handler.codec.http.HttpVersion getProtocolVersion()
- Specified by:
getProtocolVersion
in interfaceio.netty.handler.codec.http.HttpMessage
-
setProtocolVersion
public io.netty.handler.codec.http.HttpMessage setProtocolVersion(io.netty.handler.codec.http.HttpVersion protocolVersion)
- Specified by:
setProtocolVersion
in interfaceio.netty.handler.codec.http.HttpMessage
-
headers
public io.netty.handler.codec.http.HttpHeaders headers()
- Specified by:
headers
in interfaceio.netty.handler.codec.http.HttpMessage
-
decoderResult
public io.netty.handler.codec.DecoderResult decoderResult()
- Specified by:
decoderResult
in interfaceio.netty.handler.codec.DecoderResultProvider
-
protocolVersion
public io.netty.handler.codec.http.HttpVersion protocolVersion()
- Specified by:
protocolVersion
in interfaceio.netty.handler.codec.http.HttpMessage
-
-