|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbackend.ServerConnector
public class ServerConnector
| Constructor Summary | |
|---|---|
ServerConnector()
|
|
| Method Summary | |
|---|---|
java.io.InputStreamReader |
queryServer(java.lang.String data)
This method is a wrapper method for sendQueryPost. |
java.io.InputStreamReader |
sendQueryPost(java.lang.String url,
java.lang.String data)
Sends a query to the server. |
java.io.InputStreamReader |
simpleQuery(java.lang.String query)
This is a simplified version of the other query functions in this class which serves to make the query process easier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerConnector()
| Method Detail |
|---|
public java.io.InputStreamReader queryServer(java.lang.String data)
data - -- The data to send to the server.
public java.io.InputStreamReader sendQueryPost(java.lang.String url,
java.lang.String data)
throws java.io.IOException
url - -- The URL of the script to query.data - -- The data to send to the server.
java.io.IOExceptionpublic java.io.InputStreamReader simpleQuery(java.lang.String query)
query - -- The data to send to the server.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||