gov.nist.javax.sip.header
クラス HeaderFactoryImpl

java.lang.Object
  上位を拡張 gov.nist.javax.sip.header.HeaderFactoryImpl
すべての実装されたインタフェース:
javax.sip.header.HeaderFactory

public class HeaderFactoryImpl
extends java.lang.Object
implements javax.sip.header.HeaderFactory

Implementation of the JAIN SIP HeaderFactory

バージョン:
JAIN-SIP-1.1 $Revision: 1.3 $ $Date: 2004/01/22 13:26:29 $
作成者:
M. Ranganathan
, Olivier Deruelle
This code is in the public domain.

コンストラクタの概要
HeaderFactoryImpl()
          Default constructor.
 
メソッドの概要
 javax.sip.header.AcceptEncodingHeader createAcceptEncodingHeader(java.lang.String encoding)
          Creates a new AcceptEncodingHeader based on the newly supplied encoding value.
 javax.sip.header.AcceptHeader createAcceptHeader(java.lang.String contentType, java.lang.String contentSubType)
          Creates a new AcceptHeader based on the newly supplied contentType and contentSubType values.
 javax.sip.header.AcceptLanguageHeader createAcceptLanguageHeader(java.util.Locale language)
          Creates a new AcceptLanguageHeader based on the newly supplied language value.
 javax.sip.header.AlertInfoHeader createAlertInfoHeader(javax.sip.address.URI alertInfo)
          Creates a new AlertInfoHeader based on the newly supplied alertInfo value.
 javax.sip.header.AllowEventsHeader createAllowEventsHeader(java.lang.String eventType)
          Creates a new AllowEventsHeader based on the newly supplied event type value.
 javax.sip.header.AllowHeader createAllowHeader(java.lang.String method)
          Creates a new AllowHeader based on the newly supplied method value.
 javax.sip.header.AuthenticationInfoHeader createAuthenticationInfoHeader(java.lang.String response)
          Creates a new AuthenticationInfoHeader based on the newly supplied response value.
 javax.sip.header.AuthorizationHeader createAuthorizationHeader(java.lang.String scheme)
          Creates a new AuthorizationHeader based on the newly supplied scheme value.
 javax.sip.header.CallIdHeader createCallIdHeader(java.lang.String callId)
          Creates a new CallIdHeader based on the newly supplied callId value.
 javax.sip.header.CallInfoHeader createCallInfoHeader(javax.sip.address.URI callInfo)
          Creates a new CallInfoHeader based on the newly supplied callInfo value.
 javax.sip.header.ContactHeader createContactHeader()
          Creates a new wildcard ContactHeader.
 javax.sip.header.ContactHeader createContactHeader(javax.sip.address.Address address)
          Creates a new ContactHeader based on the newly supplied address value.
 javax.sip.header.ContentDispositionHeader createContentDispositionHeader(java.lang.String contentDisposition)
          Creates a new ContentDispositionHeader based on the newly supplied contentDisposition value.
 javax.sip.header.ContentEncodingHeader createContentEncodingHeader(java.lang.String encoding)
          Creates a new ContentEncodingHeader based on the newly supplied encoding value.
 javax.sip.header.ContentLanguageHeader createContentLanguageHeader(java.util.Locale contentLanguage)
          Creates a new ContentLanguageHeader based on the newly supplied contentLanguage value.
 javax.sip.header.ContentLengthHeader createContentLengthHeader(int contentLength)
          Creates a new CSeqHeader based on the newly supplied contentLength value.
 javax.sip.header.ContentTypeHeader createContentTypeHeader(java.lang.String contentType, java.lang.String contentSubType)
          Creates a new ContentTypeHeader based on the newly supplied contentType and contentSubType values.
 javax.sip.header.CSeqHeader createCSeqHeader(int sequenceNumber, java.lang.String method)
          Creates a new CSeqHeader based on the newly supplied sequence number and method values.
 javax.sip.header.DateHeader createDateHeader(java.util.Calendar date)
          Creates a new DateHeader based on the newly supplied date value.
 javax.sip.header.ErrorInfoHeader createErrorInfoHeader(javax.sip.address.URI errorInfo)
          Creates a new ErrorInfoHeader based on the newly supplied errorInfo value.
 javax.sip.header.EventHeader createEventHeader(java.lang.String eventType)
          Creates a new EventHeader based on the newly supplied eventType value.
 javax.sip.header.ExpiresHeader createExpiresHeader(int expires)
          Creates a new ExpiresHeader based on the newly supplied expires value.
 javax.sip.header.ExtensionHeader createExtensionHeader(java.lang.String name, java.lang.String value)
          Creates a new ExtensionHeader based on the newly supplied name and value values.
 javax.sip.header.FromHeader createFromHeader(javax.sip.address.Address address, java.lang.String tag)
          Creates a new FromHeader based on the newly supplied address and tag values.
 javax.sip.header.Header createHeader(java.lang.String headerName, java.lang.String headerValue)
          Create and parse a header.
 java.util.List createHeaders(java.lang.String headers)
          Create and return a list of headers.
 javax.sip.header.InReplyToHeader createInReplyToHeader(java.lang.String callId)
          Creates a new InReplyToHeader based on the newly supplied callId value.
 javax.sip.header.MaxForwardsHeader createMaxForwardsHeader(int maxForwards)
          Creates a new MaxForwardsHeader based on the newly supplied maxForwards value.
 javax.sip.header.MimeVersionHeader createMimeVersionHeader(int majorVersion, int minorVersion)
          Creates a new MimeVersionHeader based on the newly supplied mimeVersion value.
 javax.sip.header.MinExpiresHeader createMinExpiresHeader(int minExpires)
          Creates a new MinExpiresHeader based on the newly supplied minExpires value.
 javax.sip.header.OrganizationHeader createOrganizationHeader(java.lang.String organization)
          Creates a new OrganizationHeader based on the newly supplied organization value.
 javax.sip.header.PriorityHeader createPriorityHeader(java.lang.String priority)
          Creates a new PriorityHeader based on the newly supplied priority value.
 javax.sip.header.ProxyAuthenticateHeader createProxyAuthenticateHeader(java.lang.String scheme)
          Creates a new ProxyAuthenticateHeader based on the newly supplied scheme value.
 javax.sip.header.ProxyAuthorizationHeader createProxyAuthorizationHeader(java.lang.String scheme)
          Creates a new ProxyAuthorizationHeader based on the newly supplied scheme value.
 javax.sip.header.ProxyRequireHeader createProxyRequireHeader(java.lang.String optionTag)
          Creates a new ProxyRequireHeader based on the newly supplied optionTag value.
 javax.sip.header.RAckHeader createRAckHeader(int rSeqNumber, int cSeqNumber, java.lang.String method)
          Creates a new RAckHeader based on the newly supplied rSeqNumber, cSeqNumber and method values.
 javax.sip.header.ReasonHeader createReasonHeader(java.lang.String protocol, int cause, java.lang.String text)
          Creates a new ReasonHeader based on the newly supplied reason value.
 javax.sip.header.RecordRouteHeader createRecordRouteHeader(javax.sip.address.Address address)
          Creates a new RecordRouteHeader based on the newly supplied address value.
 javax.sip.header.ReferToHeader createReferToHeader(javax.sip.address.Address address)
          Create a ReferTo Header.
 javax.sip.header.ReplyToHeader createReplyToHeader(javax.sip.address.Address address)
          Creates a new ReplyToHeader based on the newly supplied address value.
 javax.sip.header.RequireHeader createRequireHeader(java.lang.String optionTag)
          Creates a new RequireHeader based on the newly supplied optionTag value.
 javax.sip.header.RetryAfterHeader createRetryAfterHeader(int retryAfter)
          Creates a new RetryAfterHeader based on the newly supplied retryAfter value.
 javax.sip.header.RouteHeader createRouteHeader(javax.sip.address.Address address)
          Creates a new RouteHeader based on the newly supplied address value.
 javax.sip.header.RSeqHeader createRSeqHeader(int sequenceNumber)
          Creates a new RSeqHeader based on the newly supplied sequenceNumber value.
 javax.sip.header.ServerHeader createServerHeader(java.util.List product)
          Creates a new ServerHeader based on the newly supplied product value.
 javax.sip.header.SubjectHeader createSubjectHeader(java.lang.String subject)
          Creates a new SubjectHeader based on the newly supplied subject value.
 javax.sip.header.SubscriptionStateHeader createSubscriptionStateHeader(java.lang.String subscriptionState)
          Creates a new SubscriptionStateHeader based on the newly supplied subscriptionState value.
 javax.sip.header.SupportedHeader createSupportedHeader(java.lang.String optionTag)
          Creates a new SupportedHeader based on the newly supplied optionTag value.
 javax.sip.header.TimeStampHeader createTimeStampHeader(float timeStamp)
          Creates a new TimeStampHeader based on the newly supplied timeStamp value.
 javax.sip.header.ToHeader createToHeader(javax.sip.address.Address address, java.lang.String tag)
          Creates a new ToHeader based on the newly supplied address and tag values.
 javax.sip.header.UnsupportedHeader createUnsupportedHeader(java.lang.String optionTag)
          Creates a new UnsupportedHeader based on the newly supplied optionTag value.
 javax.sip.header.UserAgentHeader createUserAgentHeader(java.util.List product)
          Creates a new UserAgentHeader based on the newly supplied product value.
 javax.sip.header.ViaHeader createViaHeader(java.lang.String host, int port, java.lang.String transport, java.lang.String branch)
          Creates a new ViaHeader based on the newly supplied uri and branch values.
 javax.sip.header.WarningHeader createWarningHeader(java.lang.String agent, int code, java.lang.String comment)
          Creates a new WarningHeader based on the newly supplied agent, code and comment values.
 javax.sip.header.WWWAuthenticateHeader createWWWAuthenticateHeader(java.lang.String scheme)
          Creates a new WWWAuthenticateHeader based on the newly supplied scheme value.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HeaderFactoryImpl

