|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.util.concurrent.Task<V>
pivot.io.IOTask<V>
pivot.web.Query<java.lang.Object>
pivot.web.GetQuery
public class GetQuery
Executes an HTTP GET operation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class pivot.web.Query |
---|
Query.ArgumentsDictionary, Query.Method, Query.RequestPropertiesDictionary, Query.ResponsePropertiesDictionary |
Nested classes/interfaces inherited from class pivot.io.IOTask |
---|
IOTask.MonitoredInputStream, IOTask.MonitoredOutputStream |
Field Summary |
---|
Fields inherited from class pivot.web.Query |
---|
DEFAULT_PORT |
Fields inherited from class pivot.io.IOTask |
---|
bytesReceived, bytesSent |
Fields inherited from class pivot.util.concurrent.Task |
---|
abort, timeout |
Constructor Summary | |
---|---|
GetQuery(java.lang.String hostname,
int port,
java.lang.String path,
boolean secure)
|
|
GetQuery(java.lang.String hostname,
java.lang.String path)
|
Method Summary | |
---|---|
java.lang.Object |
execute()
Synchronously executes the GET operation. |
Methods inherited from class pivot.web.Query |
---|
execute, getArguments, getBytesExpected, getBytesReceived, getBytesSent, getHostname, getHostnameVerifier, getLocation, getPath, getPort, getQueryListeners, getRequestProperties, getResponseProperties, getSerializer, isSecure, setHostnameVerifier, setSerializer |
Methods inherited from class pivot.util.concurrent.Task |
---|
abort, execute, getDispatcher, getFault, getResult, getTimeout, isPending, setTimeout |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetQuery(java.lang.String hostname, java.lang.String path)
public GetQuery(java.lang.String hostname, int port, java.lang.String path, boolean secure)
Method Detail |
---|
public java.lang.Object execute() throws QueryException
execute
in class Task<java.lang.Object>
QueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |