com.foxinmy.weixin4j.response
Class SingleResponse

java.lang.Object
  extended by com.foxinmy.weixin4j.response.SingleResponse
All Implemented Interfaces:
WeixinResponse
Direct Known Subclasses:
BlankResponse

public class SingleResponse
extends Object
implements WeixinResponse

单一内容回复

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

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

Constructor Detail

SingleResponse

public SingleResponse(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:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014–2017. All rights reserved.