CrossClj

1.1.44 docs

SourceDocs



RECENT
    VARS
    +properties-coercions+
    ->Resource
    append-interceptor
    as-set
    CharsetSchema
    CharsetSchemaSet
    default-error-interceptor-chain
    default-interceptor-chain
    insert-interceptor
    map->Resource
    MediaTypeSchema
    MediaTypeSchemaSet
    prepend-interceptor
    QualifiedKeyword
    resource
    ResourceCoercion
    StringSet

    « Index of all namespaces of this project

    (->Resource)
    Positional factory function for class yada.resource.Resource.
    
    (append-interceptor res point & interceptors)
    (insert-interceptor res point & interceptors)
    (map->Resource m__7585__auto__)
    Factory function for class yada.resource.Resource, taking a map of keywords to field values.
    
    (prepend-interceptor res & interceptors)
    (resource model)
    protocol
    (as-resource _)
    Coerce to a resource. Often, resources need to be
    coerced rather than extending types directly with the Resource
    protocol. We can exploit the time of coercion to know the time of
    birth for the resource, which supports time-based conditional
    requests. For example, a simple StringResource is immutable, so by
    knowing the time of construction, we can precisely state its
    Last-Modified-Date.