Package org.dellroad.msrp.msg
Class MsrpHeaders
- java.lang.Object
-
- org.dellroad.msrp.msg.MsrpHeaders
-
public class MsrpHeaders extends Object
MSRP headers.
-
-
Constructor Summary
Constructors Constructor Description MsrpHeaders()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ByteRange
getByteRange()
String
getContentType()
SortedSet<Header>
getExtensionHeaders()
Extension headers, sorted by header name case-insensitively.FailureReport
getFailureReport()
List<MsrpUri>
getFromPath()
String
getMessageId()
SortedSet<Header>
getMimeHeaders()
MIME headers, sorted by header name case-insensitively.Status
getStatus()
List<MsrpUri>
getToPath()
int
hashCode()
boolean
isSuccessReport()
void
setByteRange(ByteRange byteRange)
void
setContentType(String contentType)
void
setFailureReport(FailureReport failureReport)
void
setMessageId(String messageId)
void
setStatus(Status status)
void
setSuccessReport(boolean successReport)
String
toString()
-
-
-
Method Detail
-
getMessageId
public String getMessageId()
-
setMessageId
public void setMessageId(String messageId)
-
isSuccessReport
public boolean isSuccessReport()
-
setSuccessReport
public void setSuccessReport(boolean successReport)
-
getFailureReport
public FailureReport getFailureReport()
-
setFailureReport
public void setFailureReport(FailureReport failureReport)
-
getByteRange
public ByteRange getByteRange()
-
setByteRange
public void setByteRange(ByteRange byteRange)
-
getStatus
public Status getStatus()
-
setStatus
public void setStatus(Status status)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
getMimeHeaders
public SortedSet<Header> getMimeHeaders()
MIME headers, sorted by header name case-insensitively.- Returns:
- MIME headers
-
getExtensionHeaders
public SortedSet<Header> getExtensionHeaders()
Extension headers, sorted by header name case-insensitively.- Returns:
- extension headers
-
-