Module controller_export_resource

Export a (list of) resource(s) in the given format, uses notifiers for fetching and encoding data.

Copyright © 2013-2017 Marc Worrell <marc@worrell.nl>

Authors: Marc Worrell (marc@worrell.nl).

Description

Export a (list of) resource(s) in the given format, uses notifiers for fetching and encoding data.

Function Index

content_types_provided/1
forbidden/1
get_content_type/3Fetch the content type being served.
previously_existed/1
process/4
resource_exists/1
set_filename/4

Function Details

content_types_provided/1

content_types_provided(Context) -> any()

forbidden/1

forbidden(Context) -> any()

get_content_type/3

get_content_type(Id, Dispatch, Context) -> any()

Fetch the content type being served

previously_existed/1

previously_existed(Context) -> any()

process/4

process(Method, AcceptedCT, ProvidedCT, Context) -> any()

resource_exists/1

resource_exists(Context) -> any()

set_filename/4

set_filename(Id, ProvidedCT, Dispatch, Context) -> any()


Generated by EDoc