public interface Connection extends java.io.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
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 © 2010 - 2019 Adobe. All Rights Reserved