Package org.dellroad.msrp
Class MsrpConstants
- java.lang.Object
 - 
- org.dellroad.msrp.MsrpConstants
 
 
- 
public final class MsrpConstants extends Object
MSRP constants. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringBYTE_RANGE_HEADERThe "Byte-Range" header name.static StringCONTENT_DESCRIPTION_HEADERThe "Content-Description" header name.static StringCONTENT_DISPOSITION_HEADERThe "Content-Disposition" header name.static StringCONTENT_ID_HEADERThe "Content-ID" header name.static StringCONTENT_TYPE_HEADERThe "Content-Type" header name.static intDEFAULT_PORTDefault TCP port for MSRP connections.static StringEND_LINE_PREFIXEnd line seven dashes prefix.static StringFAILURE_REPORT_HEADERThe "Failure-Report" header name.static byteFLAG_ABORTEnd-line flag for aborted message.static byteFLAG_COMPLETEEnd-line flag for completed message.static byteFLAG_INCOMPLETEEnd-line flag for incomplete message.static StringFROM_PATH_HEADERThe "From-Path" header name.static StringMESSAGE_ID_HEADERThe "Message-ID" header name.static StringMETHOD_REPORTRequest method REPORT.static StringMETHOD_SENDRequest method SEND.static StringMIME_CONTENT_HEADER_PREFIXThe prefix of all MIME headers.static StringMSRP_SCHEMEThemsrpURI scheme.static StringMSRPS_SCHEMEThemsrpsURI scheme.static StringNO_HEADER_VALUEHeader valueNO_HEADER_VALUE.static StringPARTIAL_HEADER_VALUEHeader valuePARTIAL_HEADER_VALUE.static intRESPONSE_CODE_BAD_REQUESTstatic intRESPONSE_CODE_OKstatic intRESPONSE_CODE_PARAMETER_OUT_OF_BOUNDSstatic intRESPONSE_CODE_PROHIBITEDstatic intRESPONSE_CODE_SESSION_ALREADY_BOUNDstatic intRESPONSE_CODE_SESSION_DOES_NOT_EXISTstatic intRESPONSE_CODE_STOP_MESSAGEstatic intRESPONSE_CODE_TIMEOUTstatic intRESPONSE_CODE_UNKNOWN_METHODstatic intRESPONSE_CODE_UNSUPPORTED_MEDIA_TYPEstatic intRFC4975_STATUS_NAMESPACEThe namespace forStatuscodes defined by RFC 4975 (value is zero, i.e.,"000").static StringSTATUS_HEADERThe "Status" header name.static StringSUCCESS_REPORT_HEADERThe "Success-Report" header name.static StringTO_PATH_HEADERThe "To-Path" header name.static StringTRANSPORT_TCPThetcptransport.static StringYES_HEADER_VALUEHeader valueYES_HEADER_VALUE. 
 - 
 
- 
- 
Field Detail
- 
DEFAULT_PORT
public static final int DEFAULT_PORT
Default TCP port for MSRP connections.- See Also:
 - Constant Field Values
 
 
- 
MSRP_SCHEME
public static final String MSRP_SCHEME
ThemsrpURI scheme.- See Also:
 - Constant Field Values
 
 
- 
MSRPS_SCHEME
public static final String MSRPS_SCHEME
ThemsrpsURI scheme.- See Also:
 - Constant Field Values
 
 
- 
TRANSPORT_TCP
public static final String TRANSPORT_TCP
Thetcptransport.- See Also:
 - Constant Field Values
 
 
- 
TO_PATH_HEADER
public static final String TO_PATH_HEADER
The "To-Path" header name.- See Also:
 - Constant Field Values
 
 
- 
FROM_PATH_HEADER
public static final String FROM_PATH_HEADER
The "From-Path" header name.- See Also:
 - Constant Field Values
 
 
- 
MESSAGE_ID_HEADER
public static final String MESSAGE_ID_HEADER
The "Message-ID" header name.- See Also:
 - Constant Field Values
 
 
- 
SUCCESS_REPORT_HEADER
public static final String SUCCESS_REPORT_HEADER
The "Success-Report" header name.- See Also:
 - Constant Field Values
 
 
