Class HttpTransportServer
java.lang.Object
org.apache.activemq.util.ServiceSupport
org.apache.activemq.transport.TransportServerSupport
org.apache.activemq.transport.WebTransportServerSupport
org.apache.activemq.transport.http.HttpTransportServer
- All Implemented Interfaces:
org.apache.activemq.Service,org.apache.activemq.transport.TransportServer
- Direct Known Subclasses:
HttpsTransportServer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.activemq.transport.WebTransportServerSupport
WebTransportServerSupport.HttpOptions, WebTransportServerSupport.JettyOptions -
Field Summary
Fields inherited from class org.apache.activemq.transport.WebTransportServerSupport
bindAddress, connector, host, httpOptions, jettyOptions, server, socketConnectorFactoryFields inherited from class org.apache.activemq.transport.TransportServerSupport
allowLinkStealing, transportOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TextWireFormatprotected voiddoStart()protected voiddoStop(ServiceStopper stopper) longbooleanvoidvoidsetBrokerInfo(org.apache.activemq.command.BrokerInfo brokerInfo) protected voidsetConnector(org.eclipse.jetty.server.Connector connector) voidsetTransportOption(Map<String, Object> transportOptions) voidsetWireFormat(TextWireFormat wireFormat) voidsetWireFormatOptions(Map<String, Object> wireFormatOptions) Methods inherited from class org.apache.activemq.transport.WebTransportServerSupport
bind, configureTraceMethod, createServer, setHttpOptions, setJettyOptionsMethods inherited from class org.apache.activemq.transport.TransportServerSupport
getAcceptListener, getBindLocation, getConnectURI, isAllowLinkStealing, onAcceptError, setAcceptListener, setAllowLinkStealing, setBindLocation, setConnectURIMethods inherited from class org.apache.activemq.util.ServiceSupport
addServiceListener, dispose, 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, stop
-
Constructor Details
-
HttpTransportServer
-
-
Method Details
-
setBrokerInfo
public void setBrokerInfo(org.apache.activemq.command.BrokerInfo brokerInfo) -
getWireFormat
-
setWireFormat
-
createWireFormat
-
setConnector
protected void setConnector(org.eclipse.jetty.server.Connector connector) -
doStart
- Specified by:
doStartin classServiceSupport- Throws:
Exception
-
doStop
- Specified by:
doStopin classServiceSupport- Throws:
Exception
-
getSocketAddress
-
setTransportOption
- Overrides:
setTransportOptionin classorg.apache.activemq.transport.TransportServerSupport
-
setWireFormatOptions
-
isSslServer
public boolean isSslServer() -
getMaxConnectionExceededCount
public long getMaxConnectionExceededCount() -
resetStatistics
public void resetStatistics()
-