|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.sip.stack.message.header.SipHeaderImpl
public class SipHeaderImpl
Bean for a single SIP header.
| Constructor Summary | |
|---|---|
SipHeaderImpl(String headerName,
List<SipHeaderValue> headerValues)
Creates a new SIP header with the specified name and values. |
|
SipHeaderImpl(String headerName,
SipHeaderValue headerValue)
Creates a new SIP header with the specified name and value. |
|
| Method Summary | |
|---|---|
void |
addValue(SipHeaderValue headerValue)
Adds the value of the specified header to the value for this header. |
String |
getName()
Accessor for the name of the header. |
SipHeaderValue |
getValue()
Accessor for the header value. |
List<SipHeaderValue> |
getValues()
Accessor for the header values. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SipHeaderImpl(String headerName,
List<SipHeaderValue> headerValues)
headerName - The name of the header.headerValues - The values of the header.
public SipHeaderImpl(String headerName,
SipHeaderValue headerValue)
headerName - The name of the header.headerValue - The value of the header.| Method Detail |
|---|
public String getName()
SipHeader
getName in interface SipHeaderpublic List<SipHeaderValue> getValues()
SipHeaderCollection will
contain only a single entry.
getValues in interface SipHeaderCollection of header field values. Each entry in
the collection is a header value.public SipHeaderValue getValue()
SipHeader
getValue in interface SipHeaderpublic void addValue(SipHeaderValue headerValue)
SipHeader
addValue in interface SipHeaderheaderValue - The header value to add to this header.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||