|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pivot.util.concurrent.Task<V>
org.apache.pivot.io.IOTask<V>
org.apache.pivot.web.Query<Void>
org.apache.pivot.web.DeleteQuery
public class DeleteQuery
Executes an HTTP DELETE operation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.pivot.web.Query |
|---|
Query.Method, Query.Status |
| Nested classes/interfaces inherited from class org.apache.pivot.io.IOTask |
|---|
IOTask.MonitoredInputStream, IOTask.MonitoredOutputStream |
| Field Summary | |
|---|---|
static Query.Method |
METHOD
|
| Fields inherited from class org.apache.pivot.web.Query |
|---|
DEFAULT_PORT |
| Fields inherited from class org.apache.pivot.io.IOTask |
|---|
bytesReceived, bytesSent |
| Fields inherited from class org.apache.pivot.util.concurrent.Task |
|---|
abort, DEFAULT_EXECUTOR_SERVICE, timeout |
| Constructor Summary | |
|---|---|
DeleteQuery(String hostname,
int port,
String path,
boolean secure)
|
|
DeleteQuery(String hostname,
int port,
String path,
boolean secure,
ExecutorService executorService)
|
|
DeleteQuery(String hostname,
String path)
|
|
| Method Summary | |
|---|---|
Void |
execute()
Synchronously executes the DELETE operation. |
Query.Method |
getMethod()
|
| Methods inherited from class org.apache.pivot.web.Query |
|---|
execute, getBytesExpected, getBytesReceived, getBytesSent, getHostname, getHostnameVerifier, getLocation, getParameters, getPath, getPort, getProxy, getQueryListeners, getRequestHeaders, getResponseHeaders, getSerializer, getStatus, isSecure, setHostnameVerifier, setProxy, setSerializer |
| Methods inherited from class org.apache.pivot.util.concurrent.Task |
|---|
abort, execute, execute, getExecutorService, getFault, getResult, getTimeout, isPending, setTimeout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Query.Method METHOD
| Constructor Detail |
|---|
public DeleteQuery(String hostname,
String path)
public DeleteQuery(String hostname,
int port,
String path,
boolean secure)
public DeleteQuery(String hostname,
int port,
String path,
boolean secure,
ExecutorService executorService)
| Method Detail |
|---|
public Query.Method getMethod()
getMethod in class Query<Void>
public Void execute()
throws QueryException
execute in class Task<Void>QueryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||