public abstract class MessageServletSupport extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
MessageServletSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendParametersToMessage(javax.servlet.http.HttpServletRequest request,
javax.jms.TextMessage message) |
static boolean |
asBoolean(String param) |
static boolean |
asBoolean(String param,
boolean defaultValue) |
protected javax.jms.Destination |
asDestination(Object value) |
protected int |
asInt(String name) |
protected Integer |
asInteger(Object value) |
protected Long |
asLong(Object value) |
protected long |
asLong(String name) |
protected String |
asString(Object value) |
protected javax.jms.Destination |
getDestination(WebClient client,
javax.servlet.http.HttpServletRequest request) |
protected javax.jms.Destination |
getDestination(WebClient client,
javax.servlet.http.HttpServletRequest request,
String destinationName) |
protected javax.jms.Destination |
getDestinationFromURI(WebClient client,
javax.servlet.http.HttpServletRequest request) |
protected String |
getPostedMessageBody(javax.servlet.http.HttpServletRequest request) |
protected String |
getSelector(javax.servlet.http.HttpServletRequest request) |
protected int |
getSendPriority(javax.servlet.http.HttpServletRequest request) |
protected long |
getSendTimeToLive(javax.servlet.http.HttpServletRequest request) |
void |
init(javax.servlet.ServletConfig servletConfig) |
protected boolean |
isSendPersistent(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isSync(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isTopic(javax.servlet.http.HttpServletRequest request) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic MessageServletSupport()
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void appendParametersToMessage(javax.servlet.http.HttpServletRequest request, javax.jms.TextMessage message) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected long getSendTimeToLive(javax.servlet.http.HttpServletRequest request)
protected int getSendPriority(javax.servlet.http.HttpServletRequest request)
protected boolean isSendPersistent(javax.servlet.http.HttpServletRequest request)
protected boolean isSync(javax.servlet.http.HttpServletRequest request)
protected javax.jms.Destination asDestination(Object value)
protected javax.jms.Destination getDestination(WebClient client, javax.servlet.http.HttpServletRequest request) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected javax.jms.Destination getDestinationFromURI(WebClient client, javax.servlet.http.HttpServletRequest request) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected javax.jms.Destination getDestination(WebClient client, javax.servlet.http.HttpServletRequest request, String destinationName) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected boolean isTopic(javax.servlet.http.HttpServletRequest request)
protected String getPostedMessageBody(javax.servlet.http.HttpServletRequest request) throws IOException
IOExceptionprotected String getSelector(javax.servlet.http.HttpServletRequest request) throws IOException
IOExceptionCopyright © 2005–2020 FuseSource, Corp.. All rights reserved.