public HeaderFactoryImpl()
Default constructor.

メソッドの詳細

createAcceptEncodingHeader

public javax.sip.header.AcceptEncodingHeader createAcceptEncodingHeader(java.lang.String encoding)
                                                                 throws java.text.ParseException
Creates a new AcceptEncodingHeader based on the newly supplied encoding value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAcceptEncodingHeader
パラメータ:
encoding - - the new string containing the encoding value.
戻り値:
the newly created AcceptEncodingHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the encoding value.

createAcceptHeader

public javax.sip.header.AcceptHeader createAcceptHeader(java.lang.String contentType,
                                                        java.lang.String contentSubType)
                                                 throws java.text.ParseException
Creates a new AcceptHeader based on the newly supplied contentType and contentSubType values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAcceptHeader
パラメータ:
contentType - The new string content type value.
contentSubType - The new string content sub-type value.
戻り値:
the newly created AcceptHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the content type or content subtype value.

createAcceptLanguageHeader

public javax.sip.header.AcceptLanguageHeader createAcceptLanguageHeader(java.util.Locale language)
Creates a new AcceptLanguageHeader based on the newly supplied language value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAcceptLanguageHeader
パラメータ:
language - - the new Locale value of the language
戻り値:
the newly created AcceptLanguageHeader object.

