com.aliyun.mns.common.parser
接口 ResultParser<T>

所有已知实现类:
ExceptionResultParser, JAXBResultParser

public interface ResultParser<T>

Used to convert an result stream to a java object.


方法摘要
 T parse(ResponseMessage response)
          Converts the result from stream to a java object.
 

方法详细信息

parse

T parse(ResponseMessage response)
        throws ResultParseException
Converts the result from stream to a java object.

参数:
resultStream - The stream of the result.
返回:
The java Type T object that the result stands for.
抛出:
ResultParseException - Failed to parse the result.


Copyright © 2016. All Rights Reserved.