|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.util.HTTPJavaImpl
| Constructor Summary | |
HTTPJavaImpl()
|
|
| Method Summary | |
java.lang.String |
base64Encode(byte[] bytes)
encodes an string for jdk 1.1 authentication support |
void |
enableDebug(boolean debug)
|
XSmilesConnection |
get(java.net.URL dest,
BrowserWindow b)
Post data to an URL and return the InputStream to the reply |
java.lang.String |
getAcceptHeader()
|
protected java.lang.String |
getRealm(java.lang.String property)
parses the WWW-Authenticate property and returns the realm for jdk1.1 support |
protected java.net.URLConnection |
openConnection(java.net.URL dest)
|
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 |
post(java.net.URL dest,
java.lang.String 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! |
XSmilesConnection |
put(java.net.URL dest,
java.lang.String 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)
|
void |
setRequestProperties(java.net.URLConnection connection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTTPJavaImpl()
| Method Detail |
public XSmilesConnection get(java.net.URL dest,
BrowserWindow b)
throws java.lang.Exception
get in interface HTTPInterfacejava.lang.Exceptionpublic java.lang.String base64Encode(byte[] bytes)
protected java.net.URLConnection openConnection(java.net.URL dest)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getRealm(java.lang.String property)
public void setRequestProperties(java.net.URLConnection connection)
public java.lang.String getAcceptHeader()
public XSmilesConnection post(java.net.URL dest,
java.lang.String data,
java.util.Hashtable properties,
java.lang.String content_type)
throws java.lang.Exception
java.lang.Exception
public XSmilesConnection post(java.net.URL dest,
byte[] data,
java.util.Hashtable properties,
java.lang.String content_type)
throws java.lang.Exception
post in interface HTTPInterfacejava.lang.Exception
public XSmilesConnection put(java.net.URL dest,
java.lang.String data,
java.util.Hashtable properties,
java.lang.String content_type)
throws java.lang.Exception
java.lang.Exception
public XSmilesConnection put(java.net.URL dest,
byte[] data,
java.util.Hashtable properties,
java.lang.String content_type)
throws java.lang.Exception
put in interface HTTPInterfacejava.lang.Exceptionpublic void setBrowser(BrowserWindow b)
setBrowser in interface HTTPInterfacepublic void enableDebug(boolean debug)
enableDebug in interface HTTPInterface
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||