public class SipResponse extends Response
Constructor and Description |
---|
SipResponse(Request request)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Address |
getAlertInfo()
Returns the alternative ring tone for the UAC.
|
List<EventType> |
getAllowedEventTypes()
Returns the list of supported event packages.
|
List<Address> |
getCalleeInfo()
Returns the description of the current callee.
|
String |
getCallId()
Returns the identifier of the call.
|
String |
getCommandSequence()
Returns the identifier of the command.
|
List<ContactInfo> |
getContacts()
Returns the data about the contacts.
|
Address |
getErrorInfo()
Returns the pointer to additional information about the error response.
|
Event |
getEvent()
Returns the description of an event notification.
|
Address |
getFrom()
Returns the description of the request's initiator.
|
String |
getMimeVersion()
Returns the version of the MIME protocol used to construct the message.
|
String |
getMinExpires()
Returns the minimum refresh interval supported for soft-state elements.
|
String |
getOrganization()
Returns the name of the organization to which the SIP element issuing the
message belongs.
|
List<Address> |
getRecordedRoutes()
Returns the list of routes completed by proxies to force future requests
to go through the proxy.
|
Address |
getReplyTo()
Returns a logical return URI.
|
List<SipRecipientInfo> |
getSipRecipientsInfo()
Returns the intermediary recipients information.
|
Availability |
getSipRetryAfter() |
Tag |
getSipTag()
Returns the tag of the returned representation.
|
List<OptionTag> |
getSupported()
Returns the extensions supported by the UAS.
|
Address |
getTo()
Returns the logical recipient of the request.
|
String |
getTransactionId()
Returns the transaction identifier.
|
List<OptionTag> |
getUnsupported()
Returns the extensions not supported by the UAS.
|
void |
setAlertInfo(Address alertInfo)
Sets the alternative ring tone for the UAC.
|
void |
setAllowedEventTypes(List<EventType> allowedEventTypes)
Sets the list of supported event packages.
|
void |
setCalleeInfo(List<Address> calleeInfo)
Sets the description of the current callee.
|
void |
setCallId(String callId)
Sets the identifier of the call.
|
void |
setCommandSequence(String commandSequence)
Sets the identifier of the command.
|
void |
setContacts(List<ContactInfo> contact)
Sets the data about the contact.
|
void |
setErrorInfo(Address errorInfo)
Sets the pointer to additional information about the error response.
|
void |
setEvent(Event event)
Sets the description of an event notification.
|
void |
setFrom(Address from)
Sets the description of the request's initiator.
|
void |
setMimeVersion(String mimeVersion)
Sets the version of the MIME protocol used to construct the message.
|
void |
setMinExpires(String minExpires)
Sets the minimum refresh interval supported for soft-state elements.
|
void |
setOrganization(String organization)
Sets the name of the organization to which the SIP element issuing the
message belongs.
|
void |
setRecordedRoutes(List<Address> recordedRoutes)
Sets the list of routes completed by proxies to force future requests to
go through the proxy.
|
void |
setReplyTo(Address replyTo)
Sets a logical return URI.
|
void |
setSipRecipientsInfo(List<SipRecipientInfo> recipientsInfo)
Sets the intermediary recipients information.
|
void |
setSipRetryAfter(Availability retryAfter)
Sets the delay after which a request should be retried.
|
void |
setSipTag(Tag sipTag)
Sets the tag of the returned representation.
|
void |
setSupported(List<OptionTag> supported)
Sets the extensions supported by the UAS.
|
void |
setTo(Address to)
Sets the logical recipient of the request.
|
void |
setUnsupported(List<OptionTag> unsupported)
Sets the extensions not supported by the UAS.
|
abort, commit, getAge, getAllowedMethods, getAuthenticationInfo, getChallengeRequests, getCookieSettings, getCurrent, getDimensions, getLocationRef, getProxyChallengeRequests, getRequest, getRetryAfter, getServerInfo, getStatus, isAutoCommitting, isCommitted, isConfidential, isFinal, isProvisional, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAge, setAllowedMethods, setAuthenticationInfo, setAutoCommitting, setChallengeRequests, setCommitted, setCookieSettings, setCurrent, setDimensions, setLocationRef, setLocationRef, setProxyChallengeRequests, setRequest, setRetryAfter, setServerInfo, setStatus, setStatus, setStatus, setStatus, toString
getAttributes, getCacheDirectives, getDate, getEntity, getEntityAsText, getOnError, getOnSent, getRecipientsInfo, getWarnings, isEntityAvailable, release, setAttributes, setCacheDirectives, setDate, setEntity, setEntity, setOnError, setOnSent, setRecipientsInfo, setWarnings
public SipResponse(Request request)
request
- The associated request.public Address getAlertInfo()
public List<EventType> getAllowedEventTypes()
public List<Address> getCalleeInfo()
public String getCallId()
public String getCommandSequence()
public List<ContactInfo> getContacts()
public Address getErrorInfo()
public Event getEvent()
public Address getFrom()
public String getMimeVersion()
public String getMinExpires()
public String getOrganization()
public List<Address> getRecordedRoutes()
public Address getReplyTo()
public List<SipRecipientInfo> getSipRecipientsInfo()
public Availability getSipRetryAfter()
public Tag getSipTag()
public List<OptionTag> getSupported()
public Address getTo()
public String getTransactionId()
public List<OptionTag> getUnsupported()
public void setAlertInfo(Address alertInfo)
alertInfo
- The alternative ring tone for the UAC.public void setAllowedEventTypes(List<EventType> allowedEventTypes)
allowedEventTypes
- The list of supported event packages.public void setCalleeInfo(List<Address> calleeInfo)
calleeInfo
- The description of the current callee.public void setCallId(String callId)
callId
- The identifier of the call.public void setCommandSequence(String commandSequence)
commandSequence
- The identifier of the command.public void setContacts(List<ContactInfo> contact)
contact
- The data about the contact.public void setErrorInfo(Address errorInfo)
errorInfo
- The pointer to additional information about the error
response.public void setEvent(Event event)
event
- The description of an event notification.public void setFrom(Address from)
from
- The description of the request's initiator.public void setMimeVersion(String mimeVersion)
mimeVersion
- The version of the MIME protocol used to construct the
message.public void setMinExpires(String minExpires)
minExpires
- The minimum refresh interval supported for soft-state
elements.public void setOrganization(String organization)
organization
- The name of the organization to which the SIP element issuing
the message belongs.public void setRecordedRoutes(List<Address> recordedRoutes)
recordedRoutes
- The list of routes completed by proxies to force future
requests to go through the proxy.public void setReplyTo(Address replyTo)
replyTo
- A logical return URI.public void setSipRecipientsInfo(List<SipRecipientInfo> recipientsInfo)
recipientsInfo
- The intermediary recipients information.public void setSipRetryAfter(Availability retryAfter)
retryAfter
- The delay after which a request should be retried.public void setSipTag(Tag sipTag)
sipTag
- The tag of the returned representation.public void setSupported(List<OptionTag> supported)
supported
- The extensions supported by the UAS.public void setTo(Address to)
to
- The logical recipient of the request.Copyright © 2005–2014. All rights reserved.