Package org.apache.hc.core5.http.nio

Core HTTP transport APIs based on the asynchronous, event driven I/O model.

See: Description

Package org.apache.hc.core5.http.nio Description

Core HTTP transport APIs based on the asynchronous, event driven I/O model.

The application programming interface is based on the concept of channels and event handlers. The channels act as conduits for asynchronous data output. They are generally expected to be thread-safe and could be used by multiple threads concurrently. The event handlers react to asynchronous signals or events and communicate with the opposite endpoint through available channels. Event handlers can be specialized as data producers, data consumers or can be both. Generally event handlers can only be used by a single thread at a time and do not require synchronization as long as they do not interact with event handlers run by separate threads.

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.