#include <XrdHttpTpcState.hh>
Public Member Functions | |
| State () | |
| State (CURL *curl, bool tpcForwardCreds) | |
| State (off_t start_offset, Stream &stream, CURL *curl, bool push, bool tpcForwardCreds) | |
| ~State () | |
| int | AvailableBuffers () const |
| bool | BodyTransferInProgress () const |
| off_t | BytesTransferred () const |
| void | DumpBuffers () const |
| State * | Duplicate () |
| bool | Finalize () |
| int | Flush () |
| std::string | GetConnectionDescription () |
| off_t | GetContentLength () const |
| int | GetErrorCode () const |
| std::string | GetErrorMessage () const |
| CURL * | GetHandle () const |
| const std::map< std::string, std::string > & | GetReprDigest () const |
| int | GetStatusCode () const |
| void | Move (State &other) |
| void | ResetAfterRequest () |
| void | SetContentLength (const off_t content_length) |
| void | SetErrorCode (int error_code) |
| void | SetErrorMessage (const std::string &error_msg) |
| void | SetTransferParameters (off_t offset, size_t size) |
| void | SetupHeaders (XrdHttpExtReq &req) |
| void | SetupHeadersForHEAD (XrdHttpExtReq &req) |
Definition at line 21 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 24 of file XrdHttpTpcState.hh.
Referenced by Duplicate(), and Move().
|
inline |
Don't use that constructor if you want to do some transfers.
| curl | the curl handle |
| tpcForwardCreds | set to true if the credentials needs to be forwarded for this request, false otherwise |
| push | set to true if this HEAD request is for a push transfer, false otherwise |
Definition at line 45 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 67 of file XrdHttpTpcState.hh.
| State::~State | ( | ) |
Definition at line 21 of file XrdHttpTpcState.cc.
| int State::AvailableBuffers | ( | ) | const |
Definition at line 382 of file XrdHttpTpcState.cc.
|
inline |
Definition at line 122 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 94 of file XrdHttpTpcState.hh.
| void State::DumpBuffers | ( | ) | const |
Definition at line 387 of file XrdHttpTpcState.cc.
| State * State::Duplicate | ( | ) |
Definition at line 350 of file XrdHttpTpcState.cc.
References State().
| bool State::Finalize | ( | ) |
Definition at line 392 of file XrdHttpTpcState.cc.
| int State::Flush | ( | ) |
Definition at line 318 of file XrdHttpTpcState.cc.
References SFS_ERROR.
| std::string State::GetConnectionDescription | ( | ) |
Definition at line 402 of file XrdHttpTpcState.cc.
|
inline |
Definition at line 98 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 102 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 108 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 114 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 100 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 106 of file XrdHttpTpcState.hh.
| void State::Move | ( | State & | other | ) |
Definition at line 30 of file XrdHttpTpcState.cc.
References State().
| void State::ResetAfterRequest | ( | ) |
Definition at line 198 of file XrdHttpTpcState.cc.
|
inline |
Definition at line 96 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 104 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 110 of file XrdHttpTpcState.hh.
| void State::SetTransferParameters | ( | off_t | offset, |
| size_t | size ) |
Definition at line 373 of file XrdHttpTpcState.cc.
| void State::SetupHeaders | ( | XrdHttpExtReq & | req | ) |
Setup any headers necessary for the GET/PUT operation
Currently includes:
Definition at line 107 of file XrdHttpTpcState.cc.
References XrdOucTUtils::caseInsensitiveFind(), XrdHttpExtReq::headers, and XrdHttpExtReq::mReprDigest.
| void State::SetupHeadersForHEAD | ( | XrdHttpExtReq & | req | ) |
Definition at line 163 of file XrdHttpTpcState.cc.
References XrdHttpExtReq::headers, and XrdHttpExtReq::mReprDigest.