org.opentox.toxotis.client.https
Class GetHttpsClient

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.GetHttpsClient
All Implemented Interfaces:
Closeable, IClient, IGetClient

public class GetHttpsClient
extends AbstractHttpsClient
implements IGetClient

Author:
Pantelis Sopasakis, Charalampos Chomenides

Field Summary
 
Fields inherited from class org.opentox.toxotis.client.AbstractClient
bufferSize
 
Fields inherited from interface org.opentox.toxotis.client.IGetClient
METHOD
 
Fields inherited from interface org.opentox.toxotis.client.IClient
httpProtocol, httpSecureProtocol, URL_ENCODING
 
Constructor Summary
GetHttpsClient()
           
GetHttpsClient(VRI vri)
           
 
Method Summary
protected  HttpURLConnection 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
 
Methods inherited from interface org.opentox.toxotis.client.IClient
addHeaderParameter, authorize, close, getConnectionLock, getMediaType, getReadLock, getRemoteStream, getResponseCode, getResponseContentType, getResponseHeader, getResponseOntModel, getResponseOntModel, getResponseText, getResponseUriList, getUri, setMediaType, setMediaType, setUri, setUri
 

Constructor Detail

GetHttpsClient

public GetHttpsClient(VRI vri)

GetHttpsClient

public GetHttpsClient()
Method Detail

initializeConnection

protected HttpURLConnection 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


Copyright © 2011-2012 OpenTox. All Rights Reserved.