public interface OCHeaderFactory extends HeaderFactory, IMSHeaderFactory, SessionTimerHeaderFactory
Modifier and Type | Method and Description |
---|---|
FlowIDHeader |
createFlowIDHeader(String flowID) |
FlowTimerHeader |
createFlowTimerHeader(int flowTimer)
Creates a new FlowTimerHeader based on the flowTimer value.
|
HistoryInfoHeader |
createHistoryInfoHeader(Address address)
Creates a
HistoryInfoHeader |
JoinHeader |
createJoinHeader(String callId,
String fromTag,
String toTag)
Creates a new JoinHeader based on the supplied parameter values.
|
RAckHeader |
createRAckHeader(long rSeqNumber,
long cSeqNumber,
String method)
Creates a new RAckHeader based on the newly supplied rSeqNumber,
cSeqNumber and method values.
|
ReferredByHeader |
createReferredByHeader(Address address)
Creates a
ReferredByHeader |
ReplacesHeader |
createReplacesHeader(String callId,
String fromTag,
String toTag,
boolean earlyOnly)
Creates a new ReplacesHeader based on the supplied parameter values.
|
RSeqHeader |
createRSeqHeader(long rSeqNumber)
Creates a new RSeqHeader based on the newly supplied rSeqNumber value.
|
TargetDialogHeader |
createTargetDialogHeader(String callId,
String localTag,
String remoteTag)
Creates a
TargetDialogHeader |
createAcceptEncodingHeader, createAcceptHeader, createAcceptLanguageHeader, createAlertInfoHeader, createAllowEventsHeader, createAllowHeader, createAuthenticationInfoHeader, createAuthorizationHeader, createCallIdHeader, createCallInfoHeader, createContactHeader, createContactHeader, createContentDispositionHeader, createContentEncodingHeader, createContentLanguageHeader, createContentLengthHeader, createContentTypeHeader, createCSeqHeader, createCSeqHeader, createDateHeader, createErrorInfoHeader, createEventHeader, createExpiresHeader, createFromHeader, createHeader, createHeaders, createInReplyToHeader, createMaxForwardsHeader, createMimeVersionHeader, createMinExpiresHeader, createOrganizationHeader, createPriorityHeader, createProxyAuthenticateHeader, createProxyAuthorizationHeader, createProxyRequireHeader, createRAckHeader, createReasonHeader, createRecordRouteHeader, createReferToHeader, createReplyToHeader, createRequireHeader, createRetryAfterHeader, createRouteHeader, createRSeqHeader, createServerHeader, createSIPETagHeader, createSIPIfMatchHeader, createSubjectHeader, createSubscriptionStateHeader, createSupportedHeader, createTimeStampHeader, createToHeader, createUnsupportedHeader, createUserAgentHeader, createViaHeader, createWarningHeader, createWWWAuthenticateHeader
createAccessNetworkInfoHeader, createAssertedIdentityHeader, createAssociatedURIHeader, createCalledPartyIDHeader, createChargingFunctionAddressesHeader, createChargingVectorHeader, createMediaAuthorizationHeader, createPathHeader, createPreferredIdentityHeader, createPrivacyHeader, createPrivacyHeader, createServedUserHeader, createServiceRouteHeader, createVisitedNetworkIDHeader
createMinSEHeader, createSessionExpiresHeader
FlowTimerHeader createFlowTimerHeader(int flowTimer) throws InvalidArgumentException
flowTimer
- the new int value of the flowTimerInvalidArgumentException
- if supplied flowTimer is less than or equal to zero.FlowIDHeader createFlowIDHeader(String flowID)
RAckHeader createRAckHeader(long rSeqNumber, long cSeqNumber, String method) throws InvalidArgumentException, ParseException
This method should have been defined in JAIN SIP 1.2 since longs are now used for sequence number values.
rSeqNumber
- the new long value of the rSeqNumber.cSeqNumber
- the new long value of the cSeqNumber.method
- the new string value of the method.InvalidArgumentException
- if supplied rSeqNumber or cSeqNumber is
less than zero or greater than than 2**32-1.ParseException
- which signals that an error has been reached
unexpectedly while parsing the method value.RSeqHeader createRSeqHeader(long rSeqNumber) throws InvalidArgumentException
This method should have been defined in JAIN SIP 1.2 since longs are now used for sequence number values.
rSeqNumber
- the new long value of the sequenceNumber.InvalidArgumentException
- if supplied sequenceNumber is
less than zero or greater than than 2**32-1.JoinHeader createJoinHeader(String callId, String fromTag, String toTag) throws ParseException
callId
- the new string value of the call-id.fromTag
- the new string value of the from tag.toTag
- the new string value of the to tag.ParseException
- which signals that an error has been reached
unexpectedly while parsing the parameter values.ReplacesHeader createReplacesHeader(String callId, String fromTag, String toTag, boolean earlyOnly) throws ParseException
callId
- the new string value of the call-id.fromTag
- the new string value of the from tag.toTag
- the new string value of the to tag.earlyOnly
- true if early-only parameter should be added, false otherwise.ParseException
- which signals that an error has been reached
unexpectedly while parsing the parameter values.TargetDialogHeader createTargetDialogHeader(String callId, String localTag, String remoteTag) throws ParseException
TargetDialogHeader
callId
- the target dialog's Call-IDlocalTag
- the target dialog's local-tagremoteTag
- the target dialog's remote-tagTargetDialogHeader
ParseException
- if unable to parse any parameterReferredByHeader createReferredByHeader(Address address)
ReferredByHeader
address
- the referrer addressReferredByHeader
HistoryInfoHeader createHistoryInfoHeader(Address address)
HistoryInfoHeader
address
- the targeted-to addressHistoryInfoHeader