yawda.utils.net
Class CMemoryURLConnection
java.lang.Object
java.net.URLConnection
yawda.utils.net.CMemoryURLConnection
- public final class CMemoryURLConnection
- extends URLConnection
- Author:
- Quentin Anciaux
| Methods inherited from class java.net.URLConnection |
addRequestProperty, getContent, getContent, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches |
CMemoryURLConnection
public CMemoryURLConnection(URL url,
byte[] content)
getAllowUserInteraction
public final boolean getAllowUserInteraction()
- See Also:
URLConnection.getAllowUserInteraction()
getContentEncoding
public final String getContentEncoding()
- See Also:
URLConnection.getContentEncoding()
getContentLength
public final int getContentLength()
- See Also:
URLConnection.getContentLength()
getContentType
public final String getContentType()
- See Also:
URLConnection.getContentType()
getDoInput
public final boolean getDoInput()
- See Also:
URLConnection.getDoInput()
getDoOutput
public final boolean getDoOutput()
- See Also:
URLConnection.getDoOutput()
getInputStream
public final InputStream getInputStream()
throws IOException
- Throws:
IOException- See Also:
URLConnection.getInputStream()
getLastModified
public final long getLastModified()
- See Also:
URLConnection.getLastModified()
getOutputStream
public final OutputStream getOutputStream()
throws IOException
- Throws:
IOException- See Also:
URLConnection.getOutputStream()
toString
public final String toString()
- See Also:
Object.toString()
connect
public final void connect()
throws IOException
- Throws:
IOException- See Also:
URLConnection.connect()