| |
|
| java.lang.Object java.lang.Thread bdd.search.query.QueryConnection
QueryConnection | public class QueryConnection extends Thread (Code) | | Written by Tim Macinta 1997
Distributed under the GNU Public License
(a copy of which is enclosed with the source).
This class is the server side end of a connection to the web server.
|
Method Summary | |
int | hexValue(char c) Returns the hex value of "c" or -1 if there is no corresponding
hex value. | Hashtable | parsePairs(String line) Takes an url-encoded list of name value pairs as submitted via a
form and decodes all the pairs into a Hashtable keyed by the
names of the pairs. | public void | run() Read a query and respond appropriately. | String | urlDecode(String encoded) Decodes a string that has been url-encoded. |
hexValue | int hexValue(char c)(Code) | | Returns the hex value of "c" or -1 if there is no corresponding
hex value.
|
parsePairs | Hashtable parsePairs(String line)(Code) | | Takes an url-encoded list of name value pairs as submitted via a
form and decodes all the pairs into a Hashtable keyed by the
names of the pairs.
|
run | public void run()(Code) | | Read a query and respond appropriately.
|
urlDecode | String urlDecode(String encoded)(Code) | | Decodes a string that has been url-encoded.
|
|
|
|