|
| MOCK_CONST_METHOD0 (getProtocol, CodecProtocol()) |
|
| MOCK_CONST_METHOD0 (getUserAgent, const std::string &()) |
|
| MOCK_CONST_METHOD0 (getTransportDirection, TransportDirection()) |
|
| MOCK_CONST_METHOD0 (supportsStreamFlowControl, bool()) |
|
| MOCK_CONST_METHOD0 (supportsSessionFlowControl, bool()) |
|
| MOCK_METHOD0 (createStream, HTTPCodec::StreamID()) |
|
| MOCK_METHOD1 (setCallback, void(Callback *)) |
|
| MOCK_CONST_METHOD0 (isBusy, bool()) |
|
| MOCK_CONST_METHOD0 (hasPartialTransaction, bool()) |
|
| MOCK_METHOD1 (setParserPaused, void(bool)) |
|
| MOCK_METHOD1 (onIngress, size_t(const folly::IOBuf &)) |
|
| MOCK_METHOD0 (onIngressEOF, void()) |
|
| MOCK_CONST_METHOD0 (isReusable, bool()) |
|
| MOCK_CONST_METHOD0 (isWaitingToDrain, bool()) |
|
| MOCK_CONST_METHOD0 (closeOnEgressComplete, bool()) |
|
| MOCK_CONST_METHOD0 (supportsParallelRequests, bool()) |
|
| MOCK_CONST_METHOD0 (supportsPushTransactions, bool()) |
|
| MOCK_METHOD5 (generateHeader, void(folly::IOBufQueue &, HTTPCodec::StreamID, const HTTPMessage &, bool eom, HTTPHeaderSize *)) |
|
| MOCK_METHOD6 (generatePushPromise, void(folly::IOBufQueue &, HTTPCodec::StreamID, const HTTPMessage &, HTTPCodec::StreamID, bool eom, HTTPHeaderSize *)) |
|
| MOCK_METHOD5 (generateBody, size_t(folly::IOBufQueue &, HTTPCodec::StreamID, std::shared_ptr< folly::IOBuf >, folly::Optional< uint8_t >, bool)) |
|
size_t | generateBody (folly::IOBufQueue &writeBuf, HTTPCodec::StreamID stream, std::unique_ptr< folly::IOBuf > chain, folly::Optional< uint8_t > padding, bool eom) override |
|
| MOCK_METHOD3 (generateChunkHeader, size_t(folly::IOBufQueue &, HTTPCodec::StreamID, size_t)) |
|
| MOCK_METHOD2 (generateChunkTerminator, size_t(folly::IOBufQueue &, HTTPCodec::StreamID)) |
|
| MOCK_METHOD3 (generateTrailers, size_t(folly::IOBufQueue &, HTTPCodec::StreamID, const HTTPHeaders &)) |
|
| MOCK_METHOD2 (generateEOM, size_t(folly::IOBufQueue &, HTTPCodec::StreamID)) |
|
| MOCK_METHOD3 (generateRstStream, size_t(folly::IOBufQueue &, HTTPCodec::StreamID, ErrorCode)) |
|
| MOCK_METHOD4 (generateGoaway, size_t(folly::IOBufQueue &, StreamID, ErrorCode, std::shared_ptr< folly::IOBuf >)) |
|
size_t | generateGoaway (folly::IOBufQueue &writeBuf, StreamID lastStream, ErrorCode statusCode, std::unique_ptr< folly::IOBuf > debugData) override |
|
| MOCK_METHOD1 (generatePingRequest, size_t(folly::IOBufQueue &)) |
|
| MOCK_METHOD2 (generatePingReply, size_t(folly::IOBufQueue &, uint64_t)) |
|
| MOCK_METHOD1 (generateSettings, size_t(folly::IOBufQueue &)) |
|
| MOCK_METHOD1 (generateSettingsAck, size_t(folly::IOBufQueue &)) |
|
| MOCK_METHOD3 (generateWindowUpdate, size_t(folly::IOBufQueue &, StreamID, uint32_t)) |
|
| MOCK_METHOD3 (generateCertificateRequest, size_t(folly::IOBufQueue &, uint16_t, std::shared_ptr< folly::IOBuf >)) |
|
size_t | generateCertificateRequest (folly::IOBufQueue &writeBuf, uint16_t requestId, std::unique_ptr< folly::IOBuf > authRequest) override |
|
| MOCK_METHOD3 (generateCertificate, size_t(folly::IOBufQueue &, uint16_t, std::shared_ptr< folly::IOBuf >)) |
|
size_t | generateCertificate (folly::IOBufQueue &writeBuf, uint16_t certId, std::unique_ptr< folly::IOBuf > authenticator) override |
|
| MOCK_METHOD0 (getEgressSettings, HTTPSettings *()) |
|
| MOCK_CONST_METHOD0 (getIngressSettings, const HTTPSettings *()) |
|
| MOCK_METHOD0 (enableDoubleGoawayDrain, void()) |
|
| MOCK_CONST_METHOD0 (getDefaultWindowSize, uint32_t()) |
|
| MOCK_METHOD3 (addPriorityNodes, size_t(PriorityQueue &, folly::IOBufQueue &, uint8_t)) |
|
| MOCK_CONST_METHOD1 (mapPriorityToDependency, HTTPCodec::StreamID(uint8_t)) |
|
virtual | ~HTTPCodec () |
|
virtual HPACKTableInfo | getHPACKTableInfo () const |
|
virtual CodecProtocol | getProtocol () const =0 |
|
virtual const std::string & | getUserAgent () const =0 |
|
virtual TransportDirection | getTransportDirection () const =0 |
|
virtual bool | supportsStreamFlowControl () const |
|
virtual bool | supportsSessionFlowControl () const |
|
virtual StreamID | createStream ()=0 |
|
virtual void | setCallback (Callback *callback)=0 |
|
virtual bool | isBusy () const =0 |
|
virtual void | setParserPaused (bool paused)=0 |
|
virtual size_t | onIngress (const folly::IOBuf &buf)=0 |
|
virtual void | onIngressEOF ()=0 |
|
virtual bool | onIngressUpgradeMessage (const HTTPMessage &) |
|
virtual bool | isReusable () const =0 |
|
virtual bool | isWaitingToDrain () const =0 |
|
virtual bool | closeOnEgressComplete () const =0 |
|
virtual bool | supportsParallelRequests () const =0 |
|
virtual bool | supportsPushTransactions () const =0 |
|
virtual bool | supportsExTransactions () const |
|
virtual size_t | generateConnectionPreface (folly::IOBufQueue &) |
|
virtual void | generateHeader (folly::IOBufQueue &writeBuf, StreamID stream, const HTTPMessage &msg, bool eom=false, HTTPHeaderSize *size=nullptr)=0 |
|
virtual void | generatePushPromise (folly::IOBufQueue &, StreamID, const HTTPMessage &, StreamID, bool, HTTPHeaderSize *) |
|
virtual void | generateExHeader (folly::IOBufQueue &, StreamID, const HTTPMessage &, const HTTPCodec::ExAttributes &, bool, HTTPHeaderSize *) |
|
virtual size_t | generateChunkHeader (folly::IOBufQueue &writeBuf, StreamID stream, size_t length)=0 |
|
virtual size_t | generateChunkTerminator (folly::IOBufQueue &writeBuf, StreamID stream)=0 |
|
virtual size_t | generateTrailers (folly::IOBufQueue &writeBuf, StreamID stream, const HTTPHeaders &trailers)=0 |
|
virtual size_t | generateEOM (folly::IOBufQueue &writeBuf, StreamID stream)=0 |
|
virtual size_t | generateRstStream (folly::IOBufQueue &writeBuf, StreamID stream, ErrorCode code)=0 |
|
virtual size_t | generatePingRequest (folly::IOBufQueue &) |
|
virtual size_t | generatePingReply (folly::IOBufQueue &, uint64_t) |
|
virtual size_t | generateSettings (folly::IOBufQueue &) |
|
virtual size_t | generateSettingsAck (folly::IOBufQueue &) |
|
virtual size_t | generateWindowUpdate (folly::IOBufQueue &, StreamID, uint32_t) |
|
virtual size_t | generatePriority (folly::IOBufQueue &, StreamID, const HTTPMessage::HTTPPriority &) |
|
virtual HTTPSettings * | getEgressSettings () |
|
virtual const HTTPSettings * | getIngressSettings () const |
|
virtual void | enableDoubleGoawayDrain () |
|
virtual void | setHeaderCodecStats (HeaderCodec::Stats *) |
|
virtual StreamID | getLastIncomingStreamID () const |
|
virtual uint32_t | getDefaultWindowSize () const |
|
virtual size_t | addPriorityNodes (PriorityQueue &, folly::IOBufQueue &, uint8_t) |
|
virtual StreamID | mapPriorityToDependency (uint8_t) const |
|
virtual int8_t | mapDependencyToPriority (StreamID) const |
|
Definition at line 22 of file MockHTTPCodec.h.