fi.hut.tml.xsmiles.util
Interface HTTPInterface

All Known Implementing Classes:
HTTPClientImpl, HTTPJavaImpl

public interface HTTPInterface

Author:
honkkis

Method Summary
 void enableDebug(boolean debug)
           
 XSmilesConnection get(java.net.URL dest, BrowserWindow b)
           
 XSmilesConnection post(java.net.URL dest, byte[] data, java.util.Hashtable properties, java.lang.String content_type)
          Post data to an URL and return the InputStream to the reply TODO: support for authentication!
 XSmilesConnection put(java.net.URL dest, byte[] data, java.util.Hashtable properties, java.lang.String content_type)
          Post data to an URL and return the InputStream to the reply TODO: support for authentication!
 void setBrowser(BrowserWindow b)
           
 

Method Detail

setBrowser

public void setBrowser(BrowserWindow b)

enableDebug

public void enableDebug(boolean debug)

get

public XSmilesConnection get(java.net.URL dest,
                             BrowserWindow b)
                      throws java.lang.Exception
Throws:
java.lang.Exception

post

public XSmilesConnection post(java.net.URL dest,
                              byte[] data,
                              java.util.Hashtable properties,
                              java.lang.String content_type)
                       throws java.lang.Exception
Post data to an URL and return the InputStream to the reply TODO: support for authentication!

Throws:
java.lang.Exception

put

public XSmilesConnection put(java.net.URL dest,
                             byte[] data,
                             java.util.Hashtable properties,
                             java.lang.String content_type)
                      throws java.lang.Exception
Post data to an URL and return the InputStream to the reply TODO: support for authentication!

Throws:
java.lang.Exception


X-Smiles 1.2