stub_HttpRequest.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#include "squid.h"
10#include "AccessLogEntry.h"
11#include "HttpRequest.h"
12
13#define STUB_API "HttpRequest.cc"
14#include "tests/STUB.h"
15
16// void httpRequestPack(void *obj, Packable *p);
17
19HttpRequest::HttpRequest(const HttpRequestMethod &, AnyP::ProtocolType, const char *, const char *, const MasterXaction::Pointer &) : Http::Message(hoRequest) {STUB}
21void HttpRequest::reset() STUB
22void HttpRequest::initHTTP(const HttpRequestMethod &, AnyP::ProtocolType, const char *, const char *) STUB
23HttpRequest * HttpRequest::clone() const STUB_RETVAL(nullptr)
24bool HttpRequest::maybeCacheable() STUB_RETVAL(false)
25bool HttpRequest::conditional() const STUB_RETVAL(false)
26bool HttpRequest::canHandle1xx() const STUB_RETVAL(false)
27char * HttpRequest::canonicalCleanUrl() const STUB_RETVAL(nullptr)
28#if USE_ADAPTATION
30Adaptation::History::Pointer HttpRequest::adaptHistory(bool) const STUB_RETVAL(Adaptation::History::Pointer())
31void HttpRequest::adaptHistoryImport(const HttpRequest &) STUB
32#endif
33#if ICAP_CLIENT
35#endif
38void HttpRequest::clean() STUB
39void HttpRequest::init() STUB
40static const SBuf nilSBuf;
41const SBuf &HttpRequest::effectiveRequestUri() const STUB_RETVAL(nilSBuf)
42bool HttpRequest::multipartRangeRequest() const STUB_RETVAL(false)
43bool HttpRequest::parseFirstLine(const char *, const char *) STUB_RETVAL(false)
44bool HttpRequest::expectingBody(const HttpRequestMethod &, int64_t &) const STUB_RETVAL(false)
45bool HttpRequest::bodyNibbled() const STUB_RETVAL(false)
46int HttpRequest::prefixLen() const STUB_RETVAL(0)
47void HttpRequest::swapOut(StoreEntry *) STUB
48void HttpRequest::pack(Packable *) const STUB
50HttpRequest * HttpRequest::FromUrl(const SBuf &, const MasterXaction::Pointer &, const HttpRequestMethod &) STUB_RETVAL(nullptr)
51HttpRequest * HttpRequest::FromUrlXXX(const char *, const MasterXaction::Pointer &, const HttpRequestMethod &) STUB_RETVAL(nullptr)
52ConnStateData *HttpRequest::pinnedConnection() STUB_RETVAL(nullptr)
54void HttpRequest::ignoreRange(const char *) STUB
55int64_t HttpRequest::getRangeOffsetLimit() STUB_RETVAL(0)
56void HttpRequest::packFirstLineInto(Packable *, bool) const STUB
57bool HttpRequest::sanityCheckStartLine(const char *, const size_t, Http::StatusCode *) STUB_RETVAL(false)
58void HttpRequest::hdrCacheInit() STUB
59bool HttpRequest::inheritProperties(const Http::Message *) STUB_RETVAL(false)
60NotePairs::Pointer HttpRequest::notes() STUB_RETVAL(NotePairs::Pointer())
61
#define false
Definition: GnuRegex.c:240
@ hoRequest
Definition: HttpHeader.h:36
void httpRequestPack(void *obj, Packable *p)
Definition: HttpRequest.cc:361
#define STUB
macro to stub a void function.
Definition: STUB.h:33
#define STUB_RETVAL(x)
Definition: STUB.h:41
encapsulates DNS lookup results
Definition: LookupDetails.h:21
void recordLookup(const Dns::LookupDetails &detail)
Definition: HttpRequest.cc:583
void clearError()
clear error details, useful for retries/repeats
Definition: HttpRequest.cc:465
Adaptation::History::Pointer adaptLogHistory() const
Returns possibly nil history, creating it if adapt. logging is enabled.
Definition: HttpRequest.cc:415
HttpRequest(const MasterXaction::Pointer &)
Definition: HttpRequest.cc:42
Adaptation::Icap::History::Pointer icapHistory() const
Returns possibly nil history, creating it if icap logging is enabled.
Definition: HttpRequest.cc:389
Definition: SBuf.h:94
Definition: forward.h:15
ProtocolType
Definition: ProtocolType.h:23
Definition: forward.h:22
StatusCode
Definition: StatusCode.h:20
static const char * storeId(const int i)
Definition: testRock.cc:178

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors