Package com.google.common.jimfs
Class PathURLConnection
java.lang.Object
java.net.URLConnection
com.google.common.jimfs.PathURLConnection
URLConnection
implementation.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private InputStream
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
connect()
@Nullable String
getHeaderField
(String name) private static URI
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
Field Details
-
HTTP_DATE_FORMAT
- See Also:
-
DEFAULT_CONTENT_TYPE
- See Also:
-
stream
-
headers
-
-
Constructor Details
-
PathURLConnection
PathURLConnection(URL url)
-
-
Method Details
-
connect
- Specified by:
connect
in classURLConnection
- Throws:
IOException
-
toUri
- Throws:
IOException
-
getInputStream
- Overrides:
getInputStream
in classURLConnection
- Throws:
IOException
-
getHeaderFields
- Overrides:
getHeaderFields
in classURLConnection
-
getHeaderField
- Overrides:
getHeaderField
in classURLConnection
-