Class BytesURLConnection


  • @Deprecated
    public class BytesURLConnection
    extends java.net.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​(java.net.URL url, byte[] content)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void connect()
      Deprecated.
       
      java.io.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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • content

        protected byte[] content
        Deprecated.
      • offset

        protected int offset
        Deprecated.
      • length

        protected int length
        Deprecated.
    • Constructor Detail

      • BytesURLConnection

        public BytesURLConnection​(java.net.URL url,
                                  byte[] content)
        Deprecated.
    • Method Detail

      • connect

        public void connect()
        Deprecated.
        Specified by:
        connect in class java.net.URLConnection
      • getInputStream

        public java.io.InputStream getInputStream()
        Deprecated.
        Overrides:
        getInputStream in class java.net.URLConnection