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(java.lang.String param) |
static boolean |
asBoolean(java.lang.String param,
boolean defaultValue) |
protected javax.jms.Destination |
asDestination(java.lang.Object value) |
protected int |
asInt(java.lang.String name) |
protected java.lang.Integer |
asInteger(java.lang.Object value) |
protected java.lang.Long |
asLong(java.lang.Object value) |
protected long |
asLong(java.lang.String name) |
protected java.lang.String |
asString(java.lang.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,
java.lang.String destinationName) |
protected javax.jms.Destination |
getDestinationFromURI(WebClient client,
javax.servlet.http.HttpServletRequest request) |
protected java.lang.String |
getPostedMessageBody(javax.servlet.http.HttpServletRequest request) |
protected java.lang.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 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
public static boolean asBoolean(java.lang.String param)
public static boolean asBoolean(java.lang.String param, boolean defaultValue)
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(java.lang.Object value)
protected java.lang.Integer asInteger(java.lang.Object value)
protected java.lang.Long asLong(java.lang.Object value)
protected long asLong(java.lang.String name)
protected int asInt(java.lang.String name)
protected java.lang.String asString(java.lang.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, java.lang.String destinationName) throws javax.jms.JMSException
javax.jms.JMSException
protected boolean isTopic(javax.servlet.http.HttpServletRequest request)
protected java.lang.String getPostedMessageBody(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
java.io.IOException
protected java.lang.String getSelector(javax.servlet.http.HttpServletRequest request) throws java.io.IOException
java.io.IOException
Copyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.