Package org.apache.pivot.web
Class DeleteQuery
- java.lang.Object
- 
- org.apache.pivot.util.concurrent.Task<V>
- 
- org.apache.pivot.io.IOTask<V>
- 
- org.apache.pivot.web.Query<java.lang.Void>
- 
- org.apache.pivot.web.DeleteQuery
 
 
 
 
- 
 public class DeleteQuery extends Query<java.lang.Void> Executes an HTTP DELETE operation.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.pivot.web.QueryQuery.Method, Query.Status
 - 
Nested classes/interfaces inherited from class org.apache.pivot.io.IOTaskIOTask.MonitoredInputStream, IOTask.MonitoredOutputStream
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static Query.MethodMETHOD- 
Fields inherited from class org.apache.pivot.web.QueryDEFAULT_PORT
 - 
Fields inherited from class org.apache.pivot.io.IOTaskbytesReceived, bytesSent
 - 
Fields inherited from class org.apache.pivot.util.concurrent.Taskabort, DEFAULT_EXECUTOR_SERVICE, timeout
 
- 
 - 
Constructor SummaryConstructors Constructor Description DeleteQuery(java.lang.String hostname, int port, java.lang.String path, boolean secure)DeleteQuery(java.lang.String hostname, int port, java.lang.String path, boolean secure, java.util.concurrent.ExecutorService executorService)DeleteQuery(java.lang.String hostname, java.lang.String path)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Voidexecute()Synchronously executes the DELETE operation.Query.MethodgetMethod()- 
Methods inherited from class org.apache.pivot.web.Queryexecute, 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.Taskabort, execute, execute, getBackgroundThread, getExecutorService, getFault, getResult, getTimeout, isPending, setTimeout
 
- 
 
- 
- 
- 
Field Detail- 
METHODpublic static final Query.Method METHOD 
 
- 
 - 
Constructor Detail- 
DeleteQuerypublic DeleteQuery(java.lang.String hostname, java.lang.String path)
 - 
DeleteQuerypublic DeleteQuery(java.lang.String hostname, int port, java.lang.String path, boolean secure)
 - 
DeleteQuerypublic DeleteQuery(java.lang.String hostname, int port, java.lang.String path, boolean secure, java.util.concurrent.ExecutorService executorService)
 
- 
 - 
Method Detail- 
getMethodpublic Query.Method getMethod() 
 - 
executepublic java.lang.Void execute() throws QueryExceptionSynchronously executes the DELETE operation.- Specified by:
- executein class- Task<java.lang.Void>
- Returns:
- The result of the task's execution.
- Throws:
- QueryException
 
 
- 
 
-