createAlertInfoHeader

public javax.sip.header.AlertInfoHeader createAlertInfoHeader(javax.sip.address.URI alertInfo)
Creates a new AlertInfoHeader based on the newly supplied alertInfo value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAlertInfoHeader
パラメータ:
alertInfo - - the new string value of the alertInfo
戻り値:
the newly created AlertInfoHeader object.
導入されたバージョン:
v1.1

createAllowEventsHeader

public javax.sip.header.AllowEventsHeader createAllowEventsHeader(java.lang.String eventType)
                                                           throws java.text.ParseException
Creates a new AllowEventsHeader based on the newly supplied event type value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAllowEventsHeader
パラメータ:
eventType - - the new string containing the eventType value.
戻り値:
the newly created AllowEventsHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the eventType value.
導入されたバージョン:
v1.1

createAllowHeader

public javax.sip.header.AllowHeader createAllowHeader(java.lang.String method)
                                               throws java.text.ParseException
Creates a new AllowHeader based on the newly supplied method value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAllowHeader
パラメータ:
method - - the new string containing the method value.
戻り値:
the newly created AllowHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the method value.

createAuthenticationInfoHeader

public javax.sip.header.AuthenticationInfoHeader createAuthenticationInfoHeader(java.lang.String response)
                                                                         throws java.text.ParseException
Creates a new AuthenticationInfoHeader based on the newly supplied response value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAuthenticationInfoHeader
パラメータ:
response - - the new string value of the response.
戻り値:
the newly created AuthenticationInfoHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the response value.
導入されたバージョン:
v1.1

createAuthorizationHeader

public javax.sip.header.AuthorizationHeader createAuthorizationHeader(java.lang.String scheme)
                                                               throws java.text.ParseException
Creates a new AuthorizationHeader based on the newly supplied scheme value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createAuthorizationHeader
パラメータ:
scheme - - the new string value of the scheme.
戻り値:
the newly created AuthorizationHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the scheme value.

createCSeqHeader

public javax.sip.header.CSeqHeader createCSeqHeader(int sequenceNumber,
                                                    java.lang.String method)
                                             throws java.text.ParseException,
                                                    javax.sip.InvalidArgumentException
Creates a new CSeqHeader based on the newly supplied sequence number and method values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createCSeqHeader
パラメータ:
sequenceNumber - - the new integer value of the sequence number.
method - - the new string value of the method.
戻り値:
the newly created CSeqHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied sequence number is less than zero.
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the method value.

createCallIdHeader

public javax.sip.header.CallIdHeader createCallIdHeader(java.lang.String callId)
                                                 throws java.text.ParseException
Creates a new CallIdHeader based on the newly supplied callId value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createCallIdHeader
パラメータ:
callId - - the new string value of the call-id.
戻り値:
the newly created CallIdHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the callId value.

createCallInfoHeader

public javax.sip.header.CallInfoHeader createCallInfoHeader(javax.sip.address.URI callInfo)
Creates a new CallInfoHeader based on the newly supplied callInfo value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createCallInfoHeader
パラメータ:
callInfo - The new string value of the callInfo.
戻り値:
the newly created CallInfoHeader object.

createContactHeader

public javax.sip.header.ContactHeader createContactHeader(javax.sip.address.Address address)
Creates a new ContactHeader based on the newly supplied address value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createContactHeader
パラメータ:
address - - the new Address value of the address.
戻り値:
the newly created ContactHeader object.

createContactHeader

public javax.sip.header.ContactHeader createContactHeader()
Creates a new wildcard ContactHeader. This is used in Register requests to indicate to the server that it should remove all locations the at which the user is currently available. This implies that the following conditions are met:

定義:
インタフェース javax.sip.header.HeaderFactory 内の createContactHeader
戻り値:
the newly created wildcard ContactHeader.

createContentDispositionHeader

public javax.sip.header.ContentDispositionHeader createContentDispositionHeader(java.lang.String contentDisposition)
                                                                         throws java.text.ParseException
Creates a new ContentDispositionHeader based on the newly supplied contentDisposition value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createContentDispositionHeader
パラメータ:
contentDisposition - - the new string value of the contentDisposition.
戻り値:
the newly created ContentDispositionHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the contentDisposition value.
導入されたバージョン:
v1.1

createContentEncodingHeader

public javax.sip.header.ContentEncodingHeader createContentEncodingHeader(java.lang.String encoding)
                                                                   throws java.text.ParseException
Creates a new ContentEncodingHeader based on the newly supplied encoding value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createContentEncodingHeader
パラメータ:
encoding - - the new string containing the encoding value.
戻り値:
the newly created ContentEncodingHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the encoding value.

createContentLanguageHeader

public javax.sip.header.ContentLanguageHeader createContentLanguageHeader(java.util.Locale contentLanguage)
Creates a new ContentLanguageHeader based on the newly supplied contentLanguage value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createContentLanguageHeader
パラメータ:
contentLanguage - - the new Locale value of the contentLanguage.
戻り値:
the newly created ContentLanguageHeader object.
導入されたバージョン:
v1.1

