public class

GrizzlyResponseFuture

extends AbstractListenableFuture<V>
java.lang.Object
   ↳ com.ning.http.client.listenable.AbstractListenableFuture<V>
     ↳ com.ning.http.client.providers.grizzly.GrizzlyResponseFuture<V>

Class Overview

AbstractListenableFuture implementation adaptation of Grizzly's FutureImpl.

Summary

Public Methods
void abort(Throwable t)
boolean cancel(boolean mayInterruptIfRunning)
void content(V v)
void done(Callable callable)
V get()
V get(long timeout, TimeUnit unit)
boolean getAndSetWriteBody(boolean writeBody)
boolean getAndSetWriteHeaders(boolean writeHeaders)
boolean isCancelled()
boolean isDone()
void touch()
[Expand]
Inherited Methods
From class com.ning.http.client.listenable.AbstractListenableFuture
From class java.lang.Object
From interface com.ning.http.client.ListenableFuture
From interface java.util.concurrent.Future

Public Methods

public void abort (Throwable t)

public boolean cancel (boolean mayInterruptIfRunning)

public void content (V v)

public void done (Callable callable)

public V get ()

Throws
InterruptedException
ExecutionException

public V get (long timeout, TimeUnit unit)

Throws
InterruptedException
ExecutionException
TimeoutException

public boolean getAndSetWriteBody (boolean writeBody)

public boolean getAndSetWriteHeaders (boolean writeHeaders)

public boolean isCancelled ()

public boolean isDone ()

public void touch ()