|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
receive
or when the message
listener the session has called to process the message successfully
returns.
BytesMessage
object is used to send a message containing a
stream of uninterpreted bytes.acknowledge
method.
java.lang.Object.clone
method to return a copy of this cookie.
QueueBrowser
.
TransactionInProgressException
, since it should
not be called for an XASession
object.
Connection
object is a client's active connection to its JMS
provider.Connection
objects provide a special
facility
for creating a ConnectionConsumer
(optional).ConnectionFactory
object encapsulates a set of connection
configuration
parameters that has been defined by an administrator.ConnectionMetaData
object provides information describing the
Connection
object.QueueBrowser
object to peek at the messages on
the specified queue.
QueueBrowser
object to peek at the messages on
the specified queue using a message selector.
QueueBrowser
object to peek at the messages on
the specified queue.
QueueBrowser
object to peek at the messages on
the specified queue using a message selector.
BytesMessage
object.
MessageConsumer
for the specified destination.
MessageConsumer
for the specified destination,
using a message selector.
MessageConsumer
for the specified destination, using a
message selector.
MapMessage
object.
Message
object.
ObjectMessage
object.
ObjectMessage
object.
MessageProducer
to send messages to the specified
destination.
Queue
name.
Queue
name.
QueueSession
object.
XAQueueSession
object.
QueueReceiver
object to receive messages from the
specified queue.
QueueReceiver
object to receive messages from the
specified queue using a message selector.
QueueSender
object to send messages to the
specified queue.
Session
object.
Session
object.
StreamMessage
object.
TemporaryQueue
object.
TemporaryQueue
object.
TemporaryTopic
object.
TemporaryTopic
object.
TextMessage
object.
TextMessage
object.
Topic
name.
Topic
name.
TopicSession
object.
XATopicSession
object.
XAConnection
with the default user identity.
XAQueueSession
object.
XASession
object.
XATopicSession
object.
PERSISTENT
.
PERSISTENT
and
NON_PERSISTENT
.Destination
object encapsulates a provider-specific
address.service
method)
to allow a servlet to handle a DELETE request.
doFilter
method of the Filter is called by the container
each time a request/response pair is passed through the chain due
to a client request for a resource at the end of the chain.
service
method) to
allow a servlet to handle a GET request.
service
method and handles the
request.
service
method)
to allow a servlet to handle a OPTIONS request.
service
method)
to allow a servlet to handle a POST request.
service
method)
to allow a servlet to handle a PUT request.
service
method)
to allow a servlet to handle a TRACE request.
sendRedirect
method or, if encoding is not needed,
returns the URL unchanged.
Connection
object, it informs the Connection
object's
ExceptionListener
, if one has been registered.null
if no object is bound under the name.
null
if there is no attribute by that name.
Object
,
or null
if no attribute of the given name exists.
Enumeration
of String
objects
containing the names of all the objects bound to this session.
Enumeration
containing the
attribute names available
within this servlet context.
Enumeration
containing the
names of the attributes available to this request.
boolean
value with the specified name.
boolean
property with the
specified name.
byte
value with the specified name.
byte
property with the specified
name.
null
if the cookie has no comment.
null
if the type is not known.
ServletContext
object that
corresponds to a specified URL on the server.
Cookie
objects the client sent with this request.
long
value that represents a
Date
object.
MessageProducer
.
double
value with the specified name.
double
property with the specified
name.
ExceptionListener
object for this connection.
float
value with the specified name.
float
property with the specified
name.
String
.
Enumeration
of String
objects.
Enumeration
and will be removed
in a future version of this API.
String
containing the value of the
named initialization parameter, or null
if
the parameter does not exist.
String
containing the value of the named
initialization parameter, or null
if the parameter does
not exist.
String
containing the value of the
named initialization parameter, or null
if
the parameter does not exist.
String
containing the value of the named
context-wide initialization parameter, or null
if the
parameter does not exist.
Enumeration
of String
objects,
or an empty Enumeration
if the filter has
no initialization parameters.
Enumeration
of String
objects,
or an empty Enumeration
if the servlet has no
initialization parameters.
Enumeration
of String
objects,
or an empty Enumeration
if the servlet has
no initialization parameters.
Enumeration
of String
objects, or an
empty Enumeration
if the context has no initialization
parameters.
ServletInputStream
.
int
value with the specified name.
int
.
int
property with the specified
name.
DeliveryMode
value specified for this message.
Destination
object for this message.
Destination
object to which a reply to this
message should be sent.
HttpServletRequest
object was last modified,
in milliseconds since midnight January 1, 1970 GMT.
Locale
that the client will
accept content in, based on the Accept-Language header.
ServletResponse.setLocale(java.util.Locale)
method.
Enumeration
of Locale
objects
indicating, in decreasing order starting with the preferred locale, the
locales that are acceptable to the client based on the Accept-Language
header.
long
value with the specified name.
long
property with the specified
name.
Enumeration
of all the names in the
MapMessage
object.
-1
indicating the cookie will persist
until browser shutdown.
MessageListener
.
null
if
the MIME type is not known.
RequestDispatcher
object that acts
as a wrapper for the named servlet.
NoLocal
attribute for this subscriber.
ServletOutputStream
suitable for writing binary
data in the response.
String
,
or null
if the parameter does not exist.
Enumeration
of String
objects containing the names of the parameters contained
in this request.
String
objects containing
all of the values the given request parameter has, or
null
if the parameter does not exist.
Enumeration
of all the property names.
Queue
associated with this queue receiver.
QueueSender
.
XAQueueSession
.
BufferedReader
.
String
containing the real path
for a given virtual path.
ServletContext.getRealPath(java.lang.String)
instead.
null
if the user
has not been authenticated.
RequestDispatcher
object that acts
as a wrapper for the resource located at the given path.
RequestDispatcher
object that acts as a wrapper for
the resource located at the given path.
HttpServletRequest
object.
InputStream
object.
http
, https
, or ftp
.
true
if the browser is sending cookies
only over a secure protocol, or false
if the
browser can send cookies using any protocol.
This method was originally defined to retrieve a servlet
from a ServletContext
. In this version, this method
always returns null
and remains only to preserve
binary compatibility. This method will be permanently removed
in a future version of the Java Servlet API.
In lieu of this method, servlets can share information using the
ServletContext
class and can perform shared business logic
by invoking methods on common non-servlet classes.
ServletConfig
object.
ServletConfig
object, which contains
initialization and startup parameters for this servlet.
ServletContext
in which the caller
is executing.
ServletContext
in which this servlet
is running.
ServletContext
in which the caller
is executing.
This method was originally defined to return an
Enumeration
of all the servlet names known to this context. In this version,
this method always returns an empty Enumeration
and
remains only to preserve binary compatibility. This method will
be permanently removed in a future version of the Java Servlet API.
This method was originally defined to return an Enumeration
of all the servlets known to this servlet context. In this
version, this method always returns an empty enumeration and
remains only to preserve binary compatibility. This method
will be permanently removed in a future version of the Java
Servlet API.
ServerSession
's Session
.
XASession
.
HttpSession
associated with this request or, if there is no
current session and create
is true, returns
a new session.
short
value with the specified name.
short
property with the specified
name.
String
value with the specified name.
String
property with the specified
name.
TopicPublisher
.
Topic
associated with this subscriber.
XATopicSession
.
java.security.Principal
object containing
the name of the current authenticated user.
HttpSession.getAttribute(java.lang.String)
.
HttpSession.getAttributeNames()
PrintWriter
object that
can send character text to the client.
HeuristicMixedException
without a
detail message.
HeuristicCommitException
with the
specified detail message.
HeuristicMixedException
without a
detail message.
HeuristicMixedException
with the
specified detail message.
HeuristicRollbackException
without a
detail message.
HeuristicRollbackException
with the
specified detail message.
ServletRequest
interface
to provide request information for HTTP servlets.ServletResponse
interface to provide HTTP-specific
functionality in sending a response.HttpSessionBindingListener
when it is bound or
unbound from a session, or to a HttpSessionAttributeListener
that has been configured in the deployment descriptor when any attribute is
bound, unbound or replaced in a session.HttpUtils
object.
IllegalStateException
with the specified reason
and error code.
IllegalStateException
with the specified
reason.
super.init(config)
.
InvalidClientIDException
with the specified
reason and error code.
InvalidClientIDException
with the specified
reason.
InvalidDestinationException
with the specified
reason and error code.
InvalidDestinationException
with the specified
reason.
InvalidSelectorException
with the specified
reason and error code.
InvalidSelectorException
with the specified
reason.
InvalidTransactionException
without a
detail message.
InvalidTransactionException
with the
specified detail message.
true
if the client does not yet know about the
session or if the client chooses not to join the session.
boolean
indicating
whether the servlet is permanently unavailable.
HttpServletRequest.isRequestedSessionIdFromURL()
instead.
MapMessage
object.
JMSException
with the specified reason and
error code.
JMSException
with the specified reason and with
the error code defaulting to null.
JMSSecurityException
with the specified
reason and error code.
JMSSecurityException
with the specified
reason.
Throwable
exception
to the servlet log file, prepended by the servlet's name.
ServletContext.log(String message, Throwable throwable)
instead.
This method was originally defined to write an exception's stack trace and an explanatory error message to the servlet log file.
Throwable
exception
to the servlet log file.
MapMessage
object is used to send a set of name-value pairs.Message
interface is the root interface of all JMS
messages.MessageConsumer
object to receive messages
from a destination.StreamMessage
or
BytesMessage
is being read.MessageEOFException
with the specified
reason and error code.
MessageEOFException
with the specified
reason.
MessageFormatException
with the specified
reason and error code.
MessageFormatException
with the specified
reason.
MessageListener
object is used to receive asynchronously
delivered messages.MessageNotReadableException
with the specified
reason and error code.
MessageNotReadableException
with the specified
reason.
MessageNotWriteableException
with the specified
reason and error code.
MessageNotWriteableException
with the specified
reason.
MessageProducer
object to send messages to a
destination.NotSupportedException
without a
detail message.
NotSupportedException
with the specified
detail message.
ObjectMessage
object is used to send a message that contains
a serializable object in the Java programming language ("Java object").HashTable
object
with key-value pairs.
String
to the client,
without a carriage return-line feed (CRLF)
character at the end.
boolean
value to the client,
with no carriage return-line feed (CRLF)
character at the end.
long
value to the client,
with no carriage return-line feed (CRLF) at the end.
float
value to the client,
with no carriage return-line feed (CRLF) at the end.
double
value to the client,
with no carriage return-line feed (CRLF) at the end.
String
to the client,
followed by a carriage return-line feed (CRLF).
boolean
value to the client,
followed by a
carriage return-line feed (CRLF).
long
value to the client, followed by a
carriage return-line feed (CRLF).
float
value to the client,
followed by a carriage return-line feed (CRLF).
double
value to the client,
followed by a carriage return-line feed (CRLF).
HttpSession.setAttribute(java.lang.String, java.lang.Object)
Queue
object encapsulates a provider-specific queue name.QueueBrowser
object to look at messages on a
queue without removing them.QueueConnection
object is an active connection to a
point-to-point JMS provider.QueueConnectionFactory
object to create
QueueConnection
objects with a point-to-point JMS provider.QueueReceiver
object to receive messages that
have been delivered to a queue.QueueSender
object to send messages to a queue.QueueSession
object provides methods for creating
QueueReceiver
, QueueSender
,
QueueBrowser
, and TemporaryQueue
objects.boolean
from the bytes message stream.
boolean
from the stream message.
byte
value from the stream message.
byte[]
object (the read buffer).
double
from the bytes message stream.
double
from the stream message.
float
from the bytes message stream.
float
from the stream message.
String
from the stream message.
Synchronization
callback with this transaction.
HttpSession.removeAttribute(java.lang.String)
ResourceAllocationException
with the specified
reason and error code.
ResourceAllocationException
with the specified
reason.
TransactionInProgressException
, since it should
not be called for an XASession
object.
RollbackException
without a detail message.
RollbackException
with the specified
detail message.
Content-Length
.
Request-Line
is not allowed for the resource
identified by the Request-URI
.
Request-URI
is longer
than the server is willing to interpret.
Location
field.
MessageProducer
's
default delivery mode, priority, and time to live.
ServerSession
object is an application server object that
is used by a server to associate a thread with a JMS session (optional).ServerSessionPool
object is an object implemented by an
application server to provide a pool of ServerSession
objects
for processing the messages of a ConnectionConsumer
(optional).service
method and dispatches
them to the do
XXX methods defined in
this class.
service
method.
readLine
method
for reading data one line at a time.Session
object is a single-threaded context for producing and consuming
messages.getAcknowledgeMode
if the session is transacted.
boolean
value with the specified name into the Map.
boolean
property value with the specified name into
the message.
byte
value with the specified name into the Map.
byte
property value with the specified name into
the message.
double
value with the specified name into the Map.
double
property value with the specified name into
the message.
float
value with the specified name into the Map.
float
property value with the specified name into
the message.
int
value with the specified name into the Map.
int
property value with the specified name into
the message.
DeliveryMode
value for this message.
Destination
object for this message.
Destination
object to which a reply to this
message should be sent.
Exception
.
long
value with the specified name into the Map.
long
property value with the specified name into
the message.
MessageListener
.
short
value with the specified name into the Map.
short
property value with the specified name into
the message.
setStatus(int)
, to send an error with a description
use sendError(int, String)
.
Sets the status code and message for this response.
String
value with the specified name into the Map.
String
property value with the specified name into
the message.
TransactionManager.begin()
method.
UserTransaction.begin()
method.
Session
's run
method to be called
to process messages that were just assigned to it.
StreamMessage
object is used to send a stream of primitive
types in the Java programming language.SystemException
without a detail message.
SystemException
with the specified
detail message.
SystemException
with the specified
detail message.
TemporaryQueue
object is a unique Queue
object
created for the duration of a Connection
.TemporaryTopic
object is a unique Topic
object
created for the duration of a Connection
.TextMessage
object is used to send a message containing a
java.lang.String
.recover
method indicating
that the resource manager should end the current recovery scan.
end
method indicating that
the transaction should be disassociated, and that the work has
failed
start
method indicating
that the resource should associate with a transaction previously seen
by this resource manager.
start
method indicating
that the resource should associate with a transaction where the
association was suspended.
recover
method indicating
that the resource manager should start a new recovery scan.
end
method indicating that
the transaction should be disassociated, and that the work has
completed sucessfully.
end
method indicating that
the resource should temporarily suspend the association with the
transaction.
Topic
object encapsulates a provider-specific topic name.TopicConnection
object is an active connection to a
publish/subscribe JMS provider.TopicConnectionFactory
object to create
TopicConnection
objects with a publish/subscribe JMS provider.TopicPublisher
object to publish messages on a
topic.TopicSession
object provides methods for creating
TopicPublisher
, TopicSubscriber
, and
TemporaryTopic
objects.TopicSubscriber
object to receive messages that
have been published to a topic.TransactionInProgressException
with the
specified reason and error code.
TransactionInProgressException
with the
specified reason.
TransactionRequiredException
without a
detail message.
TransactionRequiredException
with the
specified detail message.
Session.commit
results in a rollback of the current
transaction.TransactionRolledBackException
with the
specified reason and error code.
TransactionRolledBackException
with the
specified reason.
TransactionRolledbackException
without
a detail message.
TransactionRolledbackException
with the
specified detail message.
UnavailableException.UnavailableException(String)
instead.
UnavailableException.UnavailableException(String, int)
instead.
boolean
to the bytes message stream as a 1-byte
value.
boolean
to the stream message.
byte
to the bytes message stream as a 1-byte
value.
byte
to the stream message.
char
to the bytes message stream as a 2-byte
value, high byte first.
char
to the stream message.
double
argument to a long
using
the
doubleToLongBits
method in class Double
,
and then writes that long
value to the bytes message
stream as an 8-byte quantity, high byte first.
double
to the stream message.
float
argument to an int
using
the
floatToIntBits
method in class Float
,
and then writes that int
value to the bytes message
stream as a 4-byte quantity, high byte first.
float
to the stream message.
int
to the bytes message stream as four bytes,
high byte first.
int
to the stream message.
long
to the bytes message stream as eight bytes,
high byte first.
long
to the stream message.
short
to the bytes message stream as two bytes,
high byte first.
short
to the stream message.
String
to the stream message.
prepare
method to
indicate that the resource has successfully prepared to commit
the transaction.
prepare
method to
indicate that the resource was not changed in this transaction.
XAConnection
interface extends the capability of
Connection
by providing an XASession
(optional).XAConnectionFactory
interface is a base interface for the
XAQueueConnectionFactory
and
XATopicConnectionFactory
interfaces.Xid
is not valid.
XAException
without detail message.
XAException
with the specified detail
message.
XAException
for the specified error code.
XAQueueConnection
provides the same create options as
QueueConnection
(optional).XAQueueConnectionFactory
provides the same create options as
a QueueConnectionFactory
(optional).XAQueueSession
provides a regular QueueSession
,
which can be used to
create QueueReceiver
, QueueSender
, and
QueueBrowser
objects (optional).XASession
interface extends the capability of
Session
by adding access to a JMS provider's support for the
Java Transaction API (JTA) (optional).XATopicConnection
provides the same create options as
TopicConnection
(optional).XATopicConnectionFactory
provides the same create options as
a TopicConnectionFactory
(optional).XATopicSession
provides a regular TopicSession
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |