Interface IMSHeaderFactory

  • All Known Subinterfaces:
    OCHeaderFactory

    public interface IMSHeaderFactory
    Supports creation of additional SIP headers used in 3GPP-IMS networks.
    • Method Detail

      • createPathHeader

        PathHeader createPathHeader​(javax.sip.address.Address address)
      • createServiceRouteHeader

        ServiceRouteHeader createServiceRouteHeader​(javax.sip.address.Address address)
      • createAssertedIdentityHeader

        AssertedIdentityHeader createAssertedIdentityHeader​(javax.sip.address.Address address)
      • createPreferredIdentityHeader

        PreferredIdentityHeader createPreferredIdentityHeader​(javax.sip.address.Address address)
      • createPrivacyHeader

        PrivacyHeader createPrivacyHeader()
        Create a Privacy header with value "none". No additional values may be added.
        Returns:
        the new Privacy header
      • createPrivacyHeader

        PrivacyHeader createPrivacyHeader​(String value)
        Create a Privacy header with an initial value. Additional values may be added using PrivacyHeader.addPrivacyValue(String).
        Parameters:
        value - the type of privacy being requested.
        Returns:
        the new Privacy header
      • createAssociatedURIHeader

        AssociatedURIHeader createAssociatedURIHeader​(javax.sip.address.Address address)
      • createCalledPartyIDHeader

        CalledPartyIDHeader createCalledPartyIDHeader​(javax.sip.address.Address address)
      • createMediaAuthorizationHeader

        MediaAuthorizationHeader createMediaAuthorizationHeader​(String token)
                                                         throws ParseException
        Creates a new P-Media-Authorization header (RFC 3313).
        Parameters:
        token - a media-authorization token to be used for resource reservation, a hexadecimal number in string form. The format of the token is defined in RFC 3313 and RFC 2750.
        Returns:
        the new P-Media-Authorization header.
        Throws:
        ParseException - if the token is not a string of hex digits.
      • createServedUserHeader

        ServedUserHeader createServedUserHeader​(javax.sip.address.Address address)