public interface OutgoingSipRequest extends SipRequest
Modifier and Type | Method and Description |
---|---|
OutgoingSipRequest |
createCancel() |
IncomingSipResponse |
getFinalResponse()
Gets the final response that was received in response to this request.
|
IncomingSipRequest |
getOriginalRequest()
If this request was created using
SipSession.createRequest(IncomingSipRequest)
or SipFactory.createRequest(IncomingSipRequest,boolean) ,
this method allows the app to retrieve the original incoming request that this request was
created from. |
void |
send() |
getMaxForwards, getRequestURI, isInitial, pushRoute, pushRoute, setMaxForwards, setRequestURI
addAcceptLanguage, addAddressHeader, addHeader, addHeaderGeneric, addParameterableHeader, getAcceptLanguage, getAcceptLanguages, getAddressHeader, getAddressHeaders, getCallId, getCharacterEncoding, getContent, getContentLanguage, getContentLength, getContentType, getExpires, getFrom, getHeader, getHeaderGeneric, getHeaderNames, getHeaders, getHeadersGeneric, getLocalAddr, getLocalPort, getMethod, getParameterableHeader, getParameterableHeaders, getProtocol, getRawContent, getRemoteAddr, getRemotePort, getRemoteUser, getSequenceNumber, getSession, getSession, getTo, getTransport, getUserPrincipal, isCommitted, isExtensionRequired, isExtensionSupported, isSecure, isUserInRole, removeHeader, setAcceptLanguage, setAddressHeader, setCharacterEncoding, setContent, setContentLanguage, setContentType, setExpires, setHeader, setHeaderGeneric, setParameterableHeader
OutgoingSipRequest createCancel() throws IllegalStateException
IllegalStateException
void send() throws IOException
IOException
IncomingSipRequest getOriginalRequest()
SipSession.createRequest(IncomingSipRequest)
or SipFactory.createRequest(IncomingSipRequest,boolean)
,
this method allows the app to retrieve the original incoming request that this request was
created from. This is a convenience method for B2BUAs.null
if this
request was not created from another request.IncomingSipResponse getFinalResponse()
getFinalResponse
in interface SipRequest
null
if no response has been received yet.