|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BT747HttpSender
Method Summary | |
---|---|
void |
doRequest(java.lang.String hostname,
int port,
java.lang.String file,
java.lang.String user,
java.lang.String password,
BT747Hashtable data,
java.lang.String encodingOrNull,
LocationSender caller)
Send out data to a server using http the protocol. |
Method Detail |
---|
void doRequest(java.lang.String hostname, int port, java.lang.String file, java.lang.String user, java.lang.String password, BT747Hashtable data, java.lang.String encodingOrNull, LocationSender caller)
hostname
- a hostname like "www.server.com"port
- a port, typically 80 or 443 for protocols http or https resp.file
- something trailing the server name like "cgi" in
"http://my.server.com:80/cgi"user
- a username for authentication. There will be no authentication
if the username is empty or null.password
- a password, only used when username ist not null and not
empty.data
- a BT747Hashtable containing request parameters as key value
pairs. May be empty but must not be null.encodingOrNull
- an encoding for the post parameters like "UTF-8" (which is
also the default)caller
- An HttpLocationSender. The object that calls this method. This
is used for callbacks for the results.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |