http simple response
[http transport]


Classes

struct  axis2_http_simple_response_ops
struct  axis2_http_simple_response

Defines

#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_STATUS_LINE(simple_response, env, http_version, status_code, phrase)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_PHRASE
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_HTTP_VERSION(simple_response, env)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_STATUS_CODE(simple_response, env)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_STATUS_LINE(simple_response, env)
#define AXIS2_HTTP_SIMPLE_RESPONSE_CONTAINS_HEADER(simple_response, env, name)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_HEADERS(simple_response, env)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_FIRST_HEADER(simple_response, env, str)
#define AXIS2_HTTP_SIMPLE_RESPONSE_REMOVE_HEADERS(simple_response, env, str)
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_HEADER(simple_response, env, header)
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_HEADERS(simple_response, env, headers)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CHARSET(simple_response, env)   ((simple_response)->ops->get_charset(simple_response, env))
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CONTENT_LENGTH(simple_response, env)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CONTENT_TYPE(simple_response, env)
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_BODY_STRING(simple_response, env, str)
#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_BODY_STREAM(simple_response, env, stream)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_BODY(simple_response, env)
#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_BODY_BYTES(simple_response, env, buf)
#define AXIS2_HTTP_SIMPLE_RESPONSE_FREE(simple_response, env)   ((simple_response)->ops->free(simple_response, env))

Typedefs

typedef axis2_http_simple_response_ops axis2_http_simple_response_ops_t
typedef axis2_http_simple_response axis2_http_simple_response_t

Functions

AXIS2_EXTERN axis2_http_simple_response_taxis2_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)
AXIS2_EXTERN axis2_http_simple_response_taxis2_http_simple_response_create_default (const axis2_env_t *env)

Define Documentation

#define AXIS2_HTTP_SIMPLE_RESPONSE_CONTAINS_HEADER simple_response,
env,
name   ) 
 

Value:

((simple_response)->ops->contains_header\
                    (simple_response, env, name))
Contains header.
See also:
axis2_http_simple_response_ops::contain_header

#define AXIS2_HTTP_SIMPLE_RESPONSE_FREE simple_response,
env   )     ((simple_response)->ops->free(simple_response, env))
 

Frees the http simple response.

See also:
axis2_http_simple_response_ops::free

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_BODY simple_response,
env   ) 
 

Value:

((simple_response)->ops->get_body\
                    (simple_response, env))
Get body.
See also:
axis2_http_simple_response_ops::get_body

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_BODY_BYTES simple_response,
env,
buf   ) 
 

Value:

((simple_response)->ops->get_body_bytes\
                    (simple_response, env, buf))
Get body bytes.
See also:
axis2_http_simple_response_ops::get_body_bytes

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CHARSET simple_response,
env   )     ((simple_response)->ops->get_charset(simple_response, env))
 

Gets the charset.

See also:
axis2_http_simple_response_ops::get_charset

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CONTENT_LENGTH simple_response,
env   ) 
 

Value:

((simple_response)->ops->get_content_length\
                    (simple_response, env))
Gets the content length.
See also:
axis2_http_simple_response_ops::get_content_length

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_CONTENT_TYPE simple_response,
env   ) 
 

Value:

((simple_response)->ops->get_content_type\
                    (simple_response, env))
Gets the content type.
See also:
axis2_http_simple_response_ops::get_content_type

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_FIRST_HEADER simple_response,
env,
str   ) 
 

Value:

((simple_response)->ops->get_first_header\
                    (simple_response, env, str))
Gets the first header.
See also:
axis2_http_simple_response_ops::get_first_header

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_HEADERS simple_response,
env   ) 
 

Value:

((simple_response)->ops->get_headers\
                    (simple_response, env))
Get headers.
See also:
axis2_http_simple_response_ops::get_headers

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_HTTP_VERSION simple_response,
env   ) 
 

Value:

((simple_response)->ops->get_http_version\
                    (simple_response, env))
Gets the http version.
See also:
axis2_http_simple_response_ops::get_http_version

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_PHRASE
 

Value:

(simple_response, env) ((simple_response)->ops->get_phrase\
                    (simple_response, env))
Gets the phrase.
See also:
axis2_http_simple_response_ops::get_phrase

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_STATUS_CODE simple_response,
env   ) 
 

Value:

((simple_response)->ops->get_status_code\
                    (simple_response, env))
Gets the status code.
See also:
axis2_http_simple_response_ops::get_status_code

#define AXIS2_HTTP_SIMPLE_RESPONSE_GET_STATUS_LINE simple_response,
env   ) 
 

Value:

((simple_response)->ops->get_status_line\
                    (simple_response, env))
Gets the status line.
See also:
axis2_http_simple_response_ops::get_status_line

#define AXIS2_HTTP_SIMPLE_RESPONSE_REMOVE_HEADERS simple_response,
env,
str   ) 
 

Value:

((simple_response)->ops->remove_headers\
                    (simple_response, env, str))
Removes the headers.
See also:
axis2_http_simple_response_ops::remove_headers

#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_BODY_STREAM simple_response,
env,
stream   ) 
 

Value:

((simple_response)->ops->set_body_stream\
                    (simple_response, env, stream))
Sets the body stream.
See also:
axis2_http_simple_response_ops::set_body_stream

#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_BODY_STRING simple_response,
env,
str   ) 
 

Value:

((simple_response)->ops->set_body_string\
                    (simple_response, env, str))
Sets the body string.
See also:
axis2_http_simple_response_ops::set_body_string

#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_HEADER simple_response,
env,
header   ) 
 

Value:

((simple_response)->ops->set_header\
                    (simple_response, env, header))
Set header.
See also:
axis2_http_simple_response_ops::set_header

#define AXIS2_HTTP_SIMPLE_RESPONSE_SET_HEADERS simple_response,
env,
headers   ) 
 

Value:

((simple_response)->ops->set_headers\
                    (simple_response, env, headers))
Set headers.
See also:
axis2_http_simple_response_ops::set_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))
Sets the status line.
See also:
axis2_http_simple_response_ops::set_status_line


Typedef Documentation

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


Function Documentation

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
 

Parameters:
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  ) 
 

Parameters:
env pointer to environment struct


Generated on Thu Aug 31 17:32:42 2006 for Axis2/C by  doxygen 1.4.6