Skip to content

jalpedersen/ring-jetty8-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jetty 8 adapter for Ring

This is no longer maintained. Please use https://github.com/jalpedersen/ring-jetty9-adapter instead.

Synoptis

Adapter for Ring using Jetty 8.

Behaves exactly like the normal jetty adapter, but uses Jetty 8 instead of 6 or 7.

For more information, consult the offical Ring site: https://github.com/ring-clojure/ring

Example:

"Hello World" in Ring:

(use 'ring.adapter.jetty8)

(defn app [req]
  {:status  200
   :headers {"Content-Type" "text/html"}
   :body    "Hello World from Ring and Jetty 8"})

(run-jetty app {:port 8080})

Download and Installation

Add the following dependency to your project.clj and do a lein deps.

[org.signaut/ring-jetty8-adapter "1.1.6"]

About

Jetty 8 adapter for ring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published