fi.hut.tml.xsmiles.util.HTTPClient
Class XSmilesConnectionHTTP

java.lang.Object
  extended byfi.hut.tml.xsmiles.util.HTTPClient.XSmilesConnectionHTTP
All Implemented Interfaces:
XSmilesConnection

public class XSmilesConnectionHTTP
extends java.lang.Object
implements XSmilesConnection

Author:
honkkis

Constructor Summary
XSmilesConnectionHTTP(org.apache.commons.httpclient.HttpMethod met, org.apache.commons.httpclient.HttpClient cl)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.io.InputStream getInputStream()
           
 java.net.URL getURL()
           
 void releaseConnection()
          YOU MUST CALL THIS METHOD AFTER READING THE CONTENTS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSmilesConnectionHTTP

public XSmilesConnectionHTTP(org.apache.commons.httpclient.HttpMethod met,
                             org.apache.commons.httpclient.HttpClient cl)
Method Detail

getURL

public java.net.URL getURL()
Specified by:
getURL in interface XSmilesConnection

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface XSmilesConnection
Throws:
java.io.IOException

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface XSmilesConnection

releaseConnection

public void releaseConnection()
Description copied from interface: XSmilesConnection
YOU MUST CALL THIS METHOD AFTER READING THE CONTENTS

Specified by:
releaseConnection in interface XSmilesConnection


X-Smiles 1.2