org.objectweb.proactive.core.ssh.httpssh
Class HttpSshUrlConnection

java.lang.Object
  extended byjava.net.URLConnection
      extended byjava.net.HttpURLConnection
          extended byorg.objectweb.proactive.core.ssh.httpssh.HttpSshUrlConnection

public class HttpSshUrlConnection
extends java.net.HttpURLConnection

Author:
mlacage

Field Summary
 
Fields inherited from class java.net.HttpURLConnection
HTTP_ACCEPTED, HTTP_BAD_GATEWAY, HTTP_BAD_METHOD, HTTP_BAD_REQUEST, HTTP_CLIENT_TIMEOUT, HTTP_CONFLICT, HTTP_CREATED, HTTP_ENTITY_TOO_LARGE, HTTP_FORBIDDEN, HTTP_GATEWAY_TIMEOUT, HTTP_GONE, HTTP_INTERNAL_ERROR, HTTP_LENGTH_REQUIRED, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_MULT_CHOICE, HTTP_NO_CONTENT, HTTP_NOT_ACCEPTABLE, HTTP_NOT_AUTHORITATIVE, HTTP_NOT_FOUND, HTTP_NOT_IMPLEMENTED, HTTP_NOT_MODIFIED, HTTP_OK, HTTP_PARTIAL, HTTP_PAYMENT_REQUIRED, HTTP_PRECON_FAILED, HTTP_PROXY_AUTH, HTTP_REQ_TOO_LONG, HTTP_RESET, HTTP_SEE_OTHER, HTTP_SERVER_ERROR, HTTP_UNAUTHORIZED, HTTP_UNAVAILABLE, HTTP_UNSUPPORTED_TYPE, HTTP_USE_PROXY, HTTP_VERSION, instanceFollowRedirects, method, responseCode, responseMessage
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
HttpSshUrlConnection(java.net.URL u)
           
 
Method Summary
 void addRequestProperty(java.lang.String key, java.lang.String value)
           
 void connect()
           
 void disconnect()
           
protected  void finalize()
           
 java.io.InputStream getErrorStream()
           
 java.lang.String getHeaderField(int n)
           
 java.lang.String getHeaderField(java.lang.String name)
           
 java.lang.String getHeaderFieldKey(int n)
           
 java.util.Map getHeaderFields()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 java.util.Map getRequestProperties()
           
 java.lang.String getRequestProperty(java.lang.String key)
           
 int getResponseCode()
           
 void setInstanceFollowRedirects(boolean followRedirects)
           
 void setRequestMethod(java.lang.String method)
           
 void setRequestProperty(java.lang.String key, java.lang.String value)
           
 java.lang.String toString()
           
 boolean usingProxy()
           
 
Methods inherited from class java.net.HttpURLConnection
getFollowRedirects, getHeaderFieldDate, getInstanceFollowRedirects, getPermission, getRequestMethod, getResponseMessage, setFollowRedirects
 
Methods inherited from class java.net.URLConnection
getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderFieldInt, getIfModifiedSince, getLastModified, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setUseCaches
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpSshUrlConnection

public HttpSshUrlConnection(java.net.URL u)
                     throws java.io.IOException
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Throws:
java.lang.Throwable

getRequestProperties

public java.util.Map getRequestProperties()

getRequestProperty

public java.lang.String getRequestProperty(java.lang.String key)

setRequestProperty

public void setRequestProperty(java.lang.String key,
                               java.lang.String value)

addRequestProperty

public void addRequestProperty(java.lang.String key,
                               java.lang.String value)

setInstanceFollowRedirects

public void setInstanceFollowRedirects(boolean followRedirects)

setRequestMethod

public void setRequestMethod(java.lang.String method)
                      throws java.net.ProtocolException
Throws:
java.net.ProtocolException

getResponseCode

public int getResponseCode()
                    throws java.io.IOException
Throws:
java.io.IOException

connect

public void connect()
             throws java.io.IOException
Throws:
java.io.IOException

disconnect

public void disconnect()

usingProxy

public boolean usingProxy()

getErrorStream

public java.io.InputStream getErrorStream()

getHeaderField

public java.lang.String getHeaderField(java.lang.String name)

getHeaderField

public java.lang.String getHeaderField(int n)

getHeaderFieldKey

public java.lang.String getHeaderFieldKey(int n)

getHeaderFields

public java.util.Map getHeaderFields()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()


Copyright ? October 2004 INRIA All Rights Reserved.