org.qi4j.library.http
Class SecureJettyMixin

java.lang.Object
  extended by org.qi4j.library.http.AbstractJettyMixin
      extended by org.qi4j.library.http.SecureJettyMixin
All Implemented Interfaces:
HttpService, JettyActivation

public class SecureJettyMixin
extends AbstractJettyMixin


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.qi4j.library.http.JettyActivation
JettyActivation.Activator
 
Constructor Summary
SecureJettyMixin(Identity meAsIdentity, org.eclipse.jetty.server.Server jettyServer, java.lang.Iterable<ServiceReference<javax.servlet.ServletContextListener>> contextListeners, java.lang.Iterable<ServiceReference<javax.servlet.Servlet>> servlets, java.lang.Iterable<ServiceReference<javax.servlet.Filter>> filters, javax.management.MBeanServer mBeanServer)
           
 
Method Summary
protected  org.eclipse.jetty.server.Connector buildConnector()
           
protected  org.eclipse.jetty.security.SecurityHandler buildSecurityHandler()
           
protected  JettyConfiguration configuration()
           
protected  Interface.Protocol servedProtocol()
           
 
Methods inherited from class org.qi4j.library.http.AbstractJettyMixin
addContextListeners, addFilters, addServlets, interfacesServed, startJetty, stopJetty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecureJettyMixin

public SecureJettyMixin(@This
                        Identity meAsIdentity,
                        @Service
                        org.eclipse.jetty.server.Server jettyServer,
                        @Service
                        java.lang.Iterable<ServiceReference<javax.servlet.ServletContextListener>> contextListeners,
                        @Service
                        java.lang.Iterable<ServiceReference<javax.servlet.Servlet>> servlets,
                        @Service
                        java.lang.Iterable<ServiceReference<javax.servlet.Filter>> filters,
                        @Optional@Service
                        javax.management.MBeanServer mBeanServer)
Method Detail

configuration

protected JettyConfiguration configuration()
Specified by:
configuration in class AbstractJettyMixin

buildSecurityHandler

protected org.eclipse.jetty.security.SecurityHandler buildSecurityHandler()
Overrides:
buildSecurityHandler in class AbstractJettyMixin

buildConnector

protected org.eclipse.jetty.server.Connector buildConnector()
Overrides:
buildConnector in class AbstractJettyMixin

servedProtocol

protected Interface.Protocol servedProtocol()
Specified by:
servedProtocol in class AbstractJettyMixin