Package dev.relism.flash.http1
Class Http1Connection
java.lang.Object
dev.relism.flash.http1.Http1Connection
- All Implemented Interfaces:
ConnectionProtocol
The HTTP/1.1 keep-alive request loop: parse → route → handle → respond, repeated until the
connection closes. Sole responsibility: drive that loop for one connection; parsing lives in
RequestParser, serialization in Http1ResponseWriter, and the WebSocket upgrade
path hands off to WebSocketUpgrade/WebSocketLoop entirely — once a connection
upgrades, this class has nothing further to do with it.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun(ConnectionContext ctx) Runs this connection to completion.
-
Constructor Details
-
Http1Connection
public Http1Connection()
-
-
Method Details
-
run
Description copied from interface:ConnectionProtocolRuns this connection to completion. Returns when the connection should be closed.- Specified by:
runin interfaceConnectionProtocol- Throws:
IOException
-