@Deprecated public class BytesURLConnection extends URLConnection
Modifier and Type | Field and Description |
---|---|
protected byte[] |
content
Deprecated.
|
protected int |
length
Deprecated.
|
protected int |
offset
Deprecated.
|
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, toString
protected byte[] content
protected int offset
protected int length
public BytesURLConnection(URL url, byte[] content)
public void connect()
connect
in class URLConnection
public InputStream getInputStream()
getInputStream
in class URLConnection
Copyright © 2002–2014 Codehaus. All rights reserved.