gov.nasa.worldwind.applications.gio.csw
Class HttpCSWConnection
java.lang.Object
gov.nasa.worldwind.applications.gio.csw.HttpCSWConnection
- All Implemented Interfaces:
- CSWConnection
public class HttpCSWConnection
- extends java.lang.Object
- implements CSWConnection
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpCSWConnection
public HttpCSWConnection(java.net.URL serviceURL)
HttpCSWConnection
public HttpCSWConnection(java.net.URL serviceURL,
java.lang.String contentType,
java.lang.String contentEncoding)
closeConnection
public void closeConnection()
- Specified by:
closeConnection in interface CSWConnection
getContentEncoding
public java.lang.String getContentEncoding()
getContentType
public java.lang.String getContentType()
getServiceURL
public java.net.URL getServiceURL()
openConnection
public void openConnection()
throws java.lang.Exception
- Specified by:
openConnection in interface CSWConnection
- Throws:
java.lang.Exception
sendRequest
public void sendRequest(Request request,
ResponseParser responseParser)
throws java.lang.Exception
- Specified by:
sendRequest in interface CSWConnection
- Throws:
java.lang.Exception
setContentEncoding
public void setContentEncoding(java.lang.String contentEncoding)
setContentType
public void setContentType(java.lang.String contentType)