Package org.xhtmlrenderer.protocols.data
Class DataURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.xhtmlrenderer.protocols.data.DataURLConnection
-
public class DataURLConnection extends URLConnection
-
-
Field Summary
-
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()intgetContentLength()StringgetContentType()InputStreamgetInputStream()protected voidparseURL()-
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, 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, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
-
-
-
Method Detail
-
connect
public void connect()
- Specified by:
connectin classURLConnection
-
getContentType
public String getContentType()
- Overrides:
getContentTypein classURLConnection
-
getContentLength
public int getContentLength()
- Overrides:
getContentLengthin classURLConnection
-
getInputStream
public InputStream getInputStream()
- Overrides:
getInputStreamin classURLConnection
-
parseURL
protected void parseURL()
-
-