public class BytesURLConnection
extends java.net.URLConnection
Modifier and Type | Field | Description |
---|---|---|
protected byte[] |
content |
|
protected int |
length |
|
protected int |
offset |
Constructor | Description |
---|---|
BytesURLConnection(java.net.URL url,
byte[] content) |
Modifier and Type | Method | Description |
---|---|---|
void |
connect() |
|
java.io.InputStream |
getInputStream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, 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