thredds.util.net
Class HttpSession

java.lang.Object
  extended by thredds.util.net.HttpSession

Deprecated. use ucar.nc2.dataset.HttpClientManager

public class HttpSession
extends java.lang.Object

Manage an HttpSession. Uses org.apache.commons.httpclient.

Author:
caron

Method Summary
 void close()
          Deprecated.  
 java.lang.String getContent(java.lang.String urlString)
          Deprecated.  
 java.lang.String getInfo()
          Deprecated.  
 java.io.InputStream getInputStream(java.lang.String urlString)
          Deprecated.  
 int getResultCode()
          Deprecated.  
 java.lang.String getResultText()
          Deprecated.  
static HttpSession getSession()
          Deprecated.  
 void putContent(java.lang.String urlString, java.lang.String content)
          Deprecated.  
static void setCredentialsProvider(CredentialsProviderExt provider)
          Deprecated.  
 void setDefaultCredentials(org.apache.commons.httpclient.auth.AuthScope authScope, org.apache.commons.httpclient.Credentials cred)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSession

public static HttpSession getSession()
Deprecated. 

setCredentialsProvider

public static void setCredentialsProvider(CredentialsProviderExt provider)
Deprecated. 

setDefaultCredentials

public void setDefaultCredentials(org.apache.commons.httpclient.auth.AuthScope authScope,
                                  org.apache.commons.httpclient.Credentials cred)
Deprecated. 

getContent

public java.lang.String getContent(java.lang.String urlString)
                            throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

putContent

public void putContent(java.lang.String urlString,
                       java.lang.String content)
                throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

getInputStream

public java.io.InputStream getInputStream(java.lang.String urlString)
                                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

close

public void close()
Deprecated. 

getInfo

public java.lang.String getInfo()
Deprecated. 

getResultCode

public int getResultCode()
Deprecated. 

getResultText

public java.lang.String getResultText()
Deprecated.