org.opentox.toxotis.client.https
Class DeleteHttpsClient

java.lang.Object
  extended by org.opentox.toxotis.client.AbstractClient
      extended by org.opentox.toxotis.client.https.AbstractHttpsClient
          extended by org.opentox.toxotis.client.https.DeleteHttpsClient
All Implemented Interfaces:
Closeable, IClient

public class DeleteHttpsClient
extends AbstractHttpsClient

Author:
Pantelis Sopasakis, Charalampos Chomenides

Field Summary
static String METHOD
          The method that this client applies
 
Fields inherited from class org.opentox.toxotis.client.AbstractClient
bufferSize
 
Fields inherited from interface org.opentox.toxotis.client.IClient
httpProtocol, httpSecureProtocol, URL_ENCODING
 
Constructor Summary
DeleteHttpsClient()
           
DeleteHttpsClient(VRI vri)
           
 
Method Summary
 void doDelete()
           
protected  HttpsURLConnection initializeConnection(URI uri)
          Initiate a connection to the remote location identified by the provided URI and using the already specified header parameters.
 
Methods inherited from class org.opentox.toxotis.client.AbstractClient
addHeaderParameter, authorize, close, connect, getConnection, getConnectionInputStream, getConnectionLock, getHeaderValues, getMediaType, getReadLock, getRemoteStream, getResponseCode, getResponseContentType, getResponseHeader, getResponseOntModel, getResponseOntModel, getResponseText, getResponseUriList, getUri, setConnection, setMediaType, setMediaType, setUri, setUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD

public static final String METHOD
The method that this client applies

See Also:
Constant Field Values
Constructor Detail

DeleteHttpsClient

public DeleteHttpsClient(VRI vri)

DeleteHttpsClient

public DeleteHttpsClient()
Method Detail

initializeConnection

protected HttpsURLConnection initializeConnection(URI uri)
                                           throws ServiceInvocationException
Description copied from class: AbstractClient
Initiate a connection to the remote location identified by the provided URI and using the already specified header parameters.

Specified by:
initializeConnection in class AbstractClient
Parameters:
uri - The location to which the HTTP connection should be made.
Returns:
An instance of HttpURLConnection that is used to perform the remote HTTP request.
Throws:
ServiceInvocationException

doDelete

public void doDelete()
              throws ServiceInvocationException
Throws:
ServiceInvocationException


Copyright © 2011-2012 OpenTox. All Rights Reserved.