public interface SipRequest extends SipMessage
Modifier and Type | Field and Description |
---|---|
static String |
ACK |
static String |
BYE |
static String |
CANCEL |
static String |
INFO |
static String |
INVITE |
static String |
MESSAGE |
static String |
NOTIFY |
static String |
OPTIONS |
static String |
PRACK |
static String |
PUBLISH |
static String |
REFER |
static String |
REGISTER |
static String |
SUBSCRIBE |
static String |
UPDATE |
Modifier and Type | Method and Description |
---|---|
SipResponse |
getFinalResponse()
Gets the final response that was sent or received in response to this request.
|
int |
getMaxForwards() |
URI |
getRequestURI() |
boolean |
isInitial() |
void |
pushRoute(Address address)
Support pushing an
Address as the route header, so that header parameters can be included. |
void |
pushRoute(SipURI sipURI) |
void |
setMaxForwards(int i) |
void |
setRequestURI(URI uri) |
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
static final String INVITE
static final String ACK
static final String CANCEL
static final String BYE
static final String OPTIONS
static final String REGISTER
static final String INFO
static final String PRACK
static final String UPDATE
static final String SUBSCRIBE
static final String NOTIFY
static final String PUBLISH
static final String REFER
static final String MESSAGE
URI getRequestURI()
void setRequestURI(URI uri)
void pushRoute(SipURI sipURI)
void pushRoute(Address address)
Address
as the route header, so that header parameters can be included.address
- the address to be used in the Route headerint getMaxForwards()
void setMaxForwards(int i)
boolean isInitial()
SipResponse getFinalResponse()
null
if no final response has been sent or received yet.