|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageBody
Defines an interface representing the Message-Body grouped AVP type.
From the Diameter Ro Reference Point Protocol Details (3GPP TS 32.299 V7.1.0) specification:
7.2.58 Message-Body AVP
The Message-Body AVP (AVP Code 889) is of type Grouped AVP and holds information about the message bodies including
user-to-user data.
It has the following ABNF grammar:
Message-Body ::= AVP Header: 889
[ Content-Type ]
[ Content-Length ]
[ Content-Disposition ]
[ Originator ]
| Field Summary |
|---|
| Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp |
|---|
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT |
| Method Summary | |
|---|---|
java.lang.String |
getContentDisposition()
Returns the value of the Content-Disposition AVP, of type UTF8String. |
long |
getContentLength()
Returns the value of the Content-Length AVP, of type Unsigned32. |
java.lang.String |
getContentType()
Returns the value of the Content-Type AVP, of type UTF8String. |
Originator |
getOriginator()
Returns the value of the Originator AVP, of type Enumerated. |
boolean |
hasContentDisposition()
Returns true if the Content-Disposition AVP is present in the message. |
boolean |
hasContentLength()
Returns true if the Content-Length AVP is present in the message. |
boolean |
hasContentType()
Returns true if the Content-Type AVP is present in the message. |
boolean |
hasOriginator()
Returns true if the Originator AVP is present in the message. |
void |
setContentDisposition(java.lang.String contentDisposition)
Sets the value of the Content-Disposition AVP, of type UTF8String. |
void |
setContentLength(long contentLength)
Sets the value of the Content-Length AVP, of type Unsigned32. |
void |
setContentType(java.lang.String contentType)
Sets the value of the Content-Type AVP, of type UTF8String. |
void |
setOriginator(Originator originator)
Sets the value of the Originator AVP, of type Enumerated. |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp |
|---|
getExtensionAvps, setExtensionAvps |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp |
|---|
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue |
| Method Detail |
|---|
java.lang.String getContentDisposition()
long getContentLength()
java.lang.String getContentType()
Originator getOriginator()
boolean hasContentDisposition()
boolean hasContentLength()
boolean hasContentType()
boolean hasOriginator()
void setContentDisposition(java.lang.String contentDisposition)
void setContentLength(long contentLength)
void setContentType(java.lang.String contentType)
void setOriginator(Originator originator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||