A HttpConnection represents the connection of a HTTP client to the server
and is created by an instance of a
Connector . It's prime function is
to associate
Request and
Response instances with a
EndPoint .
A connection is also the prime mechanism used by jetty to recycle objects without
pooling. The
Request ,
Response ,
HttpParser ,
HttpGenerator and
HttpFields instances are all recycled for the duraction of
a connection. Where appropriate, allocated buffers are also kept associated
with the connection via the parser and/or generator.
author: gregw |