- 
FAILURE_REPORT_HEADER
public static final String FAILURE_REPORT_HEADER
The "Failure-Report" header name.- See Also:
 - Constant Field Values
 
 
- 
BYTE_RANGE_HEADER
public static final String BYTE_RANGE_HEADER
The "Byte-Range" header name.- See Also:
 - Constant Field Values
 
 
- 
STATUS_HEADER
public static final String STATUS_HEADER
The "Status" header name.- See Also:
 - Constant Field Values
 
 
- 
MIME_CONTENT_HEADER_PREFIX
public static final String MIME_CONTENT_HEADER_PREFIX
The prefix of all MIME headers.- See Also:
 - Constant Field Values
 
 
- 
CONTENT_TYPE_HEADER
public static final String CONTENT_TYPE_HEADER
The "Content-Type" header name.- See Also:
 - Constant Field Values
 
 
- 
CONTENT_ID_HEADER
public static final String CONTENT_ID_HEADER
The "Content-ID" header name.- See Also:
 - Constant Field Values
 
 
- 
CONTENT_DESCRIPTION_HEADER
public static final String CONTENT_DESCRIPTION_HEADER
The "Content-Description" header name.- See Also:
 - Constant Field Values
 
 
- 
CONTENT_DISPOSITION_HEADER
public static final String CONTENT_DISPOSITION_HEADER
The "Content-Disposition" header name.- See Also:
 - Constant Field Values
 
 
- 
RFC4975_STATUS_NAMESPACE
public static final int RFC4975_STATUS_NAMESPACE
The namespace forStatuscodes defined by RFC 4975 (value is zero, i.e.,"000").- See Also:
 - Constant Field Values
 
 
- 
YES_HEADER_VALUE
public static final String YES_HEADER_VALUE
Header valueYES_HEADER_VALUE.- See Also:
 - Constant Field Values
 
 
- 
NO_HEADER_VALUE
public static final String NO_HEADER_VALUE
Header valueNO_HEADER_VALUE.- See Also:
 - Constant Field Values
 
 
- 
PARTIAL_HEADER_VALUE
public static final String PARTIAL_HEADER_VALUE
Header valuePARTIAL_HEADER_VALUE.- See Also:
 - Constant Field Values
 
 
- 
END_LINE_PREFIX
public static final String END_LINE_PREFIX
End line seven dashes prefix.- See Also:
 - Constant Field Values
 
 
- 
FLAG_COMPLETE
public static final byte FLAG_COMPLETE
End-line flag for completed message.- See Also:
 - Constant Field Values
 
 
- 
FLAG_INCOMPLETE
public static final byte FLAG_INCOMPLETE
End-line flag for incomplete message.- See Also:
 - Constant Field Values
 
 
- 
FLAG_ABORT
public static final byte FLAG_ABORT
End-line flag for aborted message.- See Also:
 - Constant Field Values
 
 
- 
METHOD_SEND
public static final String METHOD_SEND
Request method SEND.- See Also:
 - Constant Field Values
 
 
- 
METHOD_REPORT
public static final String METHOD_REPORT
Request method REPORT.- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_OK
public static final int RESPONSE_CODE_OK
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_BAD_REQUEST
public static final int RESPONSE_CODE_BAD_REQUEST
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_PROHIBITED
public static final int RESPONSE_CODE_PROHIBITED
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_TIMEOUT
public static final int RESPONSE_CODE_TIMEOUT
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_STOP_MESSAGE
public static final int RESPONSE_CODE_STOP_MESSAGE
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_UNSUPPORTED_MEDIA_TYPE
public static final int RESPONSE_CODE_UNSUPPORTED_MEDIA_TYPE
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_PARAMETER_OUT_OF_BOUNDS
public static final int RESPONSE_CODE_PARAMETER_OUT_OF_BOUNDS
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_SESSION_DOES_NOT_EXIST
public static final int RESPONSE_CODE_SESSION_DOES_NOT_EXIST
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_UNKNOWN_METHOD
public static final int RESPONSE_CODE_UNKNOWN_METHOD
- See Also:
 - Constant Field Values
 
 
- 
RESPONSE_CODE_SESSION_ALREADY_BOUND
public static final int RESPONSE_CODE_SESSION_ALREADY_BOUND
- See Also:
 - Constant Field Values
 
 
 - 
 
 -