Package org.codehaus.classworlds
Class BytesURLConnection
- java.lang.Object
-
- java.net.URLConnection
-
- org.codehaus.classworlds.BytesURLConnection
-
@Deprecated public class BytesURLConnection extends URLConnection
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
content
Deprecated.protected int
length
Deprecated.protected int
offset
Deprecated.-
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
-
Constructor Summary
Constructors Constructor Description BytesURLConnection(URL url, byte[] content)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
connect()
Deprecated.InputStream
getInputStream()
Deprecated.-
Methods inherited from class java.net.URLConnection
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
-
-
-
-
Constructor Detail
-
BytesURLConnection
public BytesURLConnection(URL url, byte[] content)
Deprecated.
-
-
Method Detail
-
connect
public void connect()
Deprecated.- Specified by:
connect
in classURLConnection
-
getInputStream
public InputStream getInputStream()
Deprecated.- Overrides:
getInputStream
in classURLConnection
-
-