com.foxinmy.weixin4j.response
Class TextResponse

java.lang.Object
  extended by com.foxinmy.weixin4j.response.TextResponse
All Implemented Interfaces:
WeixinResponse

public class TextResponse
extends Object
implements WeixinResponse

回复文本消息

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:

Constructor Summary
TextResponse(String content)
           
 
Method Summary
 String getContent()
           
 String getMsgType()
          回复的消息类型
 String toContent()
          回复的消息内容
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextResponse

public TextResponse(String content)
Method Detail

toContent

public String toContent()
Description copied from interface: WeixinResponse
回复的消息内容

Specified by:
toContent in interface WeixinResponse
Returns:

getMsgType

public String getMsgType()
Description copied from interface: WeixinResponse
回复的消息类型

Specified by:
getMsgType in interface WeixinResponse
Returns:

getContent

public String getContent()


Copyright © 2014–2017. All rights reserved.