public class StatusCarbonMessage extends CarbonMessage
CarbonMessage type for Status Message. This contains a status, status code and if prefers a reason text.
This is a useful message type to know about the status of a connection. If you have to process something when
the status of a connection is changed use this message type to transfer all the necessary details.CarbonMessage.ByteBufferInputStream, CarbonMessage.ByteBufferOutputStreamalreadyRead, bufferContent, byteBufferInputStream, faultHandlerStack, headers, lock, messageBody, messageDataSource, messagingException, nelException, properties| Constructor and Description |
|---|
StatusCarbonMessage(String status,
int statusCode,
String reasonText) |
| Modifier and Type | Method and Description |
|---|---|
String |
getReasonText() |
String |
getStatus() |
int |
getStatusCode() |
addMessageBody, getCopyOfFullMessageBody, getFaultHandlerStack, getFullMessageBody, getFullMessageLength, getHeader, getHeaders, getInputStream, getLock, getMessageBody, getMessageDataSource, getMessagingException, getNelException, getOutputStream, getProperties, getProperty, getWriter, isAlreadyRead, isBufferContent, isEmpty, isEndOfMsgAdded, isFaulty, release, removeHeader, removeProperty, setAlreadyRead, setBufferContent, setEndOfMsgAdded, setFaultHandlerStack, setHeader, setHeaders, setHeaders, setMessageDataSource, setMessagingException, setNelException, setProperty, setWriterCopyright © 2017 WSO2. All rights reserved.