com.foxinmy.weixin4j.http.message
Class XmlMessageConverter

java.lang.Object
  extended by com.foxinmy.weixin4j.http.message.AbstractMessageConverter
      extended by com.foxinmy.weixin4j.http.message.XmlMessageConverter
All Implemented Interfaces:
MessageConverter

public class XmlMessageConverter
extends AbstractMessageConverter

XML 转换

Since:
JDK 1.6
Author:
jinyu

Field Summary
static XmlMessageConverter GLOBAL
           
 
Constructor Summary
XmlMessageConverter()
           
 
Method Summary
 boolean canConvert(Class<?> clazz, HttpResponse response)
          是否可以转换
 
Methods inherited from class com.foxinmy.weixin4j.http.message.AbstractMessageConverter
convert, getCharset, setCharset, setSupportedMediaTypes, supportedMimeTypes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GLOBAL

public static final XmlMessageConverter GLOBAL
Constructor Detail

XmlMessageConverter

public XmlMessageConverter()
Method Detail

canConvert

public boolean canConvert(Class<?> clazz,
                          HttpResponse response)
Description copied from interface: MessageConverter
是否可以转换

Specified by:
canConvert in interface MessageConverter
Overrides:
canConvert in class AbstractMessageConverter
Parameters:
clazz - 转换类型
response - 响应对象
Returns:
是否标识


Copyright © 2014–2017. All rights reserved.