public class JSONPMethodProcessor
extends java.lang.Object
implements com.fr.third.springframework.web.method.support.HandlerMethodReturnValueHandler
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
CALLBACK |
| 构造器和说明 |
|---|
JSONPMethodProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleJsonpRequest(java.lang.Object returnValue,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
handleReturnValue(java.lang.Object returnValue,
com.fr.third.springframework.core.MethodParameter returnType,
com.fr.third.springframework.web.method.support.ModelAndViewContainer mavContainer,
com.fr.third.springframework.web.context.request.NativeWebRequest webRequest) |
boolean |
supportsReturnType(com.fr.third.springframework.core.MethodParameter returnType) |
public static final java.lang.String CALLBACK
public boolean supportsReturnType(com.fr.third.springframework.core.MethodParameter returnType)
supportsReturnType 在接口中 com.fr.third.springframework.web.method.support.HandlerMethodReturnValueHandlerpublic void handleReturnValue(java.lang.Object returnValue,
com.fr.third.springframework.core.MethodParameter returnType,
com.fr.third.springframework.web.method.support.ModelAndViewContainer mavContainer,
com.fr.third.springframework.web.context.request.NativeWebRequest webRequest)
throws java.io.IOException,
com.fr.third.springframework.web.HttpMediaTypeNotAcceptableException
handleReturnValue 在接口中 com.fr.third.springframework.web.method.support.HandlerMethodReturnValueHandlerjava.io.IOExceptioncom.fr.third.springframework.web.HttpMediaTypeNotAcceptableExceptionpublic void handleJsonpRequest(java.lang.Object returnValue,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)