This namespace creates interceptors for ring-core middlewares.
This namespace creates interceptors for ring-core middlewares.
(content-type & [opts])
Interceptor for content-type ring middleware.
Interceptor for content-type ring middleware.
Interceptor for cookies ring middleware. Be sure to persist :cookies from the request to response.
Interceptor for cookies ring middleware. Be sure to persist :cookies from the request to response.
(fast-resource root-path)
(fast-resource root-path opts)
Interceptor for resource handling. This interceptor will return async responses for large files (files larger than the HTTP Buffer) If your container doesn't recognize FileChannel response bodies, this interceptor will cause errors Supports a map of options: :index? - If path is a directory, will attempt to find an 'index.*' file to serve. Defaults to true :follow-symlinks? - Serve files through symbolic links. Defaults to false :loader - A class loader specific for these resource fetches. Default to nil (use the main class loader)
Interceptor for resource handling. This interceptor will return async responses for large files (files larger than the HTTP Buffer) If your container doesn't recognize FileChannel response bodies, this interceptor will cause errors Supports a map of options: :index? - If path is a directory, will attempt to find an 'index.*' file to serve. Defaults to true :follow-symlinks? - Serve files through symbolic links. Defaults to false :loader - A class loader specific for these resource fetches. Default to nil (use the main class loader)
(file root-path & [opts])
Interceptor for file ring middleware.
Interceptor for file ring middleware.
(file-info & [mime-types])
Interceptor for file-info ring middleware.
Interceptor for file-info ring middleware.
(flash)
Interceptor for flash ring middleware. Be sure to persist keys needed by session and cookie interceptors.
Interceptor for flash ring middleware. Be sure to persist keys needed by session and cookie interceptors.
(head)
Interceptor to handle head requests. If used with defroutes, it will not work if specified in an interceptors meta-key.
Interceptor to handle head requests. If used with defroutes, it will not work if specified in an interceptors meta-key.
Retained for backward compatibility. io.pedestal.http.params/keyword-params is recommended
Retained for backward compatibility. io.pedestal.http.params/keyword-params is recommended
(multipart-params & [opts])
Interceptor for multipart-params ring middleware.
Interceptor for multipart-params ring middleware.
(nested-params & [opts])
Interceptor for nested-params ring middleware.
Interceptor for nested-params ring middleware.
(not-modified)
Interceptor for not-modified ring middleware.
Interceptor for not-modified ring middleware.
(params & [opts])
Interceptor for params ring middleware.
Interceptor for params ring middleware.
(resource root-path)
Interceptor for resource ring middleware
Interceptor for resource ring middleware
(response-fn-adapter response-fn)
(response-fn-adapter response-fn opts)
Adapts a ring middleware fn taking a response and request to an interceptor context.
Adapts a ring middleware fn taking a response and request to an interceptor context.
(session)
(session options)
Interceptor for session ring middleware. Be sure to persist :session and :session/key from request to the response.
Interceptor for session ring middleware. Be sure to persist :session and :session/key from request to the response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close