org.apache.commons.vfs2.provider
public final class DefaultURLConnection extends java.net.URLConnection
Constructor and Description |
---|
DefaultURLConnection(java.net.URL url,
FileContent content) |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
java.lang.String |
getContentEncoding() |
int |
getContentLength() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
long |
getLastModified() |
java.io.OutputStream |
getOutputStream() |
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
public DefaultURLConnection(java.net.URL url, FileContent content)
public void connect()
connect
in class java.net.URLConnection
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.URLConnection
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class java.net.URLConnection
java.io.IOException
public long getLastModified()
getLastModified
in class java.net.URLConnection
public int getContentLength()
getContentLength
in class java.net.URLConnection
public java.lang.String getContentType()
getContentType
in class java.net.URLConnection
public java.lang.String getContentEncoding()
getContentEncoding
in class java.net.URLConnection
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.