|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sip.message.MessageFactoryImpl
public class MessageFactoryImpl
Message Factory implementation
コンストラクタの概要 | |
---|---|
MessageFactoryImpl()
Creates a new instance of MessageFactoryImpl |
メソッドの概要 | |
---|---|
javax.sip.message.Request |
createRequest(java.lang.String requestString)
Create a request from a string. |
javax.sip.message.Request |
createRequest(javax.sip.address.URI requestURI,
java.lang.String method,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards)
Creates a new Request message of type specified by the method paramater, containing the URI of the Request, the mandatory headers of the message. |
javax.sip.message.Request |
createRequest(javax.sip.address.URI requestURI,
java.lang.String method,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards,
byte[] content,
javax.sip.header.ContentTypeHeader contentType)
Creates a new Request message of type specified by the method paramater, containing the URI of the Request, the mandatory headers of the message with a body in the form of a byte array and body content type. |
javax.sip.message.Request |
createRequest(javax.sip.address.URI requestURI,
java.lang.String method,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards,
javax.sip.header.ContentTypeHeader contentType,
byte[] content)
Creates a new Request message of type specified by the method paramater, containing the URI of the Request, the mandatory headers of the message with a body in the form of a byte array and body content type. |
javax.sip.message.Request |
createRequest(javax.sip.address.URI requestURI,
java.lang.String method,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards,
javax.sip.header.ContentTypeHeader contentType,
java.lang.Object content)
Creates a new Request message of type specified by the method paramater, containing the URI of the Request, the mandatory headers of the message with a body in the form of a Java object and the body content type. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards)
Creates a new Response message of type specified by the statusCode paramater, containing the mandatory headers of the message. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards,
byte[] content,
javax.sip.header.ContentTypeHeader contentType)
Creates a new Response message of type specified by the statusCode paramater, containing the mandatory headers of the message with a body in the form of a byte array and the body content type. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards,
javax.sip.header.ContentTypeHeader contentType,
byte[] content)
Creates a new Response message of type specified by the statusCode paramater, containing the mandatory headers of the message with a body in the form of a byte array and the body content type. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards,
javax.sip.header.ContentTypeHeader contentType,
java.lang.Object content)
Creates a new Response message of type specified by the statusCode paramater, containing the mandatory headers of the message with a body in the form of a Java object and the body content type. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.header.CallIdHeader callId,
javax.sip.header.CSeqHeader cSeq,
javax.sip.header.FromHeader from,
javax.sip.header.ToHeader to,
java.util.List via,
javax.sip.header.MaxForwardsHeader maxForwards,
java.lang.Object content,
javax.sip.header.ContentTypeHeader contentType)
Creates a new Response message of type specified by the statusCode paramater, containing the mandatory headers of the message with a body in the form of a Java object and the body content type. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.message.Request request)
Creates a new Response message of type specified by the statusCode paramater, based on a specific Request message. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.message.Request request,
javax.sip.header.ContentTypeHeader contentType,
byte[] content)
Creates a new Response message of type specified by the statusCode paramater, based on a specific Request with a new body in the form of a byte array and the body content type. |
javax.sip.message.Response |
createResponse(int statusCode,
javax.sip.message.Request request,
javax.sip.header.ContentTypeHeader contentType,
java.lang.Object content)
Creates a new Response message of type specified by the statusCode paramater, based on a specific Request with a new body in the form of a Java object and the body content type. |
javax.sip.message.Response |
createResponse(java.lang.String responseString)
Create a response from a string |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public MessageFactoryImpl()
メソッドの詳細 |
---|
public javax.sip.message.Request createRequest(javax.sip.address.URI requestURI, java.lang.String method, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards, javax.sip.header.ContentTypeHeader contentType, java.lang.Object content) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createRequest
requestURI
- - the new URI object of the requestURI value of this Message.method
- - the new string of the method value of this Message.callId
- - the new CallIdHeader object of the callId value of this Message.cSeq
- - the new CSeqHeader object of the cSeq value of this Message.from
- - the new FromHeader object of the from value of this Message.to
- - the new ToHeader object of the to value of this Message.via
- - the new List object of the ViaHeaders of this Message.content
- - the new Object of the body content value of this Message.contentType
- - the new ContentTypeHeader object of the content type
value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the method or the body.public javax.sip.message.Request createRequest(javax.sip.address.URI requestURI, java.lang.String method, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards, byte[] content, javax.sip.header.ContentTypeHeader contentType) throws java.text.ParseException
requestURI
- - the new URI object of the
requestURI value of this Message.method
- - the new string of the method value of this Message.callId
- - the new CallIdHeader object of the callId value of this Message.cSeq
- - the new CSeqHeader object of the cSeq value of this Message.from
- - the new FromHeader object of the from value of this Message.to
- - the new ToHeader object of the to value of this Message.via
- - the new List object of the ViaHeaders of this Message.content
- - the new byte array of the body content value of this Message.contentType
- - the new ContentTypeHeader object of the content type
value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the method or the body.public javax.sip.message.Request createRequest(javax.sip.address.URI requestURI, java.lang.String method, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createRequest
requestURI
- - the new URI object of the requestURI value of this Message.method
- - the new string of the method value of this Message.callId
- - the new CallIdHeader object of the callId value of this Message.cSeq
- - the new CSeqHeader object of the cSeq value of this Message.from
- - the new FromHeader object of the from value of this Message.to
- - the new ToHeader object of the to value of this Message.via
- - the new List object of the ViaHeaders of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the method.public javax.sip.message.Response createResponse(int statusCode, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards, java.lang.Object content, javax.sip.header.ContentTypeHeader contentType) throws java.text.ParseException
statusCode
- - the new integer of the statusCode value of this Message.callId
- - the new CallIdHeader object of the callId value of this Message.cSeq
- - the new CSeqHeader object of the cSeq value of this Message.from
- - the new FromHeader object of the from value of this Message.to
- - the new ToHeader object of the to value of this Message.via
- - the new List object of the ViaHeaders of this Message.content
- - the new Object of the body content value of this Message.contentType
- - the new ContentTypeHeader object of the content type
value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode or the body.public javax.sip.message.Response createResponse(int statusCode, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards, byte[] content, javax.sip.header.ContentTypeHeader contentType) throws java.text.ParseException
statusCode
- - the new integer of the statusCode value of this Message.callId
- - the new CallIdHeader object of the callId value of this Message.cSeq
- - the new CSeqHeader object of the cSeq value of this Message.from
- - the new FromHeader object of the from value of this Message.to
- - the new ToHeader object of the to value of this Message.via
- - the new List object of the ViaHeaders of this Message.content
- - the new byte array of the body content value of this Message.contentType
- - the new ContentTypeHeader object of the content type
value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode or the body.public javax.sip.message.Response createResponse(int statusCode, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createResponse
statusCode
- - the new integer of the statusCode value of this Message.callId
- - the new CallIdHeader object of the callId value of this Message.cSeq
- - the new CSeqHeader object of the cSeq value of this Message.from
- - the new FromHeader object of the from value of this Message.to
- - the new ToHeader object of the to value of this Message.via
- - the new List object of the ViaHeaders of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode.public javax.sip.message.Response createResponse(int statusCode, javax.sip.message.Request request, javax.sip.header.ContentTypeHeader contentType, java.lang.Object content) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createResponse
statusCode
- - the new integer of the statusCode value of this Message.request
- - the received Reqest object upon which to base the Response.content
- - the new Object of the body content value of this Message.contentType
- - the new ContentTypeHeader object of the content type
value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode or the body.public javax.sip.message.Response createResponse(int statusCode, javax.sip.message.Request request, javax.sip.header.ContentTypeHeader contentType, byte[] content) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createResponse
statusCode
- - the new integer of the statusCode value of this Message.request
- - the received Reqest object upon which to base the Response.content
- - the new byte array of the body content value of this Message.contentType
- - the new ContentTypeHeader object of the content type
value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode or the body.public javax.sip.message.Response createResponse(int statusCode, javax.sip.message.Request request) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createResponse
statusCode
- - the new integer of the statusCode value of this Message.request
- - the received Reqest object upon which to base the Response.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode.public javax.sip.message.Request createRequest(javax.sip.address.URI requestURI, java.lang.String method, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards, javax.sip.header.ContentTypeHeader contentType, byte[] content) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createRequest
requestURI
- - the new URI object of the requestURI value
of this Message.method
- - the new string of the method value of this Message.callId
- - the new CallIdHeader object of the callId value
of this Message.cSeq
- - the new CSeqHeader object of the cSeq value of
this Message.from
- - the new FromHeader object of the from value of
this Message.to
- - the new ToHeader object of the to value of this Message.via
- - the new List object of the ViaHeaders of this Message.contentType
- - the new ContentTypeHeader object of the content type
value of this Message.content
- - the new byte array of the body content
value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the method or the body.public javax.sip.message.Response createResponse(int statusCode, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards, javax.sip.header.ContentTypeHeader contentType, java.lang.Object content) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createResponse
statusCode
- the new integer of the
statusCode value of this Message.callId
- the new CallIdHeader object of the
callId value of this Message.cSeq
- the new CSeqHeader object of the cSeq value of this Message.from
- the new FromHeader object of the from value of this Message.to
- the new ToHeader object of the to value of this Message.via
- the new List object of the ViaHeaders of this Message.contentType
- the new ContentTypeHeader object of the content type
value of this Message.content
- the new Object of the body content value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode or the body.public javax.sip.message.Response createResponse(int statusCode, javax.sip.header.CallIdHeader callId, javax.sip.header.CSeqHeader cSeq, javax.sip.header.FromHeader from, javax.sip.header.ToHeader to, java.util.List via, javax.sip.header.MaxForwardsHeader maxForwards, javax.sip.header.ContentTypeHeader contentType, byte[] content) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createResponse
statusCode
- the new integer of the statusCode value of this Message.callId
- the new CallIdHeader object of the callId value of this Message.cSeq
- the new CSeqHeader object of the cSeq value of this Message.from
- the new FromHeader object of the from value of this Message.to
- the new ToHeader object of the to value of this Message.via
- the new List object of the ViaHeaders of this Message.contentType
- the new ContentTypeHeader object of the content type
value of this Message.content
- the new byte array of the body content value of this Message.
java.text.ParseException
- which signals that an error has been reached
unexpectedly while parsing the statusCode or the body.public javax.sip.message.Request createRequest(java.lang.String requestString) throws java.text.ParseException
javax.sip.message.MessageFactory
内の createRequest
requestString
- -- string from which to create the message
null string returns an empty message.
java.text.ParseException
public javax.sip.message.Response createResponse(java.lang.String responseString) throws java.text.ParseException
responseString--
- string from which to create the message
null string returns an empty message.
java.text.ParseException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |