stub_HttpRequest.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2020 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 
19 HttpRequest::HttpRequest(const HttpRequestMethod &, AnyP::ProtocolType, const char *, const char *, const MasterXaction::Pointer &) : Http::Message(hoRequest) {STUB}
21 void HttpRequest::reset() STUB
22 void HttpRequest::initHTTP(const HttpRequestMethod &, AnyP::ProtocolType, const char *, const char *) STUB
23 HttpRequest * HttpRequest::clone() const STUB_RETVAL(NULL)
24 bool HttpRequest::maybeCacheable() STUB_RETVAL(false)
25 bool HttpRequest::conditional() const STUB_RETVAL(false)
26 bool HttpRequest::canHandle1xx() const STUB_RETVAL(false)
27 char * HttpRequest::canonicalCleanUrl() const STUB_RETVAL(nullptr)
28 #if USE_ADAPTATION
30 Adaptation::History::Pointer HttpRequest::adaptHistory(bool) const STUB_RETVAL(Adaptation::History::Pointer())
31 void HttpRequest::adaptHistoryImport(const HttpRequest &) STUB
32 #endif
33 #if ICAP_CLIENT
35 #endif
39 void HttpRequest::clean() STUB
40 void HttpRequest::init() STUB
41 static const SBuf nilSBuf;
42 const SBuf &HttpRequest::effectiveRequestUri() const STUB_RETVAL(nilSBuf)
43 bool HttpRequest::multipartRangeRequest() const STUB_RETVAL(false)
44 bool HttpRequest::parseFirstLine(const char *, const char *) STUB_RETVAL(false)
45 bool HttpRequest::expectingBody(const HttpRequestMethod &, int64_t &) const STUB_RETVAL(false)
46 bool HttpRequest::bodyNibbled() const STUB_RETVAL(false)
47 int HttpRequest::prefixLen() const STUB_RETVAL(0)
48 void HttpRequest::swapOut(StoreEntry *) STUB
49 void HttpRequest::pack(Packable *) const STUB
51 HttpRequest * HttpRequest::FromUrl(const SBuf &, const MasterXaction::Pointer &, const HttpRequestMethod &) STUB_RETVAL(nullptr)
52 HttpRequest * HttpRequest::FromUrlXXX(const char *, const MasterXaction::Pointer &, const HttpRequestMethod &) STUB_RETVAL(nullptr)
53 ConnStateData *HttpRequest::pinnedConnection() STUB_RETVAL(NULL)
55 void HttpRequest::ignoreRange(const char *) STUB
56 int64_t HttpRequest::getRangeOffsetLimit() STUB_RETVAL(0)
57 void HttpRequest::packFirstLineInto(Packable *, bool) const STUB
58 bool HttpRequest::sanityCheckStartLine(const char *, const size_t, Http::StatusCode *) STUB_RETVAL(false)
59 void HttpRequest::hdrCacheInit() STUB
60 bool HttpRequest::inheritProperties(const Http::Message *) STUB_RETVAL(false)
61 NotePairs::Pointer HttpRequest::notes() STUB_RETVAL(NotePairs::Pointer())
62 
#define STUB_RETVAL(x)
Definition: STUB.h:41
void clearError()
clear error details, useful for retries/repeats
Definition: HttpRequest.cc:482
Definition: SBuf.h:86
void httpRequestPack(void *obj, Packable *p)
Definition: HttpRequest.cc:364
void detailError(err_type aType, int aDetail)
sets error detail if no earlier detail was available
Definition: HttpRequest.cc:468
StatusCode
Definition: StatusCode.h:20
Definition: forward.h:21
static const char * storeId(const int i)
Definition: testRock.cc:180
ProtocolType
Definition: ProtocolType.h:23
#define NULL
Definition: types.h:166
Definition: forward.h:14
void recordLookup(const Dns::LookupDetails &detail)
Definition: HttpRequest.cc:605
err_type
Definition: err_type.h:12
Adaptation::Icap::History::Pointer icapHistory() const
Returns possibly nil history, creating it if icap logging is enabled.
Definition: HttpRequest.cc:392
HttpRequest(const MasterXaction::Pointer &)
Definition: HttpRequest.cc:43
encapsulates DNS lookup results
Definition: LookupDetails.h:20
#define STUB
macro to stub a void function.
Definition: STUB.h:33
Adaptation::History::Pointer adaptLogHistory() const
Returns possibly nil history, creating it if adapt. logging is enabled.
Definition: HttpRequest.cc:418
#define false
Definition: GnuRegex.c:233
@ hoRequest
Definition: HttpHeader.h:36

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors