Abstract module webmachine_request [ReqState]

Webmachine HTTP Request Abstraction.

Copyright © 2007-2009 Basho Technologies Based on mochiweb_request.erl, which is Copyright 2007 Mochi Media, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Authors: Justin Sheehy (justin@basho.com), Andy Gross (andy@basho.com).

Description

Webmachine HTTP Request Abstraction.

Function Index

add_response_header/2
add_response_headers/1
append_to_response_body/1
call/1
disp_path/0
do_redirect/0
get_app_root/0
get_cookie_value/1
get_header_value/1
get_metadata/1
get_out_header/1
get_path_info/0
get_path_info/1
get_path_tokens/0
get_peer/0
get_qs_value/1
get_qs_value/2
get_req_header/1
get_reqdata/0
has_out_header/1
has_response_body/0
headers/0
load_dispatch_data/6
log_data/0
merge_response_headers/1
method/0
out_headers/0
parse_cookie/0
parse_qs/0
path/0
peer/0
range/0
raw_path/0
remove_response_header/1
req_body/1
req_headers/0
resp_headers/0
resp_redirect/0
response_body/0
response_code/0
send_response/1
set_metadata/2
set_reqdata/1
set_resp_body/1
set_response_code/1
socket/0
stream_req_body/1
trim_state/0
version/0

Function Details

add_response_header/2

add_response_header(K, V) -> any()

add_response_headers/1

add_response_headers(Hdrs) -> any()

append_to_response_body/1

append_to_response_body(Data) -> any()

call/1

call(X1) -> any()

disp_path/0

disp_path() -> any()

do_redirect/0

do_redirect() -> any()

get_app_root/0

get_app_root() -> any()

get_cookie_value/1

get_cookie_value(Key) -> any()

get_header_value/1

get_header_value(K) -> any()

get_metadata/1

get_metadata(Key) -> any()

get_out_header/1

get_out_header(HeaderName) -> any()

get_path_info/0

get_path_info() -> any()

get_path_info/1

get_path_info(Key) -> any()

get_path_tokens/0

get_path_tokens() -> any()

get_peer/0

get_peer() -> any()

get_qs_value/1

get_qs_value(Key) -> any()

get_qs_value/2

get_qs_value(Key, Default) -> any()

get_req_header/1

get_req_header(K) -> any()

get_reqdata/0

get_reqdata() -> any()

has_out_header/1

has_out_header(HeaderName) -> any()

has_response_body/0

has_response_body() -> any()

headers/0

headers() -> any()

load_dispatch_data/6

load_dispatch_data(Bindings, HostTokens, Port, PathTokens, AppRoot, DispPath) -> any()

log_data/0

log_data() -> any()

merge_response_headers/1

merge_response_headers(Hdrs) -> any()

method/0

method() -> any()

out_headers/0

out_headers() -> any()

parse_cookie/0

parse_cookie() -> any()

parse_qs/0

parse_qs() -> any()

path/0

path() -> any()

peer/0

peer() -> any()

range/0

range() -> any()

raw_path/0

raw_path() -> any()

remove_response_header/1

remove_response_header(K) -> any()

req_body/1

req_body(MaxRevBody) -> any()

req_headers/0

req_headers() -> any()

resp_headers/0

resp_headers() -> any()

resp_redirect/0

resp_redirect() -> any()

response_body/0

response_body() -> any()

response_code/0

response_code() -> any()

send_response/1

send_response(Code) -> any()

set_metadata/2

set_metadata(Key, Value) -> any()

set_reqdata/1

set_reqdata(RD) -> any()

set_resp_body/1

set_resp_body(Body) -> any()

set_response_code/1

set_response_code(Code) -> any()

socket/0

socket() -> any()

stream_req_body/1

stream_req_body(MaxHunk) -> any()

trim_state/0

trim_state() -> any()

version/0

version() -> any()


Generated by EDoc, Feb 8 2011, 19:14:54.