private final void valid() throws InvalidPayloadException
{
String type = (String) super.get(Payload.CONTENT_TYPE);
if (type == null)
throw new InvalidPayloadException();
else
{
if (!type.equals(Payload.BYTES_BODY))
throw new InvalidPayloadException();
}
}