|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.echarts.servlet.sip.messages.Request
org.echarts.servlet.sip.messages.Info
org.echarts.servlet.sip.messages.Status
public class Status
Represents a received message conveying generic status information sent from another SIP Servlet application. This is a special type of Info request, containing a proprietary header marking it as such a request. The message content is text/xml, containing a type, as well as an arbitrary number of parameters. Status messages can be created via SipPort.createStatusMessage(type, props).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javax.servlet.sip.SipServletMessage |
|---|
SipServletMessage.HeaderForm |
| Field Summary | |
|---|---|
protected StatusParser |
parser
|
protected java.util.Properties |
properties
|
static java.lang.String |
STATUS_HEADER
|
protected java.lang.String |
type
|
| Constructor Summary | |
|---|---|
Status(SipServletRequest r)
|
|
| Method Summary | |
|---|---|
java.util.Properties |
getProperties()
Get the properties used to create status message. |
java.lang.String |
getProperty(java.lang.String propName)
Get the value of a specific property used to create status message. |
java.lang.String |
getType()
Get the type used to create status message. |
protected void |
parse(java.lang.String content)
Parse message body to obtain type and properties. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.servlet.sip.SipServletRequest |
|---|
addAuthHeader, addAuthHeader, createCancel, createResponse, createResponse, getB2buaHelper, getInitialPoppedRoute, getInputStream, getMaxForwards, getPoppedRoute, getProxy, getProxy, getReader, getRegion, getRequestURI, getRoutingDirective, getSubscriberURI, isInitial, pushPath, pushRoute, pushRoute, send, setMaxForwards, setRequestURI, setRoutingDirective |
| Methods inherited from interface javax.servlet.ServletRequest |
|---|
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding |
| Field Detail |
|---|
public static final java.lang.String STATUS_HEADER
protected java.lang.String type
protected java.util.Properties properties
protected StatusParser parser
| Constructor Detail |
|---|
public Status(SipServletRequest r)
throws java.io.UnsupportedEncodingException,
java.io.IOException,
StatusParseException
java.io.UnsupportedEncodingException
java.io.IOException
StatusParseException| Method Detail |
|---|
protected void parse(java.lang.String content)
throws StatusParseException
content -
StatusParseExceptionpublic java.lang.String getType()
public java.util.Properties getProperties()
public java.lang.String getProperty(java.lang.String propName)
propName -
public java.lang.String toString()
toString in class Request
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||