@Deprecated public class BytesURLConnection extends URLConnection
| Modifier and Type | Field and Description | 
|---|---|
| protected byte[] | contentDeprecated.  | 
| protected int | lengthDeprecated.  | 
| protected int | offsetDeprecated.  | 
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches| Constructor and Description | 
|---|
| BytesURLConnection(URL url,
                  byte[] content)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| void | connect()Deprecated.  | 
| InputStream | getInputStream()Deprecated.  | 
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentLengthLong, getContentType, 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 byte[] content
protected int offset
protected int length
public BytesURLConnection(URL url, byte[] content)
public void connect()
connect in class URLConnectionpublic InputStream getInputStream()
getInputStream in class URLConnectionCopyright © 2002-2014 Codehaus. All Rights Reserved.