Package org.apache.activemq.transport
Class WebTransportServerSupport
- java.lang.Object
-
- org.apache.activemq.util.ServiceSupport
-
- org.apache.activemq.transport.TransportServerSupport
-
- org.apache.activemq.transport.WebTransportServerSupport
-
- All Implemented Interfaces:
Service
,TransportServer
- Direct Known Subclasses:
HttpTransportServer
,WSTransportServer
public abstract class WebTransportServerSupport extends TransportServerSupport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
WebTransportServerSupport.HttpOptions
protected static class
WebTransportServerSupport.JettyOptions
-
Field Summary
Fields Modifier and Type Field Description protected URI
bindAddress
protected org.eclipse.jetty.server.Connector
connector
protected String
host
protected WebTransportServerSupport.HttpOptions
httpOptions
protected WebTransportServerSupport.JettyOptions
jettyOptions
protected org.eclipse.jetty.server.Server
server
protected SocketConnectorFactory
socketConnectorFactory
-
Fields inherited from class org.apache.activemq.transport.TransportServerSupport
allowLinkStealing, transportOptions
-
-
Constructor Summary
Constructors Constructor Description WebTransportServerSupport(URI location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URI
bind()
protected void
configureTraceMethod(org.eclipse.jetty.security.ConstraintSecurityHandler securityHandler, boolean enableTrace)
protected void
createServer()
void
setHttpOptions(Map<String,Object> options)
void
setJettyOptions(Map<String,Object> options)
-
Methods inherited from class org.apache.activemq.transport.TransportServerSupport
getAcceptListener, getBindLocation, getConnectURI, isAllowLinkStealing, onAcceptError, setAcceptListener, setAllowLinkStealing, setBindLocation, setConnectURI, setTransportOption
-
Methods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, doStart, doStop, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.activemq.transport.TransportServer
getSocketAddress, isSslServer, setBrokerInfo
-
-
-
-
Field Detail
-
bindAddress
protected URI bindAddress
-
server
protected org.eclipse.jetty.server.Server server
-
connector
protected org.eclipse.jetty.server.Connector connector
-
socketConnectorFactory
protected SocketConnectorFactory socketConnectorFactory
-
host
protected String host
-
httpOptions
protected final WebTransportServerSupport.HttpOptions httpOptions
-
jettyOptions
protected final WebTransportServerSupport.JettyOptions jettyOptions
-
-
Constructor Detail
-
WebTransportServerSupport
public WebTransportServerSupport(URI location)
-
-