createContentLengthHeader

public javax.sip.header.ContentLengthHeader createContentLengthHeader(int contentLength)
                                                               throws javax.sip.InvalidArgumentException
Creates a new CSeqHeader based on the newly supplied contentLength value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createContentLengthHeader
パラメータ:
contentLength - - the new integer value of the contentLength.
戻り値:
the newly created ContentLengthHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied contentLength is less than zero.

createContentTypeHeader

public javax.sip.header.ContentTypeHeader createContentTypeHeader(java.lang.String contentType,
                                                                  java.lang.String contentSubType)
                                                           throws java.text.ParseException
Creates a new ContentTypeHeader based on the newly supplied contentType and contentSubType values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createContentTypeHeader
パラメータ:
contentType - - the new string content type value.
contentSubType - - the new string content sub-type value.
戻り値:
the newly created ContentTypeHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the content type or content subtype value.

createDateHeader

public javax.sip.header.DateHeader createDateHeader(java.util.Calendar date)
Creates a new DateHeader based on the newly supplied date value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createDateHeader
パラメータ:
date - - the new Calender value of the date.
戻り値:
the newly created DateHeader object.

createEventHeader

public javax.sip.header.EventHeader createEventHeader(java.lang.String eventType)
                                               throws java.text.ParseException
Creates a new EventHeader based on the newly supplied eventType value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createEventHeader
パラメータ:
eventType - - the new string value of the eventType.
戻り値:
the newly created EventHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the eventType value.
導入されたバージョン:
v1.1

createExpiresHeader

public javax.sip.header.ExpiresHeader createExpiresHeader(int expires)
                                                   throws javax.sip.InvalidArgumentException
Creates a new ExpiresHeader based on the newly supplied expires value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createExpiresHeader
パラメータ:
expires - - the new integer value of the expires.
戻り値:
the newly created ExpiresHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied expires is less than zero.

createExtensionHeader

public javax.sip.header.ExtensionHeader createExtensionHeader(java.lang.String name,
                                                              java.lang.String value)
                                                       throws java.text.ParseException
Creates a new ExtensionHeader based on the newly supplied name and value values.

パラメータ:
name - - the new string name of the ExtensionHeader value.
value - - the new string value of the ExtensionHeader.
戻り値:
the newly created ExtensionHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the name or value values.

createFromHeader

public javax.sip.header.FromHeader createFromHeader(javax.sip.address.Address address,
                                                    java.lang.String tag)
                                             throws java.text.ParseException
Creates a new FromHeader based on the newly supplied address and tag values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createFromHeader
パラメータ:
address - - the new Address object of the address.
tag - - the new string value of the tag.
戻り値:
the newly created FromHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the tag value.

createInReplyToHeader

public javax.sip.header.InReplyToHeader createInReplyToHeader(java.lang.String callId)
                                                       throws java.text.ParseException
Creates a new InReplyToHeader based on the newly supplied callId value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createInReplyToHeader
パラメータ:
callId - - the new string containing the callId value.
戻り値:
the newly created InReplyToHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the callId value.
導入されたバージョン:
v1.1

createMaxForwardsHeader

public javax.sip.header.MaxForwardsHeader createMaxForwardsHeader(int maxForwards)
                                                           throws javax.sip.InvalidArgumentException
Creates a new MaxForwardsHeader based on the newly supplied maxForwards value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createMaxForwardsHeader
パラメータ:
maxForwards - The new integer value of the maxForwards.
戻り値:
the newly created MaxForwardsHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied maxForwards is less than zero or greater than 255.

createMimeVersionHeader

public javax.sip.header.MimeVersionHeader createMimeVersionHeader(int majorVersion,
                                                                  int minorVersion)
                                                           throws javax.sip.InvalidArgumentException
