21 debugs(93, 4,
"error: " <<
final);
30 debugs(93, 4,
"forwarding: " << (
void*)aMsg);
39 debugs(93, 4,
"blocking rule: " << aRule);
summarizes adaptation service answer for the noteAdaptationAnswer() API
String ruleId
ACL (or similar rule) name that blocked forwarding.
static Answer Forward(Http::Message *aMsg)
create an akForward answer
static Answer Error(bool final)
create an akError answer
static Answer Block(const String &aRule)
create an 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)