proxygen
|
#include <Mocks.h>
Public Member Functions | |
MockResponseHandler (RequestHandler *h) | |
GMOCK_METHOD1_ (, noexcept,, sendHeaders, void(HTTPMessage &)) | |
GMOCK_METHOD1_ (, noexcept,, sendChunkHeader, void(size_t)) | |
GMOCK_METHOD1_ (, noexcept,, sendBody, void(std::shared_ptr< folly::IOBuf >)) | |
GMOCK_METHOD0_ (, noexcept,, sendChunkTerminator, void()) | |
GMOCK_METHOD0_ (, noexcept,, sendEOM, void()) | |
GMOCK_METHOD0_ (, noexcept,, sendAbort, void()) | |
GMOCK_METHOD0_ (, noexcept,, refreshTimeout, void()) | |
GMOCK_METHOD0_ (, noexcept,, pauseIngress, void()) | |
GMOCK_METHOD0_ (, noexcept,, resumeIngress, void()) | |
GMOCK_METHOD1_ (, noexcept,, newPushedResponse, ResponseHandler *(PushHandler *)) | |
MOCK_CONST_METHOD1 (getCurrentTransportInfo, void(wangle::TransportInfo *)) | |
const wangle::TransportInfo & | getSetupTransportInfo () const noexceptoverride |
void | sendBody (std::unique_ptr< folly::IOBuf > body) noexceptoverride |
Public Member Functions inherited from proxygen::ResponseHandler | |
ResponseHandler (RequestHandler *upstream) | |
virtual | ~ResponseHandler () |
virtual void | sendHeaders (HTTPMessage &msg) noexcept=0 |
virtual void | sendChunkHeader (size_t len) noexcept=0 |
virtual void | sendChunkTerminator () noexcept=0 |
virtual void | sendEOM () noexcept=0 |
virtual void | sendAbort () noexcept=0 |
virtual void | refreshTimeout () noexcept=0 |
virtual void | pauseIngress () noexcept=0 |
virtual void | resumeIngress () noexcept=0 |
virtual ResponseHandler * | newPushedResponse (PushHandler *pushHandler) noexcept=0 |
virtual ResponseHandler * | newExMessage (ExMessageHandler *, bool=false) noexcept |
virtual void | getCurrentTransportInfo (wangle::TransportInfo *tinfo) const =0 |
HTTPTransaction * | getTransaction () const noexcept |
Public Attributes | |
wangle::TransportInfo | transportInfo |
Additional Inherited Members | |
Protected Attributes inherited from proxygen::ResponseHandler | |
RequestHandler * | upstream_ {nullptr} |
HTTPTransaction * | txn_ {nullptr} |
|
inlineexplicit |
Definition at line 24 of file Mocks.h.
References proxygen::ResponseHandler::getCurrentTransportInfo(), GMOCK_METHOD0_(), GMOCK_METHOD1_(), MOCK_CONST_METHOD1(), proxygen::ResponseHandler::newPushedResponse(), folly::pushmi::__adl::noexcept(), proxygen::ResponseHandler::pauseIngress(), proxygen::ResponseHandler::refreshTimeout(), proxygen::ResponseHandler::resumeIngress(), proxygen::ResponseHandler::sendAbort(), sendBody(), proxygen::ResponseHandler::sendChunkHeader(), proxygen::ResponseHandler::sendChunkTerminator(), proxygen::ResponseHandler::sendEOM(), and proxygen::ResponseHandler::sendHeaders().
|
inlineoverridevirtualnoexcept |
Implements proxygen::ResponseHandler.
Definition at line 48 of file Mocks.h.
References transportInfo.
proxygen::MockResponseHandler::GMOCK_METHOD0_ | ( | noexcept | , |
sendChunkTerminator | , | ||
void() | |||
) |
Referenced by MockResponseHandler().
proxygen::MockResponseHandler::GMOCK_METHOD0_ | ( | noexcept | , |
sendEOM | , | ||
void() | |||
) |
proxygen::MockResponseHandler::GMOCK_METHOD0_ | ( | noexcept | , |
sendAbort | , | ||
void() | |||
) |
proxygen::MockResponseHandler::GMOCK_METHOD0_ | ( | noexcept | , |
refreshTimeout | , | ||
void() | |||
) |
proxygen::MockResponseHandler::GMOCK_METHOD0_ | ( | noexcept | , |
pauseIngress | , | ||
void() | |||
) |
proxygen::MockResponseHandler::GMOCK_METHOD0_ | ( | noexcept | , |
resumeIngress | , | ||
void() | |||
) |
proxygen::MockResponseHandler::GMOCK_METHOD1_ | ( | noexcept | , |
sendHeaders | , | ||
void(HTTPMessage &) | |||
) |
Referenced by MockResponseHandler().
proxygen::MockResponseHandler::GMOCK_METHOD1_ | ( | noexcept | , |
sendChunkHeader | , | ||
void(size_t) | |||
) |
proxygen::MockResponseHandler::GMOCK_METHOD1_ | ( | noexcept | , |
sendBody | , | ||
void(std::shared_ptr< folly::IOBuf >) | |||
) |
proxygen::MockResponseHandler::GMOCK_METHOD1_ | ( | noexcept | , |
newPushedResponse | , | ||
ResponseHandler * | PushHandler * | ||
) |
proxygen::MockResponseHandler::MOCK_CONST_METHOD1 | ( | getCurrentTransportInfo | , |
void(wangle::TransportInfo *) | |||
) |
Referenced by MockResponseHandler().
|
inlineoverridevirtualnoexcept |
Implements proxygen::ResponseHandler.
Definition at line 52 of file Mocks.h.
Referenced by MockResponseHandler().
wangle::TransportInfo proxygen::MockResponseHandler::transportInfo |
Definition at line 60 of file Mocks.h.
Referenced by getSetupTransportInfo().