Package org.xhtmlrenderer.protocols.data
Class DataURLConnection
java.lang.Object
java.net.URLConnection
org.xhtmlrenderer.protocols.data.DataURLConnection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate byte[]
private static final byte[]
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
EMPTY_BYTE_ARRAY
private static final byte[] EMPTY_BYTE_ARRAY -
_headers
-
_data
private byte[] _data
-
-
Constructor Details
-
DataURLConnection
DataURLConnection(URL u)
-
-
Method Details
-
connect
public void connect()- Specified by:
connect
in classURLConnection
-
getContentType
- Overrides:
getContentType
in classURLConnection
-
getContentLength
public int getContentLength()- Overrides:
getContentLength
in classURLConnection
-
getInputStream
- Overrides:
getInputStream
in classURLConnection
-
parseURL
protected void parseURL()
-