com.foxinmy.weixin4j.request
Class WeixinRequest

java.lang.Object
  extended by 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)
See Also:

Constructor Summary
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
 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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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()

getParameters

public Map<String,List<String>> getParameters()

getDecoderResult

public io.netty.handler.codec.DecoderResult getDecoderResult()
Specified by:
getDecoderResult in interface io.netty.handler.codec.http.HttpObject

setDecoderResult

public void setDecoderResult(io.netty.handler.codec.DecoderResult decoderResult)
Specified by:
setDecoderResult in interface io.netty.handler.codec.DecoderResultProvider

getProtocolVersion

public io.netty.handler.codec.http.HttpVersion getProtocolVersion()
Specified by:
getProtocolVersion in interface io.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 interface io.netty.handler.codec.http.HttpMessage

headers

public io.netty.handler.codec.http.HttpHeaders headers()
Specified by:
headers in interface io.netty.handler.codec.http.HttpMessage

decoderResult

public io.netty.handler.codec.DecoderResult decoderResult()
Specified by:
decoderResult in interface io.netty.handler.codec.DecoderResultProvider

protocolVersion

public io.netty.handler.codec.http.HttpVersion protocolVersion()
Specified by:
protocolVersion in interface io.netty.handler.codec.http.HttpMessage

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014–2017. All rights reserved.