Package org.jainslee.resources.sip
Interface SipRequest
-
- All Superinterfaces:
SipMessage
- All Known Subinterfaces:
IncomingSipRequest,OutgoingSipRequest
public interface SipRequest extends SipMessage
-
-
Field Summary
Fields Modifier and Type Field Description static StringACKstatic StringBYEstatic StringCANCELstatic StringINFOstatic StringINVITEstatic StringMESSAGEstatic StringNOTIFYstatic StringOPTIONSstatic StringPRACKstatic StringPUBLISHstatic StringREFERstatic StringREGISTERstatic StringSUBSCRIBEstatic StringUPDATE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SipResponsegetFinalResponse()Gets the final response that was sent or received in response to this request.intgetMaxForwards()URIgetRequestURI()booleanisInitial()voidpushRoute(Address address)Support pushing anAddressas the route header, so that header parameters can be included.voidpushRoute(SipURI sipURI)voidsetMaxForwards(int i)voidsetRequestURI(URI uri)-
Methods inherited from interface org.jainslee.resources.sip.SipMessage
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
-
-
-
-
Field Detail
-
INVITE
static final String INVITE
- See Also:
- Constant Field Values
-
ACK
static final String ACK
- See Also:
- Constant Field Values
-
CANCEL
static final String CANCEL
- See Also:
- Constant Field Values
-
BYE
static final String BYE
- See Also:
- Constant Field Values
-
OPTIONS
static final String OPTIONS
- See Also:
- Constant Field Values
-
REGISTER
static final String REGISTER
- See Also:
- Constant Field Values
-
INFO
static final String INFO
- See Also:
- Constant Field Values
-
PRACK
static final String PRACK
- See Also:
- Constant Field Values
-
UPDATE
static final String UPDATE
- See Also:
- Constant Field Values
-
SUBSCRIBE
static final String SUBSCRIBE
- See Also:
- Constant Field Values
-
NOTIFY
static final String NOTIFY
- See Also:
- Constant Field Values
-
PUBLISH
static final String PUBLISH
- See Also:
- Constant Field Values
-
REFER
static final String REFER
- See Also:
- Constant Field Values
-
MESSAGE
static final String MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestURI
URI getRequestURI()
-
setRequestURI
void setRequestURI(URI uri)
-
pushRoute
void pushRoute(SipURI sipURI)
-
pushRoute
void pushRoute(Address address)
Support pushing anAddressas the route header, so that header parameters can be included.- Parameters:
address- the address to be used in the Route header- Since:
- EasySIP RA Type 1.2
-
getMaxForwards
int getMaxForwards()
-
setMaxForwards
void setMaxForwards(int i)
-
isInitial
boolean isInitial()
-
getFinalResponse
SipResponse getFinalResponse()
Gets the final response that was sent or received in response to this request.- Returns:
- the final response, or
nullif no final response has been sent or received yet. - Since:
- EasySIP 1.2
-
-