public interface Connection extends Closeable
Connectionrepresent a connection to a
Destinationand allow applications to send requests via
Connections are normally pooled by
Destinations, but unpooled
may be created by applications that want to do their own connection management via
|Modifier and Type||Method and Description|
Sends a request with an associated response listener.
void send(Request request, Response.CompleteListener listener)
Request.send(Response.CompleteListener) will eventually call this method to send the request.
It is exposed to allow applications to send requests via unpooled connections.
request- the request to send
listener- the response listener
Copyright © 1995–2017 Webtide. All rights reserved.