Index of Public Functions and Variables - Noir ()

This page has an alphabetical index of all the documented functions and variables in Noir.
Shortcuts:
A B C D E F G H I J K L M
N O P Q R S T U V W X Y Z
Other

A

 add-middleware               function      noir.server        Add a middleware function to the noir server. Func...

B


C

 clear!                       function      noir.session       Remove all data from the session and start over cl...
 compare                      function      noir.util.crypt    Compare a raw string with an already encrypted str...
 compojure-route              function      noir.core          Adds a compojure route fn to the end of the route ...
 content-type                 function      noir.response      Wraps the response with the given content type and...
 custom-handler               macro         noir.core          Adds a handler to the end of the route table. This...

D

 defpage                      macro         noir.core          Adds a route to the server whose content is the th...
 defpartial                   macro         noir.core          Create a function that returns html using hiccup. ...
 dev-mode?                    function      noir.options       Returns if the server is currently in development ...

E

 empty                        function      noir.response      Return a successful, but completely empty response.
 encrypt                      function      noir.util.crypt    Encrypt the given string with a generated or suppl...
 errors?                      function      noir.validation    For all fields given return true if any field cont...

F

 flash-get                    function      noir.session       Retrieve the flash stored value. This will remove ...
 flash-put!                   function      noir.session       Store a value with a lifetime of one retrieval (on...

G

 gae-handler                  function      noir.util.gae      Create a Google AppEngine friendly handler for Noi...
 gen-handler                  function      noir.server        Get a full Noir request handler for use with plugi...
 get                          function      noir.cookies       Get the value of a cookie from the request. k can ...
 get                          function      noir.options       Get an option from the noir options map.
 get                          function      noir.session       Get the key's value from the session, returns nil ...
 get-errors                   function      noir.validation    Get the errors for the given field. This will retu...
 get-page                     function      noir.statuses      Gets the content to display for the given status c...
 get-signed                   function      noir.cookies       Get the value of a cookie from the request using '...

H

 has-body                     function      noir.util.test     Asserts that the response has the given body.
 has-content-type             function      noir.util.test     Asserts that the response has the given content ty...
 has-status                   function      noir.util.test     Asserts that the response has the given status.
 has-value?                   function      noir.validation    Returns true if v is truthy and not an empty strin...
 has-values?                  function      noir.validation    Returns true if all members of the collection has-...

I

 is-email?                    function      noir.validation    Returns true if v is an email address.

J

 json                         function      noir.response      Wraps the response in the json content type and st...

K


L

 list                         function      noir.util.s3       List all files in the bucket with the given prefix.
 load-views                   function      noir.server        Require all the namespaces in the given dir so tha...
 load-views-ns                function      noir.server        Require all the namespaces prefixed by the namespa...

M

 max-length?                  function      noir.validation    Returns true if v is less than or equal to the giv...
 min-length?                  function      noir.validation    Returns true if v is greater than or equal to the ...

N

 not-nil?                     function      noir.validation    Returns true if v is not nil.

O

 on-error                     function      noir.validation    If the given field has an error, execute func and ...

P

 post-route                   macro         noir.core          Adds a route to the end of the route table and pas...
 pre-route                    macro         noir.core          Adds a route to the beginning of the route table a...
 put!                         function      noir.cookies       Add a new cookie whose name is k and has the value...
 put!                         function      noir.session       Associates the key with the given value in the ses...
 put!                         function      noir.util.s3       Put the given file on S3 where bucket is the strin...
 put-signed!                  function      noir.cookies       Adds a new cookie whose name is k and has the valu...

Q


R

 redirect                     function      noir.response      A header redirect to a different url.
 remove!                      function      noir.session       Remove a key from the session.
 rename!                      function      noir.util.s3       Rename the given file on S3.
 render                       function      noir.core          Renders the content for a route by calling the pag...
 restart                      function      noir.server        Restart a noir server.
 ring-request                 function      noir.request       Returns back the current ring request map.
 rule                         function      noir.validation    If the passed? condition is not met, add the error...

S

 send-request                 function      noir.util.test     Send a request to the Noir handler. Unlike with-no...
 service                      function      noir.util.s3       Create an S3 service object.
 set-error                    function      noir.validation    Explicitly set an error for the given field. This ...
 set-page!                    function      noir.statuses      Sets the content to be displayed if there is a res...
 start                        function      noir.server        Create a noir server bound to the specified port w...
 status                       function      noir.response      Wraps the content in the given status code.
 stop                         function      noir.server        Stop a noir server.

T


U

 url-for                      macro         noir.core          given a named route, i.e. (defpage foo "/foo/:id")...

V


W

 with-noir                    macro         noir.util.test     Executes the body within the context of Noir's bin...
 with-s3                      macro         noir.util.s3       Given a server-spec which contains {:secret-key :a...
 wrap-utf-8                   function      noir.util.middleware DEPRECATED - Ring does this automatically now.  ...

X

 xml                          function      noir.response      Wraps the response with the content type for xml a...

Y


Z


Other


Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.