@ControllerAdvice
@ConditionalOnProperty(value="dream.cross.jsonp.enabled",
havingValue="true")
public class DreamBootAutoConfiguration.JsonpResponseAdvice
extends org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice
implements org.springframework.beans.factory.InitializingBean
| 构造器和说明 |
|---|
JsonpResponseAdvice() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
protected org.springframework.http.MediaType |
getContentType(org.springframework.http.MediaType contentType,
org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response) |
beforeBodyWriteInternal, isValidJsonpQueryParamprotected org.springframework.http.MediaType getContentType(org.springframework.http.MediaType contentType,
org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response)
getContentType 在类中 org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvicepublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanjava.lang.Exception