XrdHttpExtReq Class Reference
#include <XrdHttpExtHandler.hh>
List of all members.
Public Member Functions |
| XrdHttpExtReq (XrdHttpReq *req, XrdHttpProtocol *pr) |
const XrdSecEntity & | GetSecEntity () 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 |
XrdHttpProtocol * | prot |
Constructor & Destructor Documentation
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.
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
The documentation for this class was generated from the following file: