public class RequestInstanceHolder extends Object
Constructor and Description |
---|
RequestInstanceHolder() |
Modifier and Type | Method and Description |
---|---|
static void |
clearThreadLocal() |
static String |
getExtension() |
static ExtensionMappingInstance |
getMappingInstance() |
static org.springframework.web.context.request.ServletWebRequest |
getServletWebRequest()
从本地线程中取得
ServletWebRequest 对象。 |
static void |
setExtension(String ext) |
static void |
setMappingInstance(ExtensionMappingInstance mappingInstance) |
static void |
setServletWebRequest(org.springframework.web.context.request.ServletWebRequest servletWebRequest)
在本地线程中设置
ServletWebRequest 对象。 |
public static ExtensionMappingInstance getMappingInstance()
public static void setMappingInstance(ExtensionMappingInstance mappingInstance)
public static org.springframework.web.context.request.ServletWebRequest getServletWebRequest()
ServletWebRequest
对象。public static void setServletWebRequest(org.springframework.web.context.request.ServletWebRequest servletWebRequest)
ServletWebRequest
对象。servletWebRequest
- public static String getExtension()
public static void setExtension(String ext)
public static void clearThreadLocal()
Copyright © 2006–2018 TinyGroup. All rights reserved.