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, service
public MessageServletSupport()
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void appendParametersToMessage(javax.servlet.http.HttpServletRequest request, javax.jms.TextMessage message) throws javax.jms.JMSException
javax.jms.JMSException
protected 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.JMSException
protected javax.jms.Destination getDestinationFromURI(WebClient client, javax.servlet.http.HttpServletRequest request) throws javax.jms.JMSException
javax.jms.JMSException
protected javax.jms.Destination getDestination(WebClient client, javax.servlet.http.HttpServletRequest request, String destinationName) throws javax.jms.JMSException
javax.jms.JMSException
protected boolean isTopic(javax.servlet.http.HttpServletRequest request)
protected String getPostedMessageBody(javax.servlet.http.HttpServletRequest request) throws IOException
IOException
protected String getSelector(javax.servlet.http.HttpServletRequest request) throws IOException
IOException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.