OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
GatewayRequest Class Reference

knows how to make a remote request More...

#include <GatewayRequest.h>

Collaboration diagram for GatewayRequest:
Collaboration graph

Public Member Functions

 GatewayRequest ()
 
HTTPResponse * make_request (const string &url, string &type)
 make the remote request against the given information More...
 
 ~GatewayRequest ()
 

Detailed Description

knows how to make a remote request

Definition at line 45 of file GatewayRequest.h.

Constructor & Destructor Documentation

GatewayRequest::GatewayRequest ( )
inline

Definition at line 47 of file GatewayRequest.h.

GatewayRequest::~GatewayRequest ( )
inline

Definition at line 51 of file GatewayRequest.h.

Member Function Documentation

HTTPResponse * GatewayRequest::make_request ( const string &  url,
string &  type 
)

make the remote request against the given information

function that makes a remote request using HTTPConnect from libdap given the remote request url. An HTTPResponse object is returned from the HTTPConnect fetch_url method. This response contains the FILE pointer as well as the name of the file to be used by the corresponding data handler

Parameters
urlremote request url
Returns
HTTPResponse pointer for the remote request response
Exceptions
BESInternalErrorif there is a problem making the remote request or the request fails

Definition at line 64 of file GatewayRequest.cc.

References BESDEBUG, GatewayUtils::Get_type_from_content_type(), GatewayUtils::Get_type_from_disposition(), GatewayUtils::Get_type_from_url(), BESUtil::lowercase(), GatewayUtils::NoProxyRegex, GatewayUtils::ProxyHost, GatewayUtils::ProxyPort, GatewayUtils::ProxyProtocol, GatewayError::read_error(), and GatewayUtils::useInternalCache.

Here is the call graph for this function:


The documentation for this class was generated from the following files: