|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sip.header.HeaderFactoryImpl
public class HeaderFactoryImpl
Implementation of the JAIN SIP HeaderFactory
コンストラクタの概要 | |
---|---|
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 |
コンストラクタの詳細 |
---|
public HeaderFactoryImpl()
メソッドの詳細 |
---|
public javax.sip.header.AcceptEncodingHeader createAcceptEncodingHeader(java.lang.String encoding) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createAcceptEncodingHeader
encoding
- - the new string containing the encoding value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the encoding value.public javax.sip.header.AcceptHeader createAcceptHeader(java.lang.String contentType, java.lang.String contentSubType) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createAcceptHeader
contentType
- The new string content type value.contentSubType
- The new string content sub-type value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the content type or content subtype value.public javax.sip.header.AcceptLanguageHeader createAcceptLanguageHeader(java.util.Locale language)
javax.sip.header.HeaderFactory
内の createAcceptLanguageHeader
language
- - the new Locale value of the language
public javax.sip.header.AlertInfoHeader createAlertInfoHeader(javax.sip.address.URI alertInfo)
javax.sip.header.HeaderFactory
内の createAlertInfoHeader
alertInfo
- - the new string value of the alertInfo
public javax.sip.header.AllowEventsHeader createAllowEventsHeader(java.lang.String eventType) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createAllowEventsHeader
eventType
- - the new string containing the eventType value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the eventType value.public javax.sip.header.AllowHeader createAllowHeader(java.lang.String method) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createAllowHeader
method
- - the new string containing the method value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the method value.public javax.sip.header.AuthenticationInfoHeader createAuthenticationInfoHeader(java.lang.String response) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createAuthenticationInfoHeader
response
- - the new string value of the response.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the response value.public javax.sip.header.AuthorizationHeader createAuthorizationHeader(java.lang.String scheme) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createAuthorizationHeader
scheme
- - the new string value of the scheme.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the scheme value.public javax.sip.header.CSeqHeader createCSeqHeader(int sequenceNumber, java.lang.String method) throws java.text.ParseException, javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createCSeqHeader
sequenceNumber
- - the new integer value of the sequence number.method
- - the new string value of the method.
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.public javax.sip.header.CallIdHeader createCallIdHeader(java.lang.String callId) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createCallIdHeader
callId
- - the new string value of the call-id.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the callId value.public javax.sip.header.CallInfoHeader createCallInfoHeader(javax.sip.address.URI callInfo)
javax.sip.header.HeaderFactory
内の createCallInfoHeader
callInfo
- The new string value of the callInfo.
public javax.sip.header.ContactHeader createContactHeader(javax.sip.address.Address address)
javax.sip.header.HeaderFactory
内の createContactHeader
address
- - the new Address value of the address.
public javax.sip.header.ContactHeader createContactHeader()
ContactHeader.getAddress.getAddress.getUserInfo() == *;
ContactHeader.getAddress.getAddress.isWildCard() == true;
ContactHeader.getExpires() == 0;
javax.sip.header.HeaderFactory
内の createContactHeader
public javax.sip.header.ContentDispositionHeader createContentDispositionHeader(java.lang.String contentDisposition) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createContentDispositionHeader
contentDisposition
- - the new string value of the contentDisposition.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the contentDisposition value.public javax.sip.header.ContentEncodingHeader createContentEncodingHeader(java.lang.String encoding) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createContentEncodingHeader
encoding
- - the new string containing the encoding value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the encoding value.public javax.sip.header.ContentLanguageHeader createContentLanguageHeader(java.util.Locale contentLanguage)
javax.sip.header.HeaderFactory
内の createContentLanguageHeader
contentLanguage
- - the new Locale value of the contentLanguage.
public javax.sip.header.ContentLengthHeader createContentLengthHeader(int contentLength) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createContentLengthHeader
contentLength
- - the new integer value of the contentLength.
javax.sip.InvalidArgumentException
- if supplied contentLength is less
than zero.public javax.sip.header.ContentTypeHeader createContentTypeHeader(java.lang.String contentType, java.lang.String contentSubType) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createContentTypeHeader
contentType
- - the new string content type value.contentSubType
- - the new string content sub-type value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the content type or content subtype value.public javax.sip.header.DateHeader createDateHeader(java.util.Calendar date)
javax.sip.header.HeaderFactory
内の createDateHeader
date
- - the new Calender value of the date.
public javax.sip.header.EventHeader createEventHeader(java.lang.String eventType) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createEventHeader
eventType
- - the new string value of the eventType.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the eventType value.public javax.sip.header.ExpiresHeader createExpiresHeader(int expires) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createExpiresHeader
expires
- - the new integer value of the expires.
javax.sip.InvalidArgumentException
- if supplied expires is less
than zero.public javax.sip.header.ExtensionHeader createExtensionHeader(java.lang.String name, java.lang.String value) throws java.text.ParseException
name
- - the new string name of the ExtensionHeader value.value
- - the new string value of the ExtensionHeader.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the name or value values.public javax.sip.header.FromHeader createFromHeader(javax.sip.address.Address address, java.lang.String tag) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createFromHeader
address
- - the new Address object of the address.tag
- - the new string value of the tag.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the tag value.public javax.sip.header.InReplyToHeader createInReplyToHeader(java.lang.String callId) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createInReplyToHeader
callId
- - the new string containing the callId value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the callId value.public javax.sip.header.MaxForwardsHeader createMaxForwardsHeader(int maxForwards) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createMaxForwardsHeader
maxForwards
- The new integer value of the maxForwards.
javax.sip.InvalidArgumentException
- if supplied maxForwards is less
than zero or greater than 255.public javax.sip.header.MimeVersionHeader createMimeVersionHeader(int majorVersion, int minorVersion) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createMimeVersionHeader
majorVersion
- - the new integer value of the majorVersion.minorVersion
- - the new integer value of the minorVersion.
javax.sip.InvalidArgumentException
- if supplied mimeVersion is less
than zero.public javax.sip.header.MinExpiresHeader createMinExpiresHeader(int minExpires) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createMinExpiresHeader
minExpires
- - the new integer value of the minExpires.
javax.sip.InvalidArgumentException
- if supplied minExpires is less
than zero.public javax.sip.header.OrganizationHeader createOrganizationHeader(java.lang.String organization) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createOrganizationHeader
organization
- - the new string value of the organization.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the organization value.public javax.sip.header.PriorityHeader createPriorityHeader(java.lang.String priority) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createPriorityHeader
priority
- - the new string value of the priority.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the priority value.public javax.sip.header.ProxyAuthenticateHeader createProxyAuthenticateHeader(java.lang.String scheme) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createProxyAuthenticateHeader
scheme
- - the new string value of the scheme.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the scheme value.public javax.sip.header.ProxyAuthorizationHeader createProxyAuthorizationHeader(java.lang.String scheme) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createProxyAuthorizationHeader
scheme
- - the new string value of the scheme.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the scheme value.public javax.sip.header.ProxyRequireHeader createProxyRequireHeader(java.lang.String optionTag) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createProxyRequireHeader
optionTag
- - the new string OptionTag value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the optionTag value.public javax.sip.header.RAckHeader createRAckHeader(int rSeqNumber, int cSeqNumber, java.lang.String method) throws javax.sip.InvalidArgumentException, java.text.ParseException
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.
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.public javax.sip.header.RSeqHeader createRSeqHeader(int sequenceNumber) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createRSeqHeader
sequenceNumber
- - the new integer value of the sequenceNumber.
javax.sip.InvalidArgumentException
- if supplied sequenceNumber is
less than zero or greater than than 2**31-1.public javax.sip.header.ReasonHeader createReasonHeader(java.lang.String protocol, int cause, java.lang.String text) throws javax.sip.InvalidArgumentException, java.text.ParseException
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.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the protocol, cause or text value.
javax.sip.InvalidArgumentException
public javax.sip.header.RecordRouteHeader createRecordRouteHeader(javax.sip.address.Address address)
javax.sip.header.HeaderFactory
内の createRecordRouteHeader
address
- - the new Address object of the address.
public javax.sip.header.ReplyToHeader createReplyToHeader(javax.sip.address.Address address)
javax.sip.header.HeaderFactory
内の createReplyToHeader
address
- - the new Address object of the address.
public javax.sip.header.RequireHeader createRequireHeader(java.lang.String optionTag) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createRequireHeader
optionTag
- - the new string value containing the optionTag value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the List of optionTag value.public javax.sip.header.RetryAfterHeader createRetryAfterHeader(int retryAfter) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createRetryAfterHeader
retryAfter
- - the new integer value of the retryAfter.
javax.sip.InvalidArgumentException
- if supplied retryAfter is less
than zero.public javax.sip.header.RouteHeader createRouteHeader(javax.sip.address.Address address)
javax.sip.header.HeaderFactory
内の createRouteHeader
address
- - the new Address object of the address.
public javax.sip.header.ServerHeader createServerHeader(java.util.List product) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createServerHeader
product
- - the new list value of the product.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the product value.public javax.sip.header.SubjectHeader createSubjectHeader(java.lang.String subject) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createSubjectHeader
subject
- - the new string value of the subject.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the subject value.public javax.sip.header.SubscriptionStateHeader createSubscriptionStateHeader(java.lang.String subscriptionState) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createSubscriptionStateHeader
subscriptionState
- - the new string value of the subscriptionState.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the subscriptionState value.public javax.sip.header.SupportedHeader createSupportedHeader(java.lang.String optionTag) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createSupportedHeader
optionTag
- - the new string containing the optionTag value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the optionTag value.public javax.sip.header.TimeStampHeader createTimeStampHeader(float timeStamp) throws javax.sip.InvalidArgumentException
javax.sip.header.HeaderFactory
内の createTimeStampHeader
timeStamp
- - the new float value of the timeStamp.
javax.sip.InvalidArgumentException
- if supplied timeStamp is less
than zero.public javax.sip.header.ToHeader createToHeader(javax.sip.address.Address address, java.lang.String tag) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createToHeader
address
- - the new Address object of the address.tag
- - the new string value of the tag.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the tag value.public javax.sip.header.UnsupportedHeader createUnsupportedHeader(java.lang.String optionTag) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createUnsupportedHeader
optionTag
- - the new string containing the optionTag value.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the List of optionTag value.public javax.sip.header.UserAgentHeader createUserAgentHeader(java.util.List product) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createUserAgentHeader
product
- - the new list value of the product.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the product value.public javax.sip.header.ViaHeader createViaHeader(java.lang.String host, int port, java.lang.String transport, java.lang.String branch) throws java.text.ParseException
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.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the branch value.public javax.sip.header.WWWAuthenticateHeader createWWWAuthenticateHeader(java.lang.String scheme) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createWWWAuthenticateHeader
scheme
- - the new string value of the scheme.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the scheme values.public javax.sip.header.WarningHeader createWarningHeader(java.lang.String agent, int code, java.lang.String comment) throws java.text.ParseException, javax.sip.InvalidArgumentException
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.
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.public javax.sip.header.ErrorInfoHeader createErrorInfoHeader(javax.sip.address.URI errorInfo)
javax.sip.header.HeaderFactory
内の createErrorInfoHeader
errorInfo
- - the new URI value of the errorInfo.
public javax.sip.header.Header createHeader(java.lang.String headerName, java.lang.String headerValue) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createHeader
headerName
- -- header name for the header to parse.headerValue
- -- header value for the header to parse.
java.text.ParseException
public java.util.List createHeaders(java.lang.String headers) throws java.text.ParseException
javax.sip.header.HeaderFactory
内の createHeaders
headers
- -- list of headers.
java.text.ParseException
- -- if a parse exception occurs or a List
of that type of header is not alowed.public javax.sip.header.ReferToHeader createReferToHeader(javax.sip.address.Address address)
javax.sip.header.HeaderFactory
内の createReferToHeader
address
- -- address for the header.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |