Package org.apache.activemq.web
Class AjaxWebClient
- java.lang.Object
-
- org.apache.activemq.web.WebClient
-
- org.apache.activemq.web.AjaxWebClient
-
- All Implemented Interfaces:
Externalizable
,Serializable
,EventListener
,HttpSessionActivationListener
,HttpSessionBindingListener
public class AjaxWebClient extends WebClient
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.web.WebClient
BROKER_URL_INIT_PARAM, CONNECTION_FACTORY_ATTRIBUTE, CONNECTION_FACTORY_OPTIMIZE_ACK_PARAM, CONNECTION_FACTORY_PREFETCH_PARAM, PASSWORD_INIT_PARAM, SELECTOR_NAME, selectorName, USERNAME_INIT_PARAM, WEB_CLIENT_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description AjaxWebClient(HttpServletRequest request, long maximumReadTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
closeIfExpired()
Map<MessageAvailableConsumer,String>
getDestinationNameMap()
Map<MessageAvailableConsumer,String>
getIdMap()
AjaxListener
getListener()
long
getMillisSinceLastAccessed()
protected long
getNow()
void
updateLastAccessed()
-
Methods inherited from class org.apache.activemq.web.WebClient
close, closeConsumer, closeConsumers, createSession, createWebClient, getConnection, getConsumer, getConsumer, getConsumers, getDeliveryMode, getPassword, getProducer, getSemaphore, getSession, getUsername, getWebClient, getWebClient, initConnectionFactory, initContext, isClosed, readExternal, send, send, sessionDidActivate, sessionWillPassivate, setDeliveryMode, setPassword, setProducer, setUsername, valueBound, valueUnbound, writeExternal
-
-
-
-
Constructor Detail
-
AjaxWebClient
public AjaxWebClient(HttpServletRequest request, long maximumReadTimeout)
-
-
Method Detail
-
getIdMap
public Map<MessageAvailableConsumer,String> getIdMap()
-
getDestinationNameMap
public Map<MessageAvailableConsumer,String> getDestinationNameMap()
-
getListener
public AjaxListener getListener()
-
getMillisSinceLastAccessed
public long getMillisSinceLastAccessed()
-
updateLastAccessed
public void updateLastAccessed()
-
closeIfExpired
public boolean closeIfExpired()
-
getNow
protected long getNow()
-
-