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.DecoderResultdecoderResult()AesTokengetAesToken()io.netty.handler.codec.DecoderResultgetDecoderResult()StringgetEchoStr()StringgetEncryptContent()EncryptTypegetEncryptType()io.netty.handler.codec.http.HttpMethodgetMethod()StringgetMsgSignature()StringgetNonce()StringgetOriginalContent()Map<String,List<String>>getParameters()io.netty.handler.codec.http.HttpVersiongetProtocolVersion()StringgetSignature()StringgetTimeStamp()StringgetUri()io.netty.handler.codec.http.HttpHeadersheaders()io.netty.handler.codec.http.HttpVersionprotocolVersion()voidsetDecoderResult(io.netty.handler.codec.DecoderResult decoderResult)io.netty.handler.codec.http.HttpMessagesetProtocolVersion(io.netty.handler.codec.http.HttpVersion protocolVersion)StringtoString()
-
-
-
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:
getDecoderResultin interfaceio.netty.handler.codec.http.HttpObject
-
setDecoderResult
public void setDecoderResult(io.netty.handler.codec.DecoderResult decoderResult)
- Specified by:
setDecoderResultin interfaceio.netty.handler.codec.DecoderResultProvider
-
getProtocolVersion
public io.netty.handler.codec.http.HttpVersion getProtocolVersion()
- Specified by:
getProtocolVersionin interfaceio.netty.handler.codec.http.HttpMessage
-
setProtocolVersion
public io.netty.handler.codec.http.HttpMessage setProtocolVersion(io.netty.handler.codec.http.HttpVersion protocolVersion)
- Specified by:
setProtocolVersionin interfaceio.netty.handler.codec.http.HttpMessage
-
headers
public io.netty.handler.codec.http.HttpHeaders headers()
- Specified by:
headersin interfaceio.netty.handler.codec.http.HttpMessage
-
decoderResult
public io.netty.handler.codec.DecoderResult decoderResult()
- Specified by:
decoderResultin interfaceio.netty.handler.codec.DecoderResultProvider
-
protocolVersion
public io.netty.handler.codec.http.HttpVersion protocolVersion()
- Specified by:
protocolVersionin interfaceio.netty.handler.codec.http.HttpMessage
-
-