1#ifndef __vtkHTTPHandler_h
2#define __vtkHTTPHandler_h
5#include <vtkRemoteIOConfigure.h>
10#include <vtkObjectFactory.h>
22 void PrintSelf(ostream& os, vtkIndent indent)
override;
36 void StageFileRead(
const char * source,
const char * destination)
override;
44 vtkSetStringMacro(CaCertificatesPath);
45 vtkGetStringMacro(CaCertificatesPath);
55 vtkInternal* Internal;
56 char* CaCertificatesPath{
nullptr};
void StageFileRead(const char *source, const char *destination) override
This function wraps curl functionality to download a specified URL to a specified dir.
vtkHTTPHandler(const vtkHTTPHandler &)
int CloseTransfer() override
static vtkHTTPHandler * New()
The Usual vtk class functions.
void PrintSelf(ostream &os, vtkIndent indent) override
int CanHandleURI(const char *uri) override
void operator=(const vtkHTTPHandler &)
void StageFileWrite(const char *source, const char *destination) override
~vtkHTTPHandler() override
void SetForbidReuse(int value)
void InitTransfer() override
NOTE: Subclasses should implement these method.
virtual void StageFileRead(const char *source, const char *destination)
virtual void StageFileWrite(const char *source, const char *destination)