org.apache.felix.http.jetty.internal
Class JettyConfig
java.lang.Object
org.apache.felix.http.jetty.internal.JettyConfig
public final class JettyConfig
- extends Object
Field Summary |
static String |
FELIX_HTTP_NIO
Felix specific property to control whether Jetty uses NIO or not for HTTP. |
static String |
FELIX_HTTPS_NIO
Felix specific property to control whether Jetty uses NIO or not for HTTPS. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FELIX_HTTP_NIO
public static final String FELIX_HTTP_NIO
- Felix specific property to control whether Jetty uses NIO or not for HTTP. Valid values are "true", "false". Default is true
- See Also:
- Constant Field Values
FELIX_HTTPS_NIO
public static final String FELIX_HTTPS_NIO
- Felix specific property to control whether Jetty uses NIO or not for HTTPS. Valid values are "true", "false". Default is the value of org.apache.felix.http.nio
- See Also:
- Constant Field Values
JettyConfig
public JettyConfig(BundleContext context)
isDebug
public boolean isDebug()
isUseHttp
public boolean isUseHttp()
- Returns
true
if HTTP is configured to be used (
FELIX_HTTP_ENABLE
) and
the configured HTTP port (HTTP_PORT
) is higher than zero.
isUseHttpNio
public boolean isUseHttpNio()
isUseHttps
public boolean isUseHttps()
- Returns
true
if HTTPS is configured to be used (
FELIX_HTTPS_ENABLE
) and
the configured HTTP port (HTTPS_PORT
) is higher than zero.
isUseHttpsNio
public boolean isUseHttpsNio()
getHttpPort
public int getHttpPort()
getHttpsPort
public int getHttpsPort()
getKeystore
public String getKeystore()
getPassword
public String getPassword()
getTruststore
public String getTruststore()
getTrustPassword
public String getTrustPassword()
getKeyPassword
public String getKeyPassword()
getClientcert
public String getClientcert()
reset
public void reset()
update
public void update(Dictionary props)
setServiceProperties
public void setServiceProperties( props)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.