CrossClj

0.3.8 docs

SourceDocs



RECENT
    VARS
    add-ssl-connector!
    create-server
    proxy-handler
    run-jetty

    « Index of all namespaces of this project

    Adapter for the Jetty 7 webserver.
    
    Private
    (add-ssl-connector! server options)
    Add an SslSocketConnector to a Jetty Server instance.
    
    Private
    (create-server options)
    Construct a Jetty Server instance.
    
    Private
    (proxy-handler handler)
    Returns an Jetty Handler implementation for the given Ring handler.
    
    (run-jetty handler options)
    Serve the given handler according to the options.
    Options:
      :configurator   - A function called with the Server instance.
      :port
      :host
      :join?          - Block the caller: defaults to true.
      :ssl?           - Use SSL.
      :ssl-port       - SSL port: defaults to 443, implies :ssl?
      :keystore
      :key-password
      :truststore
      :trust-password