T - the response typeA - the attachment typepublic abstract class AbstractManagementRequest<T,A> extends Object implements ManagementRequest<T,A>
| Constructor and Description |
|---|
AbstractManagementRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
sendRequest(ActiveOperation.ResultHandler<T> resultHandler,
ManagementRequestContext<A> context)
Send the request.
|
protected abstract void |
sendRequest(ActiveOperation.ResultHandler<T> resultHandler,
ManagementRequestContext<A> context,
FlushableDataOutput output)
Send the request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationTypehandleRequestprotected abstract void sendRequest(ActiveOperation.ResultHandler<T> resultHandler, ManagementRequestContext<A> context, FlushableDataOutput output) throws IOException
resultHandler - the result handlercontext - the request contextoutput - the data outputIOExceptionpublic void sendRequest(ActiveOperation.ResultHandler<T> resultHandler, ManagementRequestContext<A> context) throws IOException
ManagementRequestsendRequest in interface ManagementRequest<T,A>resultHandler - the result handlercontext - the request contextIOException - for any errorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.