Slicer  5.3
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
vtkHTTPHandler.h
Go to the documentation of this file.
1 #ifndef __vtkHTTPHandler_h
2 #define __vtkHTTPHandler_h
3 
4 // RemoteIO includes
5 #include <vtkRemoteIOConfigure.h>
6 #include "vtkRemoteIO.h"
7 
8 // VTK includes
9 #include <vtkObject.h>
10 #include <vtkObjectFactory.h>
11 
12 // MRML includes
13 #include "vtkURIHandler.h"
14 
15 class VTK_RemoteIO_EXPORT vtkHTTPHandler : public vtkURIHandler
16 {
17 public:
18 
20  static vtkHTTPHandler *New();
21  vtkTypeMacro(vtkHTTPHandler, vtkURIHandler);
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
26  int CanHandleURI ( const char *uri ) override;
27 
32  void SetForbidReuse(int value);
33  int GetForbidReuse();
34 
36  void StageFileRead(const char * source, const char * destination) override;
38  void StageFileWrite(const char * source, const char * destination) override;
40  void InitTransfer () override;
41  int CloseTransfer () override;
42 
44  vtkSetStringMacro(CaCertificatesPath);
45  vtkGetStringMacro(CaCertificatesPath);
46 
47 protected:
49  ~vtkHTTPHandler() override;
51  void operator=(const vtkHTTPHandler&);
52 
53 private:
54  class vtkInternal;
55  vtkInternal* Internal;
56  char* CaCertificatesPath{nullptr};
57 };
58 
59 #endif
virtual int CanHandleURI(const char *vtkNotUsed(uri))
need something that goes the other way too...
Definition: vtkURIHandler.h:48
static vtkURIHandler * New()
The Usual vtk class functions.
void operator=(const vtkURIHandler &)
void PrintSelf(ostream &os, vtkIndent indent) override
virtual void StageFileRead(const char *source, const char *destination)
virtual void StageFileWrite(const char *source, const char *destination)