XrdHttpExtReq Class Reference

#include <XrdHttpExtHandler.hh>

Collaboration diagram for XrdHttpExtReq:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 XrdHttpExtReq (XrdHttpReq *req, XrdHttpProtocol *pr)
const XrdSecEntityGetSecEntity () const
int BuffgetData (int blen, char **data, bool wait)
 Get a pointer to data read from the client, valid for up to blen bytes from the buffer. Returns the validity.
int SendSimpleResp (int code, const char *desc, const char *header_to_add, const char *body, long long bodylen)
 Sends a basic response. If the length is < 0 then it is calculated internally.
int StartChunkedResp (int code, const char *desc, const char *header_to_add)
 Starts a chunked response; body of request is sent over multiple parts using the SendChunkResp.
int ChunkResp (const char *body, long long bodylen)
 Send a (potentially partial) body in a chunked response; invoking with NULL body.

Public Attributes

std::string verb
std::string resource
std::map< std::string,
std::string > & 
headers
std::string clientdn
std::string clienthost
std::string clientgroups
long long length

Private Attributes

XrdHttpProtocolprot

Constructor & Destructor Documentation

XrdHttpExtReq::XrdHttpExtReq ( XrdHttpReq req,
XrdHttpProtocol pr 
)

Member Function Documentation

int XrdHttpExtReq::BuffgetData ( int  blen,
char **  data,
bool  wait 
)

Get a pointer to data read from the client, valid for up to blen bytes from the buffer. Returns the validity.

int XrdHttpExtReq::ChunkResp ( const char *  body,
long long  bodylen 
)

Send a (potentially partial) body in a chunked response; invoking with NULL body.

const XrdSecEntity& XrdHttpExtReq::GetSecEntity (  )  const
int XrdHttpExtReq::SendSimpleResp ( int  code,
const char *  desc,
const char *  header_to_add,
const char *  body,
long long  bodylen 
)

Sends a basic response. If the length is < 0 then it is calculated internally.

int XrdHttpExtReq::StartChunkedResp ( int  code,
const char *  desc,
const char *  header_to_add 
)

Starts a chunked response; body of request is sent over multiple parts using the SendChunkResp.


Member Data Documentation

std::map<std::string, std::string>& XrdHttpExtReq::headers
std::string XrdHttpExtReq::verb

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 30 Sep 2019 for xrootd by  doxygen 1.6.1