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:
org.apache.activemq.Service,org.apache.activemq.transport.TransportServer
- Direct Known Subclasses:
HttpTransportServer,WSTransportServer
public abstract class WebTransportServerSupport
extends org.apache.activemq.transport.TransportServerSupport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected URIprotected org.eclipse.jetty.server.Connectorprotected Stringprotected final WebTransportServerSupport.HttpOptionsprotected final WebTransportServerSupport.JettyOptionsprotected org.eclipse.jetty.server.Serverprotected SocketConnectorFactoryFields inherited from class org.apache.activemq.transport.TransportServerSupport
allowLinkStealing, transportOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbind()protected voidconfigureTraceMethod(org.eclipse.jetty.security.ConstraintSecurityHandler securityHandler, boolean enableTrace) protected voidvoidsetHttpOptions(Map<String, Object> options) voidsetJettyOptions(Map<String, Object> options) Methods inherited from class org.apache.activemq.transport.TransportServerSupport
getAcceptListener, getBindLocation, getConnectURI, isAllowLinkStealing, onAcceptError, setAcceptListener, setAllowLinkStealing, setBindLocation, setConnectURI, setTransportOptionMethods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, doStart, doStop, isStarted, isStopped, isStopping, postStop, preStart, removeServiceListener, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.activemq.Service
start, stopMethods inherited from interface org.apache.activemq.transport.TransportServer
getMaxConnectionExceededCount, getSocketAddress, isSslServer, resetStatistics, setBrokerInfo
-
Field Details
-
bindAddress
-
server
protected org.eclipse.jetty.server.Server server -
connector
protected org.eclipse.jetty.server.Connector connector -
socketConnectorFactory
-
host
-
httpOptions
-
jettyOptions
-
-
Constructor Details
-
WebTransportServerSupport
-
-
Method Details
-
createServer
protected void createServer() -
bind
- Throws:
Exception
-
configureTraceMethod
protected void configureTraceMethod(org.eclipse.jetty.security.ConstraintSecurityHandler securityHandler, boolean enableTrace) -
setHttpOptions
-
setJettyOptions
-