public class NioClient extends Object implements SimpleClient
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| void | submit(RequestMessage requestMessage,
      Consumer<ResponseMessage> callback) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubmitpublic NioClient()
public NioClient(URI uri)
public void submit(RequestMessage requestMessage, Consumer<ResponseMessage> callback) throws Exception
submit in interface SimpleClientExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2013–2015 Apache Software Foundation. All rights reserved.