pivot.web
Class DeleteQuery

java.lang.Object
  extended by pivot.util.concurrent.Task<V>
      extended by pivot.io.IOTask<V>
          extended by pivot.web.Query<java.lang.Void>
              extended by pivot.web.DeleteQuery

public class DeleteQuery
extends Query<java.lang.Void>

Executes an HTTP DELETE operation.

Author:
gbrown

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
DeleteQuery(java.lang.String hostname, int port, java.lang.String path, boolean secure)
           
DeleteQuery(java.lang.String hostname, java.lang.String path)
           
 
Method Summary
 java.lang.Void execute()
          Synchronously executes the DELETE 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

DeleteQuery

public DeleteQuery(java.lang.String hostname,
                   java.lang.String path)

DeleteQuery

public DeleteQuery(java.lang.String hostname,
                   int port,
                   java.lang.String path,
                   boolean secure)
Method Detail

execute

public java.lang.Void execute()
                       throws QueryException
Synchronously executes the DELETE operation.

Specified by:
execute in class Task<java.lang.Void>
Returns:
The result of the task's execution.
Throws:
QueryException