Creates a new MimeVersionHeader based on the newly supplied mimeVersion value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createMimeVersionHeader
パラメータ:
majorVersion - - the new integer value of the majorVersion.
minorVersion - - the new integer value of the minorVersion.
戻り値:
the newly created MimeVersionHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied mimeVersion is less than zero.
導入されたバージョン:
v1.1

createMinExpiresHeader

public javax.sip.header.MinExpiresHeader createMinExpiresHeader(int minExpires)
                                                         throws javax.sip.InvalidArgumentException
Creates a new MinExpiresHeader based on the newly supplied minExpires value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createMinExpiresHeader
パラメータ:
minExpires - - the new integer value of the minExpires.
戻り値:
the newly created MinExpiresHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied minExpires is less than zero.
導入されたバージョン:
v1.1

createOrganizationHeader

public javax.sip.header.OrganizationHeader createOrganizationHeader(java.lang.String organization)
                                                             throws java.text.ParseException
Creates a new OrganizationHeader based on the newly supplied organization value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createOrganizationHeader
パラメータ:
organization - - the new string value of the organization.
戻り値:
the newly created OrganizationHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the organization value.

createPriorityHeader

public javax.sip.header.PriorityHeader createPriorityHeader(java.lang.String priority)
                                                     throws java.text.ParseException
Creates a new PriorityHeader based on the newly supplied priority value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createPriorityHeader
パラメータ:
priority - - the new string value of the priority.
戻り値:
the newly created PriorityHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the priority value.

createProxyAuthenticateHeader

public javax.sip.header.ProxyAuthenticateHeader createProxyAuthenticateHeader(java.lang.String scheme)
                                                                       throws java.text.ParseException
Creates a new ProxyAuthenticateHeader based on the newly supplied scheme value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createProxyAuthenticateHeader
パラメータ:
scheme - - the new string value of the scheme.
戻り値:
the newly created ProxyAuthenticateHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the scheme value.

createProxyAuthorizationHeader

public javax.sip.header.ProxyAuthorizationHeader createProxyAuthorizationHeader(java.lang.String scheme)
                                                                         throws java.text.ParseException
Creates a new ProxyAuthorizationHeader based on the newly supplied scheme value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createProxyAuthorizationHeader
パラメータ:
scheme - - the new string value of the scheme.
戻り値:
the newly created ProxyAuthorizationHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the scheme value.

createProxyRequireHeader

public javax.sip.header.ProxyRequireHeader createProxyRequireHeader(java.lang.String optionTag)
                                                             throws java.text.ParseException
Creates a new ProxyRequireHeader based on the newly supplied optionTag value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createProxyRequireHeader
パラメータ:
optionTag - - the new string OptionTag value.
戻り値:
the newly created ProxyRequireHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the optionTag value.

createRAckHeader

public javax.sip.header.RAckHeader createRAckHeader(int rSeqNumber,
                                                    int cSeqNumber,
                                                    java.lang.String method)
                                             throws javax.sip.InvalidArgumentException,
                                                    java.text.ParseException
Creates a new RAckHeader based on the newly supplied rSeqNumber, cSeqNumber and method values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createRAckHeader
パラメータ:
rSeqNumber - - the new integer value of the rSeqNumber.
cSeqNumber - - the new integer value of the cSeqNumber.
method - - the new string value of the method.
戻り値:
the newly created RAckHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied rSeqNumber or cSeqNumber is less than zero or greater than than 2**31-1.
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the method value.
導入されたバージョン:
v1.1

createRSeqHeader

public javax.sip.header.RSeqHeader createRSeqHeader(int sequenceNumber)
                                             throws javax.sip.InvalidArgumentException
Creates a new RSeqHeader based on the newly supplied sequenceNumber value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createRSeqHeader
パラメータ:
sequenceNumber - - the new integer value of the sequenceNumber.
戻り値:
the newly created RSeqHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied sequenceNumber is less than zero or greater than than 2**31-1.
導入されたバージョン:
v1.1

createReasonHeader

public javax.sip.header.ReasonHeader createReasonHeader(java.lang.String protocol,
                                                        int cause,
                                                        java.lang.String text)
                                                 throws javax.sip.InvalidArgumentException,
                                                        java.text.ParseException
