stub_HttpRequest.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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 #if USE_ADAPTATION
28 Adaptation::History::Pointer HttpRequest::adaptLogHistory() const STUB_RETVAL(Adaptation::History::Pointer())
29 Adaptation::History::Pointer HttpRequest::adaptHistory(bool) const STUB_RETVAL(Adaptation::History::Pointer())
30 void HttpRequest::adaptHistoryImport(const HttpRequest &) STUB
31 #endif
32 #if ICAP_CLIENT
33 Adaptation::Icap::History::Pointer HttpRequest::icapHistory() const STUB_RETVAL(Adaptation::Icap::History::Pointer())
34 #endif
36 void HttpRequest::detailError(err_type, int) STUB
37 void HttpRequest::clearError() STUB
38 void HttpRequest::clean() STUB
39 void HttpRequest::init() STUB
40 static const SBuf nilSBuf;
41 const SBuf &HttpRequest::effectiveRequestUri() const STUB_RETVAL(nilSBuf)
42 bool HttpRequest::multipartRangeRequest() const STUB_RETVAL(false)
43 bool HttpRequest::parseFirstLine(const char *, const char *) STUB_RETVAL(false)
44 bool HttpRequest::expectingBody(const HttpRequestMethod &, int64_t &) const STUB_RETVAL(false)
45 bool HttpRequest::bodyNibbled() const STUB_RETVAL(false)
46 int HttpRequest::prefixLen() const STUB_RETVAL(0)
47 void HttpRequest::swapOut(StoreEntry *) STUB
48 void HttpRequest::pack(Packable *) const STUB
49 void HttpRequest::httpRequestPack(void *, Packable *) STUB
50 HttpRequest * HttpRequest::FromUrl(const char *, const MasterXaction::Pointer &, const HttpRequestMethod &) STUB_RETVAL(NULL)
51 ConnStateData *HttpRequest::pinnedConnection() STUB_RETVAL(NULL)
53 void HttpRequest::ignoreRange(const char *) STUB
54 int64_t HttpRequest::getRangeOffsetLimit() STUB_RETVAL(0)
55 void HttpRequest::packFirstLineInto(Packable *, bool) const STUB
56 bool HttpRequest::sanityCheckStartLine(const char *, const size_t, Http::StatusCode *) STUB_RETVAL(false)
57 void HttpRequest::hdrCacheInit() STUB
58 bool HttpRequest::inheritProperties(const Http::Message *) STUB_RETVAL(false)
59 NotePairs::Pointer HttpRequest::notes() STUB_RETVAL(NotePairs::Pointer())
60 
void recordLookup(const Dns::LookupDetails &detail)
Definition: HttpRequest.cc:587
HttpRequest(const MasterXaction::Pointer &)
Definition: HttpRequest.cc:42
Definition: SBuf.h:87
encapsulates DNS lookup results
Definition: LookupDetails.h:20
StatusCode
Definition: StatusCode.h:20
#define STUB_RETVAL(x)
Definition: STUB.h:41
struct ClientInfo::Protocol Http
#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:425
Adaptation::Icap::History::Pointer icapHistory() const
Returns possibly nil history, creating it if icap logging is enabled.
Definition: HttpRequest.cc:399
static const char * storeId(const int i)
Definition: testRock.cc:177
void httpRequestPack(void *obj, Packable *p)
Definition: HttpRequest.cc:371
ProtocolType
Definition: ProtocolType.h:22
#define NULL
Definition: types.h:166
#define false
Definition: GnuRegex.c:233

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors