dca_interface
6.3.4
home
build
tmp
dcatmp18664
pkgdevel
dca
include
dca
wac_classification
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
9
#include "
dca/dca_url_classification.h
"
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
dca_wac::WacInputData::setRequestData
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...
dca_wac::WacInputData
Definition of the WacInputData class.
Definition:
wac_inputdata.h:49
dca_url_classification.h
This header includes all header files of the URL Classification Package.
dca_wac::WacInputData::setUrlObject
void setUrlObject(const dca::Url &aUrl)
Sets up the Input Data object by using the given dca::Url object.
dca_wac::WacInputData::setResponse
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...
PRIVATE_PTR
#define PRIVATE_PTR
Type for private pointer implementations, for internal use only.
Definition:
base_types.h:83
dca::Url
Encapsulates a URL object.
Definition:
base_url.h:44
Generated by
1.8.18