//! `ResourceEndpoint` provides a generalised restlike endpoint for a resource
//! The Only way to create a resource Endpoint is by using the ResourceEndpointBuilder
extern crate iron;
extern crate router;
extern crate bit_set;
extern crate url;
pub use ;
/// This module Provides the ResourceEndpoint, ResourceEndpointBuilder and ResourceMethod
/// This module provides the types (traits) a Using application has to implement
//internal
//mod handler_arc;
//FIXME change way Option/IdKey is refered too /linked in to be more strict
//TODO add default header (or default header generator?)
//TODO (after aboves fix?) add body parser and redundant id check
//if put/post->parse body into Doc: Resource<Id> mit Id == IdKey::Value or IdKey::Value: Option<Id>
//if put check if if_from_url == doc.get_id() else error inkonsistency