#include <HTTP.h>
Inherits HdrHeapObjImpl.
Public Member Functions | |
int | marshal (MarshalXlate *ptr_xlate, int num_ptr, MarshalXlate *str_xlate, int num_str) |
void | unmarshal (intptr_t offset) |
void | move_strings (HdrStrHeap *new_heap) |
size_t | strings_length () |
void | check_strings (HeapCheck *heaps, int num_heaps) |
Data Fields | |
HTTPType | m_polarity |
int32_t | m_version |
union { | |
struct { | |
URLImpl * m_url_impl | |
const char * m_ptr_method | |
uint16_t m_len_method | |
int16_t m_method_wks_idx | |
} req | |
struct { | |
const char * m_ptr_reason | |
uint16_t m_len_reason | |
int16_t m_status | |
} resp | |
} | u |
MIMEHdrImpl * | m_fields_impl |
Definition at line 240 of file HTTP.h.
void HTTPHdrImpl::check_strings | ( | HeapCheck * | heaps, | |
int | num_heaps | |||
) |
Definition at line 1708 of file HTTP.cc.
References CHECK_STR, HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, ink_release_assert, m_polarity, and u.
int HTTPHdrImpl::marshal | ( | MarshalXlate * | ptr_xlate, | |
int | num_ptr, | |||
MarshalXlate * | str_xlate, | |||
int | num_str | |||
) |
Definition at line 1647 of file HTTP.cc.
References HDR_MARSHAL_PTR, HDR_MARSHAL_STR, HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, ink_release_assert, m_fields_impl, m_polarity, and u.
void HTTPHdrImpl::move_strings | ( | HdrStrHeap * | new_heap | ) |
Definition at line 1683 of file HTTP.cc.
References HDR_MOVE_STR, HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, ink_release_assert, m_polarity, and u.
size_t HTTPHdrImpl::strings_length | ( | ) |
Definition at line 1695 of file HTTP.cc.
References HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, m_polarity, and u.
void HTTPHdrImpl::unmarshal | ( | intptr_t | offset | ) |
Definition at line 1666 of file HTTP.cc.
References HDR_UNMARSHAL_PTR, HDR_UNMARSHAL_STR, HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, ink_release_assert, m_fields_impl, m_polarity, and u.
Definition at line 264 of file HTTP.h.
Referenced by HTTPHdr::copy(), HTTPHdr::create(), http_hdr_copy_onto(), http_hdr_describe(), http_hdr_init(), http_hdr_length_get(), http_hdr_print(), http_parser_parse_req(), http_parser_parse_resp(), marshal(), CoreUtils::print_http_hdr(), and unmarshal().
uint16_t HTTPHdrImpl::m_len_method |
uint16_t HTTPHdrImpl::m_len_reason |
int16_t HTTPHdrImpl::m_method_wks_idx |
Definition at line 243 of file HTTP.h.
Referenced by check_strings(), HTTPHdr::clear(), http_hdr_clone(), http_hdr_copy_onto(), http_hdr_describe(), http_hdr_init(), http_hdr_length_get(), http_hdr_method_get(), http_hdr_method_set(), http_hdr_print(), http_hdr_reason_get(), http_hdr_reason_set(), http_hdr_status_get(), http_hdr_status_set(), http_hdr_type_get(), http_hdr_type_set(), http_hdr_url_set(), http_parser_parse_req(), http_parser_parse_resp(), marshal(), HTTPHdr::method_get(), HTTPHdr::method_get_wksidx(), HTTPHdr::method_set(), move_strings(), HTTPHdr::parse_req(), HTTPHdr::parse_resp(), process_http_hdr_impl(), HTTPHdr::reason_get(), HTTPHdr::reason_set(), HTTPHdr::status_get(), HTTPHdr::status_set(), strings_length(), TSHttpHdrCopy(), TSHttpHdrTypeSet(), TSHttpHdrUrlGet(), unmarshal(), HTTPHdr::url_create(), HTTPHdr::url_get(), HTTPHdr::url_set(), and HTTPHdr::url_set_as_server_url().
const char* HTTPHdrImpl::m_ptr_method |
const char* HTTPHdrImpl::m_ptr_reason |
int16_t HTTPHdrImpl::m_status |
int32_t HTTPHdrImpl::m_version |
Definition at line 244 of file HTTP.h.
Referenced by http_hdr_describe(), http_hdr_init(), http_hdr_print(), http_hdr_version_get(), http_hdr_version_set(), and HttpTransact::OSDNSLookup().
struct { ... } HTTPHdrImpl::req |
Referenced by http_hdr_copy_onto(), http_hdr_describe(), http_hdr_init(), http_hdr_length_get(), http_hdr_method_get(), http_hdr_method_set(), http_hdr_print(), http_hdr_url_set(), http_parser_parse_req(), HTTPHdr::method_get_wksidx(), print_http_hdr_impl(), process_http_hdr_impl(), TSHttpHdrTypeSet(), TSHttpHdrUrlGet(), HTTPHdr::url_get(), HTTPHdr::url_set(), and HTTPHdr::url_set_as_server_url().
struct { ... } HTTPHdrImpl::resp |
union { ... } HTTPHdrImpl::u |
Referenced by check_strings(), http_hdr_copy_onto(), http_hdr_describe(), http_hdr_init(), http_hdr_length_get(), http_hdr_method_get(), http_hdr_method_set(), http_hdr_print(), http_hdr_reason_get(), http_hdr_reason_set(), http_hdr_status_get(), http_hdr_status_set(), http_hdr_url_set(), http_parser_parse_req(), marshal(), HTTPHdr::method_get_wksidx(), move_strings(), print_http_hdr_impl(), process_http_hdr_impl(), strings_length(), TSHttpHdrTypeSet(), TSHttpHdrUrlGet(), unmarshal(), HTTPHdr::url_get(), HTTPHdr::url_set(), and HTTPHdr::url_set_as_server_url().