#define AXIS2_HTTP_SIMPLE_RESPONSE_CONTAINS_HEADER | ( | simple_response, | |||
env, | |||||
name | ) |
Value:
((simple_response)->ops->contains_header\ (simple_response, env, name))
#define AXIS2_HTTP_SIMPLE_RESPONSE_FREE | ( | simple_response, | |||
env | ) | ((simple_response)->ops->free(simple_response, env)) |
Frees the http simple response.
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_BODY | ( | simple_response, | |||
env | ) |
Value:
((simple_response)->ops->get_body\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_BODY_BYTES | ( | simple_response, | |||
env, | |||||
buf | ) |
Value:
((simple_response)->ops->get_body_bytes\ (simple_response, env, buf))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CHARSET | ( | simple_response, | |||
env | ) | ((simple_response)->ops->get_charset(simple_response, env)) |
Gets the charset.
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CONTENT_LENGTH | ( | simple_response, | |||
env | ) |
Value:
((simple_response)->ops->get_content_length\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CONTENT_TYPE | ( | simple_response, | |||
env | ) |
Value:
((simple_response)->ops->get_content_type\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_FIRST_HEADER | ( | simple_response, | |||
env, | |||||
str | ) |
Value:
((simple_response)->ops->get_first_header\ (simple_response, env, str))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_HEADERS | ( | simple_response, | |||
env | ) |
Value:
((simple_response)->ops->get_headers\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_HTTP_VERSION | ( | simple_response, | |||
env | ) |
Value:
((simple_response)->ops->get_http_version\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_PHRASE |
Value:
(simple_response, env) ((simple_response)->ops->get_phrase\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_STATUS_CODE | ( | simple_response, | |||
env | ) |
Value:
((simple_response)->ops->get_status_code\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_STATUS_LINE | ( | simple_response, | |||
env | ) |
Value:
((simple_response)->ops->get_status_line\ (simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_REMOVE_HEADERS | ( | simple_response, | |||
env, | |||||
str | ) |
Value:
((simple_response)->ops->remove_headers\ (simple_response, env, str))
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_BODY_STREAM | ( | simple_response, | |||
env, | |||||
stream | ) |
Value:
((simple_response)->ops->set_body_stream\ (simple_response, env, stream))
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_BODY_STRING | ( | simple_response, | |||
env, | |||||
str | ) |
Value:
((simple_response)->ops->set_body_string\ (simple_response, env, str))
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_HEADER | ( | simple_response, | |||
env, | |||||
header | ) |
Value:
((simple_response)->ops->set_header\ (simple_response, env, header))
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_HEADERS | ( | simple_response, | |||
env, | |||||
headers | ) |
Value:
((simple_response)->ops->set_headers\ (simple_response, env, headers))
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_STATUS_LINE | ( | simple_response, | |||
env, | |||||
http_version, | |||||
status_code, | |||||
phrase | ) |
Value:
((simple_response)->ops->set_status_line\ (simple_response, env, http_version, status_code, phrase))
typedef struct axis2_http_simple_response_ops axis2_http_simple_response_ops_t |
Type name for struct axis2_http_simple_response_ops
typedef struct axis2_http_simple_response axis2_http_simple_response_t |
Type name for struct axis2_http_simple_response
AXIS2_EXTERN axis2_http_simple_response_t* axis2_http_simple_response_create | ( | const axis2_env_t * | env, | |
axis2_http_status_line_t * | status_line, | |||
const axis2_http_header_t ** | http_headers, | |||
const axis2_ssize_t | http_hdr_count, | |||
axis2_stream_t * | content | |||
) |
env | pointer to environment struct | |
status_line | pointer to status line | |
http_headers | double pointer to http_headers | |
http_hdr_count | ||
content | pointer to content |
AXIS2_EXTERN axis2_http_simple_response_t* axis2_http_simple_response_create_default | ( | const axis2_env_t * | env | ) |
env | pointer to environment struct |