dca_interface  6.3.4
wac_inputdata.h
Go to the documentation of this file.
1 /* IBM Source Code */
2 /* (C) Copyright IBM Corp. 2009, 2012 */
3 /* Licensed Materials - Property of IBM */
4 /* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5 
6 #ifndef WAC_INPUTDATA_H
7 #define WAC_INPUTDATA_H
8 
10 
18 namespace dca_wac {
19 
20  class wacinputdata_p;
21 
49  class WacInputData {
50  public:
52  WacInputData();
53  WacInputData( const WacInputData& aInputData );
54  WacInputData& operator = ( const WacInputData& aInputData );
55  virtual ~WacInputData();
57 
61  void setUrlObject( const dca::Url& aUrl );
62 
67  void setRequestData( const char *data, size_t data_length );
68 
73  void setResponse( const char *data, size_t data_length );
74 
76  PRIVATE_PTR wacinputdata_p *_p;
77  };
78 
79 }
80 
81 #endif
void setRequestData(const char *data, size_t data_length)
Sets up the buffer containing the (HTTP) request. This is assumed to contain US ASCII 7-Bit character...
Definition of the WacInputData class.
Definition: wac_inputdata.h:49
This header includes all header files of the URL Classification Package.
void setUrlObject(const dca::Url &aUrl)
Sets up the Input Data object by using the given dca::Url object.
void setResponse(const char *data, size_t data_length)
Sets up the buffer containing the (HTTP) response. This is assumed to contain US ASCII 7-Bit characte...
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition: base_types.h:83
Encapsulates a URL object.
Definition: base_url.h:44