This package contains the interfaces representing SIP messages.
||A SIP message is either a request from a client to a server, or a
response from a server to a client.
||This interface provides factory methods that allow an application to create
Request and Response messages from a particular implementation of JAIN SIP.
||A SIP Request is a request from a client to a server.
||A Response message is sent by a recipient of Request once it has received
and interpreted the Request.
Package javax.sip.message Description
This package contains the interfaces representing SIP messages. There are
two type of messages, namely Request and Response:
Messages may contain multiple Headers and multiple Headers of the same
type. The order of all Headers within a message is significant, i.e. Headers
which are hop-by-hop must appear before any Headers which are end-to-end.
A message Body contains a session description . This format is represented
as an Object in this specification, which allows the body to be a String
or an Object type defined the Session Description Protocol (SDP) specification.
- Request - these messages are sent from
the client to server. They contain a specific method type that identifies
the type of Request, a Request-URI which indicates the user or service to
which this request is being addressed, along with various Headers and Body
that make up the content of the Request.
- Response - these messages sent from server
to client in response to a Request. They contain a specific status code
that identifies the type of Response, a Request-URI which indicates the user
or service to which this request is being addressed, a reason phrase that
is intended for the human user, along with various Headers and Body that make
up the content of the Response.
Additionally this package contains a MessageFactory class that defines
methods for creating new requests and responses. The MessageFactory is a
singleton object, which can be obtained from the
If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing at http://archives.java.sun.com
Copyright - 2006 BEA Systems and Sun Microsystems