cn.gtmap.estateplat.core.support.fastjson
类 FastjsonHttpMessageConverter

java.lang.Object
  继承者 org.springframework.http.converter.AbstractHttpMessageConverter<Object>
      继承者 cn.gtmap.estateplat.core.support.fastjson.FastjsonHttpMessageConverter
所有已实现的接口:
org.springframework.http.converter.HttpMessageConverter<Object>

public class FastjsonHttpMessageConverter
extends org.springframework.http.converter.AbstractHttpMessageConverter<Object>

.

版本:
V1.0, 11-12-29
作者:
yangxin

字段摘要
static Charset DEFAULT_CHARSET
           
 
从类 org.springframework.http.converter.AbstractHttpMessageConverter 继承的字段
logger
 
构造方法摘要
FastjsonHttpMessageConverter()
           
 
方法摘要
protected  Object readInternal(Class<?> clazz, org.springframework.http.HttpInputMessage inputMessage)
           
 void setJsonpParameterName(String jsonpParameterName)
           
protected  boolean supports(Class<?> clazz)
           
protected  void writeInternal(Object o, org.springframework.http.HttpOutputMessage outputMessage)
           
 
从类 org.springframework.http.converter.AbstractHttpMessageConverter 继承的方法
canRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, write
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

DEFAULT_CHARSET

public static final Charset DEFAULT_CHARSET
构造方法详细信息

FastjsonHttpMessageConverter

public FastjsonHttpMessageConverter()
方法详细信息

setJsonpParameterName

public void setJsonpParameterName(String jsonpParameterName)

supports

protected boolean supports(Class<?> clazz)
指定者:
org.springframework.http.converter.AbstractHttpMessageConverter<Object> 中的 supports

readInternal

protected Object readInternal(Class<?> clazz,
                              org.springframework.http.HttpInputMessage inputMessage)
                       throws IOException,
                              org.springframework.http.converter.HttpMessageNotReadableException
指定者:
org.springframework.http.converter.AbstractHttpMessageConverter<Object> 中的 readInternal
抛出:
IOException
org.springframework.http.converter.HttpMessageNotReadableException

writeInternal

protected void writeInternal(Object o,
                             org.springframework.http.HttpOutputMessage outputMessage)
                      throws IOException,
                             org.springframework.http.converter.HttpMessageNotWritableException
指定者:
org.springframework.http.converter.AbstractHttpMessageConverter<Object> 中的 writeInternal
抛出:
IOException
org.springframework.http.converter.HttpMessageNotWritableException


Copyright © 2015–2016 cn.gtmap. All rights reserved.