atscppapi  1.0.9
C++ wrapper for Apache Traffic Server API
 All Classes Files Functions Enumerations Enumerator Macros
Public Member Functions | List of all members
atscppapi::ClientRequest Class Reference

Encapsulates a client request. A client request is different from a server request as it has two URLs - the pristine URL sent by the client and a remapped URL created by the server. More...

#include "ClientRequest.h"

Inheritance diagram for atscppapi::ClientRequest:
atscppapi::Request

Public Member Functions

const UrlgetPristineUrl () const
 
- Public Member Functions inherited from atscppapi::Request
 Request (const std::string &url, HttpMethod method=HTTP_METHOD_GET, HttpVersion version=HTTP_VERSION_1_1)
 
HttpMethod getMethod () const
 
UrlgetUrl ()
 
HttpVersion getVersion () const
 
HeadersgetHeaders () const
 

Detailed Description

Encapsulates a client request. A client request is different from a server request as it has two URLs - the pristine URL sent by the client and a remapped URL created by the server.

Member Function Documentation

const Url & atscppapi::ClientRequest::getPristineUrl ( ) const

Returns the pristine (pre-remap) client request URL

Returns
Url Reference to non-mutable pristine URL.

The documentation for this class was generated from the following files: