@Deprecated public class SipInboundRequest extends SipRequest implements InboundRequest
Constructor and Description |
---|
SipInboundRequest(Context context,
Connection<Server> connection,
String methodName,
String resourceUri,
String protocol)
Deprecated.
Constructor.
|
SipInboundRequest(SipInboundRequest request)
Deprecated.
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
abort()
Deprecated.
Ask the connector to attempt to abort the related network connection, for
example immediately closing the socket.
|
void |
commit(Response response)
Deprecated.
Asks the server connector to immediately commit the given response
associated to this request, making it ready to be sent back to the
client.
|
Address |
getAlertInfo()
Deprecated.
Returns the alternative ring tone for the UAS.
|
List<EventType> |
getAllowedEventTypes()
Deprecated.
Returns the list of supported event packages.
|
List<CacheDirective> |
getCacheDirectives()
Deprecated.
Returns the cache directives.
Note that when used with HTTP connectors, this property maps to the "Cache-Control" header. |
List<Address> |
getCallerInfo()
Deprecated.
Returns the description of the current caller.
|
ChallengeResponse |
getChallengeResponse()
Deprecated.
Returns the authentication response sent by a client to an origin server.
|
ClientInfo |
getClientInfo()
Deprecated.
Returns the client-specific information.
|
Conditions |
getConditions()
Deprecated.
Returns the condition data applying to this call.
|
Connection<Server> |
getConnection()
Deprecated.
Returns the related connection.
|
List<ContactInfo> |
getContacts()
Deprecated.
Returns the data about the contacts.
|
Series<Cookie> |
getCookies()
Deprecated.
Returns the cookies provided by the client.
|
Event |
getEvent()
Deprecated.
Returns the description of an event notification.
|
List<String> |
getInReplyTo()
Deprecated.
Returns The list of references to call-ids.
|
Priority |
getPriority()
Deprecated.
Returns the urgency of the request as perceived by the client.
|
ChallengeResponse |
getProxyChallengeResponse()
Deprecated.
Returns the authentication response sent by a client to a proxy.
|
List<OptionTag> |
getProxyRequires()
Deprecated.
Returns the proxy-sensitive features that the proxy must support.
|
List<Range> |
getRanges()
Deprecated.
Returns the ranges to return from the target resource's representation.
|
List<RecipientInfo> |
getRecipientsInfo()
Deprecated.
Returns the intermediary recipient information.
Note that when used with HTTP connectors, this property maps to the "Via" headers. |
List<Address> |
getRecordedRoutes()
Deprecated.
Returns the list of routes completed by proxies to force future requests
to go through the proxy.
|
Reference |
getReferrerRef()
Deprecated.
Returns the referrer reference if available.
|
Address |
getReferTo()
Deprecated.
Returns the reference that the recipient of a
SipMethod.REFER
method should contact. |
Address |
getReplyTo()
Deprecated.
Returns a logical return URI.
|
List<OptionTag> |
getRequires()
Deprecated.
Returns the sensitive features that the server must support.
|
List<Address> |
getRoutes()
Deprecated.
Returns the set of proxies used to force routing for a request.
|
Tag |
getSipIfMatch()
Deprecated.
Returns the identifier of the specific event state that the request is
refreshing.
|
List<SipRecipientInfo> |
getSipRecipientsInfo()
Deprecated.
Returns the intermediary recipients information.
|
Subscription |
getSubscriptionState()
Deprecated.
Returns the state of the subscription.
|
List<OptionTag> |
getSupported()
Deprecated.
Returns the extensions supported by the UAC.
|
Principal |
getUserPrincipal()
Deprecated.
Returns the associated user principal.
|
List<Warning> |
getWarnings()
Deprecated.
Returns the additional warnings information.
Note that when used with HTTP connectors, this property maps to the "Warning" headers. |
void |
setAlertInfo(Address alertInfo)
Deprecated.
Sets the alternative ring tone for the UAS.
|
void |
setAllowedEventTypes(List<EventType> allowedEventTypes)
Deprecated.
Sets the list of supported event packages.
|
void |
setCallerInfo(List<Address> callerInfo)
Deprecated.
Sets the description of the current caller.
|
void |
setChallengeResponse(ChallengeResponse response)
Deprecated.
Sets the authentication response sent by a client to an origin server.
|
void |
setContacts(List<ContactInfo> contact)
Deprecated.
Sets the data about the contacts.
|
void |
setEvent(Event event)
Deprecated.
Sets the description of an event notification.
|
void |
setHeaders(Series<Header> headers)
Deprecated.
Put the headers in the request's attributes map.
|
void |
setInReplyTo(List<String> inReplyTo)
Deprecated.
Sets the list of references to call-ids.
|
void |
setPriority(Priority priority)
Deprecated.
Sets the urgency of the request as perceived by the client.
|
void |
setProxyChallengeResponse(ChallengeResponse response)
Deprecated.
Sets the authentication response sent by a client to a proxy.
|
void |
setProxyRequires(List<OptionTag> proxyRequires)
Deprecated.
Sets the proxy-sensitive features that the proxy must support.
|
void |
setRecipientsInfo(List<RecipientInfo> recipientsInfo)
Deprecated.
Sets the modifiable list of intermediary recipients.
|
void |
setRecordedRoutes(List<Address> recordedRoutes)
Deprecated.
Sets the list of routes completed by proxies to force future requests to
go through the proxy.
|
void |
setReferTo(Address referTo)
Deprecated.
Sets the reference that the recipient of a
SipMethod.REFER method
should contact. |
void |
setReplyTo(Address replyTo)
Deprecated.
Sets a logical return URI.
|
void |
setRequires(List<OptionTag> requires)
Deprecated.
Sets the sensitive features that the server must support.
|
void |
setRoutes(List<Address> routes)
Deprecated.
Sets the set of proxies used to force routing for a request.
|
void |
setSipIfMatch(Tag sipIfMatch)
Deprecated.
Sets the identifier of the specific event state that the request is
refreshing.
|
void |
setSipRecipientsInfo(List<SipRecipientInfo> recipientsInfo)
Deprecated.
Sets the intermediary recipients information.
|
void |
setSubscriptionState(Subscription subscription)
Deprecated.
Sets the state of the subscription.
|
void |
setSupported(List<OptionTag> supported)
Deprecated.
Sets the extensions supported by the UAC.
|
void |
setWarnings(List<Warning> warnings)
Deprecated.
Sets the additional warnings information.
|
getCallId, getCommandSequence, getCreation, getFrom, getLastActivity, getMaxIdleTimeMs, getMimeVersion, getOrganization, getSubject, getTo, getTransaction, hasTimedOut, isHandled, setCallId, setCommandSequence, setFrom, setHandled, setMimeVersion, setOrganization, setSubject, setTo, updateLastActivity
getAccessControlRequestHeaders, getAccessControlRequestMethod, getCurrent, getHostRef, getMaxForwards, getMethod, getOnResponse, getOriginalRef, getProtocol, getResourceRef, getRootRef, isAsynchronous, isConfidential, isEntityAvailable, isExpectingResponse, isLoggable, isSynchronous, setAccessControlRequestHeaders, setAccessControlRequestMethod, setClientInfo, setConditions, setCookies, setHostRef, setHostRef, setLoggable, setMaxForwards, setMethod, setOnResponse, setOriginalRef, setProtocol, setRanges, setReferrerRef, setReferrerRef, setResourceRef, setResourceRef, setRootRef, toString
bufferEntity, flushBuffers, getAttributes, getDate, getEntity, getEntityAsText, getHeaders, getOnError, getOnSent, release, setAttributes, setCacheDirectives, setDate, setEntity, setEntity, setOnError, setOnSent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHeaders
public SipInboundRequest(Context context, Connection<Server> connection, String methodName, String resourceUri, String protocol)
context
- The context of the parent connector.connection
- The associated network connection.methodName
- The protocol method name.resourceUri
- The target resource URI.protocol
- The protocol name and version.public SipInboundRequest(SipInboundRequest request)
request
- The request to copy.public boolean abort()
Request
public void commit(Response response)
Request
public Address getAlertInfo()
SipRequest
getAlertInfo
in class SipRequest
public List<EventType> getAllowedEventTypes()
SipRequest
getAllowedEventTypes
in class SipRequest
public List<CacheDirective> getCacheDirectives()
Message
getCacheDirectives
in class Message
public List<Address> getCallerInfo()
SipRequest
getCallerInfo
in class SipRequest
public ChallengeResponse getChallengeResponse()
Request
getChallengeResponse
in class Request
public ClientInfo getClientInfo()
getClientInfo
in class Request
public Conditions getConditions()
getConditions
in class Request
public Connection<Server> getConnection()
getConnection
in interface InboundRequest
public List<ContactInfo> getContacts()
SipRequest
getContacts
in class SipRequest
public Series<Cookie> getCookies()
getCookies
in class Request
public Event getEvent()
SipRequest
getEvent
in class SipRequest
public List<String> getInReplyTo()
SipRequest
getInReplyTo
in class SipRequest
public Priority getPriority()
SipRequest
getPriority
in class SipRequest
public ChallengeResponse getProxyChallengeResponse()
Request
getProxyChallengeResponse
in class Request
public List<OptionTag> getProxyRequires()
SipRequest
getProxyRequires
in class SipRequest
public List<Range> getRanges()
Request
public List<RecipientInfo> getRecipientsInfo()
Message
getRecipientsInfo
in class Message
public List<Address> getRecordedRoutes()
SipRequest
getRecordedRoutes
in class SipRequest
public Reference getReferrerRef()
getReferrerRef
in class Request
public Address getReferTo()
SipRequest
SipMethod.REFER
method should contact.getReferTo
in class SipRequest
SipMethod.REFER
method should contact.public Address getReplyTo()
SipRequest
getReplyTo
in class SipRequest
public List<OptionTag> getRequires()
SipRequest
getRequires
in class SipRequest
public List<Address> getRoutes()
SipRequest
getRoutes
in class SipRequest
public Tag getSipIfMatch()
SipRequest
getSipIfMatch
in class SipRequest
public List<SipRecipientInfo> getSipRecipientsInfo()
SipRequest
getSipRecipientsInfo
in class SipRequest
public Subscription getSubscriptionState()
SipRequest
getSubscriptionState
in class SipRequest
public List<OptionTag> getSupported()
SipRequest
getSupported
in class SipRequest
public Principal getUserPrincipal()
public List<Warning> getWarnings()
Message
getWarnings
in class Message
public void setAlertInfo(Address alertInfo)
SipRequest
setAlertInfo
in class SipRequest
alertInfo
- The alternative ring tone for the UAS.public void setAllowedEventTypes(List<EventType> allowedEventTypes)
SipRequest
setAllowedEventTypes
in class SipRequest
allowedEventTypes
- The list of supported event packages.public void setCallerInfo(List<Address> callerInfo)
SipRequest
setCallerInfo
in class SipRequest
callerInfo
- The description of the current caller.public void setChallengeResponse(ChallengeResponse response)
Request
setChallengeResponse
in class Request
response
- The authentication response sent by a client to an origin
server.public void setContacts(List<ContactInfo> contact)
SipRequest
setContacts
in class SipRequest
contact
- The data about the contacts.public void setEvent(Event event)
SipRequest
setEvent
in class SipRequest
event
- The description of an event notification.public void setHeaders(Series<Header> headers)
setHeaders
in interface InboundRequest
headers
- public void setInReplyTo(List<String> inReplyTo)
SipRequest
setInReplyTo
in class SipRequest
inReplyTo
- The list of references to call-ids.public void setPriority(Priority priority)
SipRequest
setPriority
in class SipRequest
priority
- The urgency of the request as perceived by the client.public void setProxyChallengeResponse(ChallengeResponse response)
Request
setProxyChallengeResponse
in class Request
response
- The authentication response sent by a client to a proxy.public void setProxyRequires(List<OptionTag> proxyRequires)
SipRequest
setProxyRequires
in class SipRequest
proxyRequires
- The proxy-sensitive features that the proxy must support.public void setRecipientsInfo(List<RecipientInfo> recipientsInfo)
Message
setRecipientsInfo
in class Message
recipientsInfo
- A list of intermediary recipients.public void setRecordedRoutes(List<Address> recordedRoutes)
SipRequest
setRecordedRoutes
in class SipRequest
recordedRoutes
- The list of routes completed by proxies to force future
requests to go through the proxy.public void setReferTo(Address referTo)
SipRequest
SipMethod.REFER
method
should contact.setReferTo
in class SipRequest
referTo
- The reference that the recipient of a SipMethod.REFER
method should contact.public void setReplyTo(Address replyTo)
SipRequest
setReplyTo
in class SipRequest
replyTo
- A logical return URI.public void setRequires(List<OptionTag> requires)
SipRequest
setRequires
in class SipRequest
requires
- The sensitive features that the server must support.public void setRoutes(List<Address> routes)
SipRequest
setRoutes
in class SipRequest
routes
- The set of proxies used to force routing for a request.public void setSipIfMatch(Tag sipIfMatch)
SipRequest
setSipIfMatch
in class SipRequest
sipIfMatch
- The identifier of the specific event state that the request is
refreshing.public void setSipRecipientsInfo(List<SipRecipientInfo> recipientsInfo)
SipRequest
setSipRecipientsInfo
in class SipRequest
recipientsInfo
- The intermediary recipients information.public void setSubscriptionState(Subscription subscription)
SipRequest
setSubscriptionState
in class SipRequest
subscription
- The state of the subscription.public void setSupported(List<OptionTag> supported)
SipRequest
setSupported
in class SipRequest
supported
- The extensions supported by the UAC.public void setWarnings(List<Warning> warnings)
Message
setWarnings
in class Message
warnings
- The warnings.Copyright © 2005–2019. All rights reserved.