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 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
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 anAddress
as the route header, so that header parameters can be included.void
pushRoute(SipURI sipURI)
void
setMaxForwards(int i)
void
setRequestURI(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 anAddress
as 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
null
if no final response has been sent or received yet. - Since:
- EasySIP 1.2
-
-