#include <HTTPConnect.h>
Collaboration diagram for HTTPConnect:
Public Member Functions | |
HTTPResponse * | fetch_url (const string &url) |
HTTPConnect (RCReader *rcr) throw (Error, InternalErr) | |
bool | is_cache_enabled () |
void | set_accept_deflate (bool defalte) |
void | set_cache_enabled (bool enabled) |
void | set_credentials (const string &u, const string &p) |
virtual | ~HTTPConnect () |
Protected Member Functions | |
Suppress default methods | |
These methods are not supported and are implemented here as protected methods to suppress the C++-supplied default versions (which will break this object). | |
HTTPConnect (const HTTPConnect &) | |
HTTPConnect () | |
HTTPConnect & | operator= (const HTTPConnect &) |
Friends | |
class | HTTPConnectTest |
class | ParseHeader |
size_t | save_raw_http_header (void *ptr, size_t size, size_t nmemb, void *http_connect) |
Definition at line 77 of file HTTPConnect.h.
|
Definition at line 119 of file HTTPConnect.h. |
|
Definition at line 121 of file HTTPConnect.h. |
|
Build a virtual connection to a remote data source that will be accessed using HTTP.
Definition at line 487 of file HTTPConnect.cc. References CNAME, CVER, DBG2, HTTPCache::instance(), HTTPCache::set_always_validate(), HTTPCache::set_cache_enabled(), HTTPCache::set_default_expiration(), HTTPCache::set_expire_ignored(), HTTPCache::set_max_entry_size(), and HTTPCache::set_max_size(). |
Here is the call graph for this function:
|
Definition at line 526 of file HTTPConnect.cc. References DBG2. |
|
Dereference a URL. This method dereferences a URL and stores the result (i.e., it formulates an HTTP request and processes the HTTP server's response). After this method is successfully called, the value of is_response_present() will be true and the methods get_response_headers(), type() and server_version() may be called.
Definition at line 548 of file HTTPConnect.cc. References HTTPResponse::get_headers(), HTTPCache::is_cache_enabled(), ParseHeader, Response::set_protocol(), Response::set_type(), and Response::set_version(). Referenced by AISMerge::get_ais_resource(), main(), Connect::request_das(), Connect::request_das_url(), Connect::request_data(), Connect::request_data_url(), Connect::request_dds(), Connect::request_dds_url(), Connect::request_ddx(), Connect::request_ddx_url(), Connect::request_protocol(), and Connect::request_version(). |
Here is the call graph for this function:
|
Return the current state of the HTTP cache. Definition at line 149 of file HTTPConnect.h. References HTTPCache::is_cache_enabled(). Referenced by Connect::is_cache_enabled(). |
Here is the call graph for this function:
|
Definition at line 123 of file HTTPConnect.h. |
|
Set the accept deflate property. If true, the DAP client announces to a server that it can accept responses compressed using the
Definition at line 790 of file HTTPConnect.cc. References DBG. Referenced by main(), and Connect::set_accept_deflate(). |
|
Set the state of the HTTP cache. By default, the HTTP cache is enabled of disabled using the value of the
Definition at line 142 of file HTTPConnect.h. References HTTPCache::set_cache_enabled(). Referenced by Connect::set_cache_enabled(). |
Here is the call graph for this function:
|
Set the credentials for responding to challenges while dereferencing URLs. Alternatively, these can be embedded in the URL. This method provides a way for clients of HTTPConnect to get credentials from users (say using a pop up dialog) and to not hack the URL to pass that information to libcurl. Note that the 'credentials in the URL' scheme is part of the URL standard.
This method does nothing if
Definition at line 826 of file HTTPConnect.cc. Referenced by Connect::set_credentials(). |
|
Definition at line 110 of file HTTPConnect.h. |
|
Definition at line 111 of file HTTPConnect.h. Referenced by fetch_url(). |
|
|