21 debugs(93, 4,
"error: " <<
final);
30 debugs(93, 4,
"forwarding: " << (
void*)aMsg);
39 debugs(93, 4,
"blocking rule: " << aRule);
std::optional< SBuf > lastCheckedName
the name of the ACL (if any) that was evaluated last while obtaining this answer
summarizes adaptation service answer for the noteAdaptationAnswer() API
std::optional< SBuf > ruleId
ACL (or similar rule) name that blocked forwarding.
static Answer Block(const SBuf &aRule)
create an akBlock answer
static Answer Forward(Http::Message *aMsg)
create an akForward answer
static Answer Error(bool final)
create an akError answer
Acl::Answer blockedToChecklistAnswer() const
creates an Acl::Answer from akBlock answer
std::ostream & print(std::ostream &os) const
Http::MessagePointer message
HTTP request or response to forward.
Answer(Kind aKind)
use static creators instead
bool final
whether the error, if any, cannot be bypassed
Kind
helps interpret other members without a class hierarchy
@ akError
no adapted message will come; see bypassable
common parts of HttpRequest and HttpReply
#define debugs(SECTION, LEVEL, CONTENT)