thredds.util
Class HttpUriResolver

java.lang.Object
  extended by thredds.util.HttpUriResolver

public class HttpUriResolver
extends Object

_more_

Since:
4.0
Author:
edavis

Method Summary
 void close()
           
 boolean getAllowContentEncoding()
           
 long getConnectionTimeout()
           
 String getContentEncoding()
           
 boolean getFollowRedirects()
           
 InputStream getResponseBodyAsInputStream()
           
 Map<String,String> getResponseHeaders()
           
 String getResponseHeaderValue(String name)
           
 int getResponseStatusCode()
           
 String getResponseStatusText()
           
 int getSocketTimeout()
           
 URI getUri()
           
 void makeRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()

getUri

public URI getUri()

getConnectionTimeout

public long getConnectionTimeout()

getSocketTimeout

public int getSocketTimeout()

getContentEncoding

public String getContentEncoding()

getAllowContentEncoding

public boolean getAllowContentEncoding()

getFollowRedirects

public boolean getFollowRedirects()

makeRequest

public void makeRequest()
                 throws IOException
Throws:
IOException

getResponseStatusCode

public int getResponseStatusCode()

getResponseStatusText

public String getResponseStatusText()

getResponseHeaders

public Map<String,String> getResponseHeaders()

getResponseHeaderValue

public String getResponseHeaderValue(String name)

getResponseBodyAsInputStream

public InputStream getResponseBodyAsInputStream()
                                         throws IOException
Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.