public class DataUrlConnection
extends java.net.URLConnection
| Modifier | Constructor and Description |
|---|---|
protected |
DataUrlConnection(java.net.URL url)
Must be overridden.
|
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
java.lang.String |
getContentType() |
java.lang.String |
getFullContentType()
Get the content-type, including the optional ";base64".
|
java.io.InputStream |
getInputStream() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toStringprotected DataUrlConnection(java.net.URL url)
url - the data urlpublic void connect()
connect in class java.net.URLConnectionpublic java.io.InputStream getInputStream()
getInputStream in class java.net.URLConnectionpublic java.lang.String getContentType()
getContentType in class java.net.URLConnectionpublic java.lang.String getFullContentType()