proxygen
|
#include <HTTPSessionController.h>
Private Member Functions | |
HTTPTransactionHandler * | getRequestHandler (HTTPTransaction &, HTTPMessage *) final |
HTTPTransactionHandler * | getParseErrorHandler (HTTPTransaction *, const HTTPException &, const folly::SocketAddress &) final |
HTTPTransactionHandler * | getTransactionTimeoutHandler (HTTPTransaction *, const folly::SocketAddress &) final |
Additional Inherited Members | |
Public Member Functions inherited from proxygen::HTTPSessionController | |
virtual | ~HTTPSessionController () |
virtual void | attachSession (HTTPSessionBase *session)=0 |
virtual void | detachSession (const HTTPSessionBase *session)=0 |
virtual void | onSessionCodecChange (HTTPSessionBase *) |
virtual std::chrono::milliseconds | getGracefulShutdownTimeout () const |
virtual std::chrono::milliseconds | getSessionFlowControlTimeout () const |
virtual const HeaderIndexingStrategy * | getHeaderIndexingStrategy () const |
Definition at line 102 of file HTTPSessionController.h.
|
inlinefinalprivatevirtual |
Will be invoked when HTTPSession is unable to parse a new request on the connection because of bad input.
error contains specific information about what went wrong
Implements proxygen::HTTPSessionController.
Definition at line 115 of file HTTPSessionController.h.
References folly::FATAL.
|
inlinefinalprivatevirtual |
Will be invoked whenever HTTPSession successfully parses a request
The controller creates a Handler for a new transaction. The transaction and HTTP message (request) are passed so the implementation can construct different handlers based on these. The transaction will be explicitly set on the handler later via setTransaction. The request message will be passed in onHeadersComplete.
Implements proxygen::HTTPSessionController.
Definition at line 103 of file HTTPSessionController.h.
References folly::FATAL.
|
inlinefinalprivatevirtual |
Will be invoked when HTTPSession times out parsing a new request.
Implements proxygen::HTTPSessionController.
Definition at line 126 of file HTTPSessionController.h.
References folly::FATAL.