Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: FELIX-3198: adding support for better http session configuraiton

...

  • org.apache.felix.http.jettyEnabled - True to enable jetty as the http container. The default is false.
  • org.apache.felix.http.whiteboardEnabled - True to enable the whiteboard implementation. The default is false.

The Jetty based implementation supports the following Jetty specific configuration as of Http Service Jetty Bundle 2.4:

  • org.mortbay.jetty.servlet.SessionCookie - Name of the cookie used to transport the Session ID. The default is JSESSIONID
  • org.mortbay.jetty.servlet.SessionURL - Name of the request parameter to transport the Session ID. The default is jsessionid
  • org.mortbay.jetty.servlet.SessionDomain - Domain to set on the session cookie. The default is null.
  • org.mortbay.jetty.servlet.SessionPath - The path to set on the session cookie. The default is the configured session context path (/).
  • org.mortbay.jetty.servlet.MaxAge - The maximum age value to set on the cookie. The default is -1.

Servlet API Events

The Servlet API defines a number of EventListener interfaces to catch Servlet API related events. As of HTTP Service 2.1.0 most events generated by the servlet container are forwarded to interested service. To be registered to receive events services must be registered with the respective EventListener interface:

...