com.atlassian.plugin.classloader.url
Class BytesUrlConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by com.atlassian.plugin.classloader.url.BytesUrlConnection

public class BytesUrlConnection
extends URLConnection

URL connection from a byte array


Field Summary
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
BytesUrlConnection(URL url, byte[] content)
           
 
Method Summary
 void connect()
           
 InputStream getInputStream()
           
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BytesUrlConnection

public BytesUrlConnection(URL url,
                          byte[] content)
Method Detail

connect

public void connect()
Specified by:
connect in class URLConnection

getInputStream

public InputStream getInputStream()
Overrides:
getInputStream in class URLConnection


Copyright © 2011 Atlassian. All Rights Reserved.