NASA World Wind

gov.nasa.worldwind.applications.gio.csw
Class HttpCSWConnection

java.lang.Object
  extended by gov.nasa.worldwind.applications.gio.csw.HttpCSWConnection
All Implemented Interfaces:
CSWConnection

public class HttpCSWConnection
extends Object
implements CSWConnection


Constructor Summary
HttpCSWConnection(URL serviceURL)
           
HttpCSWConnection(URL serviceURL, String contentType, String contentEncoding)
           
 
Method Summary
 void closeConnection()
           
 String getContentEncoding()
           
 String getContentType()
           
 URL getServiceURL()
           
 void openConnection()
           
 void sendRequest(Request request, ResponseParser responseParser)
           
 void setContentEncoding(String contentEncoding)
           
 void setContentType(String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCSWConnection

public HttpCSWConnection(URL serviceURL)

HttpCSWConnection

public HttpCSWConnection(URL serviceURL,
                         String contentType,
                         String contentEncoding)
Method Detail

closeConnection

public void closeConnection()
Specified by:
closeConnection in interface CSWConnection

getContentEncoding

public String getContentEncoding()

getContentType

public String getContentType()

getServiceURL

public URL getServiceURL()

openConnection

public void openConnection()
                    throws Exception
Specified by:
openConnection in interface CSWConnection
Throws:
Exception

sendRequest

public void sendRequest(Request request,
                        ResponseParser responseParser)
                 throws Exception
Specified by:
sendRequest in interface CSWConnection
Throws:
Exception

setContentEncoding

public void setContentEncoding(String contentEncoding)

setContentType

public void setContentType(String contentType)

NASA World Wind