Home | History | Annotate | Download | only in webservd

Lines Matching refs:Request

15 #include "webservd/request.h"
36 // with the ability to access private methods of Request class.
48 auto self = reinterpret_cast<Request*>(cls);
57 auto self = reinterpret_cast<Request*>(cls);
85 Request::Request(
99 // Here we create the data pipe used to transfer the request body from the
100 // web server to the remote request handler.
109 // POST request processor.
114 Request::~Request() {
121 base::File Request::GetFileData(int file_id) {
130 base::File Request::Complete(
165 bool Request::Complete(
182 const std::string& Request::GetProtocolHandlerID() const {
186 int Request::GetBodyDataFileDescriptor() const {
192 bool Request::BeginRequestData() {
201 // If we have POST processor, then we are parsing the request ourselves and
203 // Otherwise forward the request immediately and let the handler read the
204 // request data as needed.
210 bool Request::AddRequestData(const void* data, size_t* size) {
219 void Request::EndRequestData() {
230 response_data_size_, 4096, &Request::ResponseDataCallback, this,
244 void Request::ForwardRequestToHandler() {
254 // Send the request over D-Bus and await the response.
257 // There was no handler found when request was made, respond with
264 bool Request::ProcessPostData(const char* key,
278 bool Request::AddRawRequestData(const void* data, size_t* size) {
302 // pipe by the request handler.
309 base::Bind(&Request::OnPipeAvailable, weak_ptr_factory_.GetWeakPtr()),
318 ssize_t Request::ResponseDataCallback(void *cls, uint64_t /* pos */, char *buf,
320 Request* self = static_cast<Request*>(cls);
341 base::Bind(&Request::OnPipeAvailable,
352 void Request::OnPipeAvailable(brillo::Stream::AccessMode /* mode */) {
358 bool Request::AddPostFieldData(const char* key,
386 bool Request::AppendPostFieldData(const char* key,
402 TempFileManager* Request::GetTempFileManager() {