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, wait
getOperationType
handleRequest
protected abstract void sendRequest(ActiveOperation.ResultHandler<T> resultHandler, ManagementRequestContext<A> context, FlushableDataOutput output) throws IOException
resultHandler
- the result handlercontext
- the request contextoutput
- the data outputIOException
public void sendRequest(ActiveOperation.ResultHandler<T> resultHandler, ManagementRequestContext<A> context) throws IOException
ManagementRequest
sendRequest
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.