Axis2/C: axis2_http_response_writer.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# axis2_http_response_writer.h

Go to the documentation of this file.

    00001
    00002 /*
    00003 * Licensed to the Apache Software Foundation (ASF) under one or more
    00004 * contributor license agreements.  See the NOTICE file distributed with
    00005 * this work for additional information regarding copyright ownership.
    00006 * The ASF licenses this file to You under the Apache License, Version 2.0
    00007 * (the "License"); you may not use this file except in compliance with
    00008 * the License.  You may obtain a copy of the License at
    00009 *
    00010 *      http://www.apache.org/licenses/LICENSE-2.0
    00011 *
    00012 * Unless required by applicable law or agreed to in writing, software
    00013 * distributed under the License is distributed on an "AS IS" BASIS,
    00014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00015 * See the License for the specific language governing permissions and
    00016 * limitations under the License.
    00017 */
    00018
    00019 #ifndef AXIS2_HTTP_RESPONSE_WRITER_H
    00020 #define AXIS2_HTTP_RESPONSE_WRITER_H
    00021
    00033 #include <axis2_const.h>
    00034 #include <axis2_defines.h>
    00035 #include <axutil_env.h>
    00036 #include <axutil_stream.h>
    00037
    00038 #ifdef __cplusplus
    00039 extern "C"
    00040 {
    00041 #endif
    00042
    00044     typedef struct axis2_http_response_writer axis2_http_response_writer_t;
    00045
    00050     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00051
    00052     axis2_http_response_writer_get_encoding(
    00053         const axis2_http_response_writer_t * response_writer,
    00054         const axutil_env_t * env);
    00055
    00061     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00062     axis2_http_response_writer_close(
    00063         axis2_http_response_writer_t * response_writer,
    00064         const axutil_env_t * env);
    00065
    00071     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00072     axis2_http_response_writer_flush(
    00073         axis2_http_response_writer_t * response_writer,
    00074         const axutil_env_t * env);
    00075
    00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00083
    00084     axis2_http_response_writer_write_char(
    00085         axis2_http_response_writer_t * response_writer,
    00086         const axutil_env_t * env,
    00087         char c);
    00088
    00097     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00098
    00099     axis2_http_response_writer_write_buf(
    00100         axis2_http_response_writer_t * response_writer,
    00101         const axutil_env_t * env,
    00102         char *buf,
    00103         int offset,
    00104         axis2_ssize_t len);
    00105
    00112     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00113
    00114     axis2_http_response_writer_print_str(
    00115         axis2_http_response_writer_t * response_writer,
    00116         const axutil_env_t * env,
    00117         const char *str);
    00118
    00125     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00126
    00127     axis2_http_response_writer_print_int(
    00128         axis2_http_response_writer_t * response_writer,
    00129         const axutil_env_t * env,
    00130         int i);
    00131
    00138     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00139
    00140     axis2_http_response_writer_println_str(
    00141         axis2_http_response_writer_t * response_writer,
    00142         const axutil_env_t * env,
    00143         const char *str);
    00144
    00150     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00151
    00152     axis2_http_response_writer_println(
    00153         axis2_http_response_writer_t * response_writer,
    00154         const axutil_env_t * env);
    00155
    00161     AXIS2_EXTERN void AXIS2_CALL
    00162     axis2_http_response_writer_free(
    00163         axis2_http_response_writer_t * response_writer,
    00164         const axutil_env_t * env);
    00165
    00170     AXIS2_EXTERN axis2_http_response_writer_t *AXIS2_CALL
    00171
    00172     axis2_http_response_writer_create(
    00173         const axutil_env_t * env,
    00174         axutil_stream_t * stream);
    00175
    00181     AXIS2_EXTERN axis2_http_response_writer_t *AXIS2_CALL
    00182
    00183     axis2_http_response_writer_create_with_encoding(
    00184         const axutil_env_t * env,
    00185         axutil_stream_t * stream,
    00186         const axis2_char_t * encoding);
    00187
    00189 #ifdef __cplusplus
    00190 }
    00191 #endif
    00192
    00193 #endif                          /* AXIS2_HTTP_RESPONSE_WRITER_H */