Creates a new ReasonHeader based on the newly supplied reason value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createReasonHeader
パラメータ:
protocol - - the new string value of the protocol.
cause - - the new integer value of the cause.
text - - the new string value of the text.
戻り値:
the newly created ReasonHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the protocol, cause or text value.
javax.sip.InvalidArgumentException
導入されたバージョン:
v1.1

createRecordRouteHeader

public javax.sip.header.RecordRouteHeader createRecordRouteHeader(javax.sip.address.Address address)
Creates a new RecordRouteHeader based on the newly supplied address value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createRecordRouteHeader
パラメータ:
address - - the new Address object of the address.
戻り値:
the newly created RecordRouteHeader object.

createReplyToHeader

public javax.sip.header.ReplyToHeader createReplyToHeader(javax.sip.address.Address address)
Creates a new ReplyToHeader based on the newly supplied address value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createReplyToHeader
パラメータ:
address - - the new Address object of the address.
戻り値:
the newly created ReplyToHeader object.
導入されたバージョン:
v1.1

createRequireHeader

public javax.sip.header.RequireHeader createRequireHeader(java.lang.String optionTag)
                                                   throws java.text.ParseException
Creates a new RequireHeader based on the newly supplied optionTag value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createRequireHeader
パラメータ:
optionTag - - the new string value containing the optionTag value.
戻り値:
the newly created RequireHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the List of optionTag value.

createRetryAfterHeader

public javax.sip.header.RetryAfterHeader createRetryAfterHeader(int retryAfter)
                                                         throws javax.sip.InvalidArgumentException
Creates a new RetryAfterHeader based on the newly supplied retryAfter value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createRetryAfterHeader
パラメータ:
retryAfter - - the new integer value of the retryAfter.
戻り値:
the newly created RetryAfterHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied retryAfter is less than zero.

createRouteHeader

public javax.sip.header.RouteHeader createRouteHeader(javax.sip.address.Address address)
Creates a new RouteHeader based on the newly supplied address value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createRouteHeader
パラメータ:
address - - the new Address object of the address.
戻り値:
the newly created RouteHeader object.

createServerHeader

public javax.sip.header.ServerHeader createServerHeader(java.util.List product)
                                                 throws java.text.ParseException
Creates a new ServerHeader based on the newly supplied product value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createServerHeader
パラメータ:
product - - the new list value of the product.
戻り値:
the newly created ServerHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the product value.

createSubjectHeader

public javax.sip.header.SubjectHeader createSubjectHeader(java.lang.String subject)
                                                   throws java.text.ParseException
Creates a new SubjectHeader based on the newly supplied subject value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createSubjectHeader
パラメータ:
subject - - the new string value of the subject.
戻り値:
the newly created SubjectHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the subject value.

createSubscriptionStateHeader

public javax.sip.header.SubscriptionStateHeader createSubscriptionStateHeader(java.lang.String subscriptionState)
                                                                       throws java.text.ParseException
Creates a new SubscriptionStateHeader based on the newly supplied subscriptionState value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createSubscriptionStateHeader
パラメータ:
subscriptionState - - the new string value of the subscriptionState.
戻り値:
the newly created SubscriptionStateHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the subscriptionState value.
導入されたバージョン:
v1.1

createSupportedHeader

public javax.sip.header.SupportedHeader createSupportedHeader(java.lang.String optionTag)
                                                       throws java.text.ParseException
Creates a new SupportedHeader based on the newly supplied optionTag value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createSupportedHeader
パラメータ:
optionTag - - the new string containing the optionTag value.
戻り値:
the newly created SupportedHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the optionTag value.

createTimeStampHeader

public javax.sip.header.TimeStampHeader createTimeStampHeader(float timeStamp)
                                                       throws javax.sip.InvalidArgumentException
Creates a new TimeStampHeader based on the newly supplied timeStamp value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createTimeStampHeader
パラメータ:
timeStamp - - the new float value of the timeStamp.
戻り値:
the newly created TimeStampHeader object.
例外:
javax.sip.InvalidArgumentException - if supplied timeStamp is less than zero.

