类 SpringResourceURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- io.microsphere.net.DelegatingURLConnection
-
- io.microsphere.spring.net.SpringResourceURLConnection
-
public class SpringResourceURLConnection extends io.microsphere.net.DelegatingURLConnection
SpringResource
URLConnection
- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
Resource
,ResourceLoader
-
-
构造器概要
构造器 构造器 说明 SpringResourceURLConnection(java.net.URL rawURL, org.springframework.core.io.Resource resource)
Constructs a URL connection to the specified URL.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.springframework.core.io.Resource
getResource()
Get theResource
-
从类继承的方法 io.microsphere.net.DelegatingURLConnection
addRequestProperty, connect, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getInputStream, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, setAllowUserInteraction, setConnectTimeout, setDefaultUseCaches, setDoInput, setDoOutput, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
从类继承的方法 java.net.URLConnection
getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getFileNameMap, guessContentTypeFromName, guessContentTypeFromStream, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setFileNameMap
-
-
-
-
构造器详细资料
-
SpringResourceURLConnection
public SpringResourceURLConnection(java.net.URL rawURL, org.springframework.core.io.Resource resource) throws java.io.IOException
Constructs a URL connection to the specified URL. A connection to the object referenced by the URL is not created.- 参数:
rawURL
- the rawURL
resource
- theResource
- 抛出:
java.io.IOException
-
-