pivot.web
Class DeleteQuery
java.lang.Object
pivot.util.concurrent.Task<V>
pivot.io.IOTask<V>
pivot.web.Query<Void>
pivot.web.DeleteQuery
public class DeleteQuery
- extends Query<Void>
Executes an HTTP DELETE operation.
- Author:
- gbrown
Methods inherited from class pivot.web.Query |
execute, getBytesExpected, getBytesReceived, getBytesSent, getHostname, getHostnameVerifier, getLocation, getParameters, getPath, getPort, getQueryListeners, getRequestHeaders, getResponseHeaders, getSerializer, getStatus, isSecure, setHostnameVerifier, setSerializer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD
public static final Query.Method METHOD
DeleteQuery
public DeleteQuery(String hostname,
String path)
DeleteQuery
public DeleteQuery(String hostname,
int port,
String path,
boolean secure)
getMethod
public Query.Method getMethod()
- Specified by:
getMethod
in class Query<Void>
execute
public Void execute()
throws QueryException
- Synchronously executes the DELETE operation.
- Specified by:
execute
in class Task<Void>
- Returns:
- The result of the task's execution.
- Throws:
QueryException