createToHeader

public javax.sip.header.ToHeader createToHeader(javax.sip.address.Address address,
                                                java.lang.String tag)
                                         throws java.text.ParseException
Creates a new ToHeader based on the newly supplied address and tag values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createToHeader
パラメータ:
address - - the new Address object of the address.
tag - - the new string value of the tag.
戻り値:
the newly created ToHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the tag value.

createUnsupportedHeader

public javax.sip.header.UnsupportedHeader createUnsupportedHeader(java.lang.String optionTag)
                                                           throws java.text.ParseException
Creates a new UnsupportedHeader based on the newly supplied optionTag value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createUnsupportedHeader
パラメータ:
optionTag - - the new string containing the optionTag value.
戻り値:
the newly created UnsupportedHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the List of optionTag value.

createUserAgentHeader

public javax.sip.header.UserAgentHeader createUserAgentHeader(java.util.List product)
                                                       throws java.text.ParseException
Creates a new UserAgentHeader based on the newly supplied product value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createUserAgentHeader
パラメータ:
product - - the new list value of the product.
戻り値:
the newly created UserAgentHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the product value.

createViaHeader

public javax.sip.header.ViaHeader createViaHeader(java.lang.String host,
                                                  int port,
                                                  java.lang.String transport,
                                                  java.lang.String branch)
                                           throws java.text.ParseException
Creates a new ViaHeader based on the newly supplied uri and branch values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createViaHeader
パラメータ:
host - the new host value of uri.
port - the new port value of uri.
transport - the new transport value of uri.
branch - the new string value of the branch.
戻り値:
the newly created ViaHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the branch value.

createWWWAuthenticateHeader

public javax.sip.header.WWWAuthenticateHeader createWWWAuthenticateHeader(java.lang.String scheme)
                                                                   throws java.text.ParseException
Creates a new WWWAuthenticateHeader based on the newly supplied scheme value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createWWWAuthenticateHeader
パラメータ:
scheme - - the new string value of the scheme.
戻り値:
the newly created WWWAuthenticateHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the scheme values.

createWarningHeader

public javax.sip.header.WarningHeader createWarningHeader(java.lang.String agent,
                                                          int code,
                                                          java.lang.String comment)
                                                   throws java.text.ParseException,
                                                          javax.sip.InvalidArgumentException
Creates a new WarningHeader based on the newly supplied agent, code and comment values.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createWarningHeader
パラメータ:
agent - - the new string value of the agent.
code - - the new boolean integer of the code.
comment - - the new string value of the comment.
戻り値:
the newly created WarningHeader object.
例外:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the agent or comment values.
javax.sip.InvalidArgumentException - if an invalid integer code is given for the WarningHeader.

createErrorInfoHeader

public javax.sip.header.ErrorInfoHeader createErrorInfoHeader(javax.sip.address.URI errorInfo)
Creates a new ErrorInfoHeader based on the newly supplied errorInfo value.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createErrorInfoHeader
パラメータ:
errorInfo - - the new URI value of the errorInfo.
戻り値:
the newly created ErrorInfoHeader object.
導入されたバージョン:
v1.1

createHeader

public javax.sip.header.Header createHeader(java.lang.String headerName,
                                            java.lang.String headerValue)
                                     throws java.text.ParseException
Create and parse a header.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createHeader
パラメータ:
headerName - -- header name for the header to parse.
headerValue - -- header value for the header to parse.
戻り値:
the parsed sip header
例外:
java.text.ParseException

createHeaders

public java.util.List createHeaders(java.lang.String headers)
                             throws java.text.ParseException
Create and return a list of headers.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createHeaders
パラメータ:
headers - -- list of headers.
戻り値:
a List containing the headers.
例外:
java.text.ParseException - -- if a parse exception occurs or a List of that type of header is not alowed.

createReferToHeader

public javax.sip.header.ReferToHeader createReferToHeader(javax.sip.address.Address address)
Create a ReferTo Header.

定義:
インタフェース javax.sip.header.HeaderFactory 内の createReferToHeader
パラメータ:
address - -- address for the header.