#include <HeaderIndexingStrategy.h>
Definition at line 16 of file HeaderIndexingStrategy.h.
proxygen::HeaderIndexingStrategy::HeaderIndexingStrategy |
( |
| ) |
|
|
inline |
virtual proxygen::HeaderIndexingStrategy::~HeaderIndexingStrategy |
( |
| ) |
|
|
inlinevirtual |
bool proxygen::HeaderIndexingStrategy::indexHeader |
( |
const HPACKHeader & |
header | ) |
const |
|
virtual |
Reimplemented in proxygen::NoPathIndexingStrategy.
Definition at line 19 of file HeaderIndexingStrategy.cpp.
References folly::basic_fbstring< E, T, A, Storage >::find(), proxygen::HPACKHeaderName::getHeaderCode(), proxygen::HTTP_HEADER_COLON_PATH, proxygen::HTTP_HEADER_CONTENT_LENGTH, proxygen::HTTP_HEADER_IF_MODIFIED_SINCE, proxygen::HTTP_HEADER_LAST_MODIFIED, proxygen::HTTP_HEADER_NONE, proxygen::HPACKHeader::name, and proxygen::HPACKHeader::value.
Referenced by proxygen::HPACKEncoder::encodeHeader(), proxygen::NoPathIndexingStrategy::indexHeader(), proxygen::QPACKEncoder::shouldIndex(), TEST_F(), and ~HeaderIndexingStrategy().
22 switch(header.name.getHeaderCode()) {
24 if (header.value.find(
'=') != std::string::npos) {
27 if (header.value.find(
"jpg") != std::string::npos) {
The documentation for this class was generated from the following files: