Package org.eclipse.jetty.util
Class Promise.Wrapper<W>
- java.lang.Object
 - 
- org.eclipse.jetty.util.Promise.Wrapper<W>
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Promise
Promise.Adapter<U>, Promise.Completable<S>, Promise.Wrapper<W> 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidfailed(java.lang.Throwable x)Deprecated.Callback invoked when the operation fails.Promise<W>getPromise()Deprecated.voidsucceeded(W result)Deprecated.Callback invoked when the operation completes.Promise<W>unwrap()Deprecated. 
 - 
 
- 
- 
Method Detail
- 
succeeded
public void succeeded(W result)
Deprecated.Description copied from interface:PromiseCallback invoked when the operation completes.
- Specified by:
 succeededin interfacePromise<W>- Parameters:
 result- the context- See Also:
 Promise.failed(Throwable)
 
- 
failed
public void failed(java.lang.Throwable x)
Deprecated.Description copied from interface:PromiseCallback invoked when the operation fails.
 
 - 
 
 -