- CALL_BACK - Static variable in class org.wso2.carbon.messaging.Constants
-
- CarbonCallback - Interface in org.wso2.carbon.messaging
-
Callbacks are created in request path for execute in response path.
- CarbonMessage - Class in org.wso2.carbon.messaging
-
Data carrier between the components.
- CarbonMessage() - Constructor for class org.wso2.carbon.messaging.CarbonMessage
-
- CarbonMessage(Boolean) - Constructor for class org.wso2.carbon.messaging.CarbonMessage
-
This enable you to avoid filling content in to internal buffer.
- CarbonMessage.ByteBufferInputStream - Class in org.wso2.carbon.messaging
-
A class which represents the InputStream of the ByteBuffers
No need to worry about thread safety of this class this is called only once by
for a message instance from one thread.
- CarbonMessage.ByteBufferOutputStream - Class in org.wso2.carbon.messaging
-
A class which write byteStream into ByteBuffers and add those
ByteBuffers to Content Queue.
- CarbonMessageProcessor - Interface in org.wso2.carbon.messaging
-
Interface of the Carbon Message Processor which is used to process Carbon Messages.
- CarbonTransportInitializer - Interface in org.wso2.carbon.messaging
-
An implementation of this class is used for registering additional handlers to the channel pipeline.
- clear() - Method in class org.wso2.carbon.messaging.Headers
-
To clear all the header from list.
- ClientConnector - Interface in org.wso2.carbon.messaging
-
Message sending interface that should be implemented for a given transport protocol which will be used with
sending messages to a desired endpoint.
- ClientConnectorException - Exception in org.wso2.carbon.messaging.exceptions
-
Client connector exception class used with client connector related invocation errors.
- ClientConnectorException(String) - Constructor for exception org.wso2.carbon.messaging.exceptions.ClientConnectorException
-
- ClientConnectorException(String, Throwable) - Constructor for exception org.wso2.carbon.messaging.exceptions.ClientConnectorException
-
- cloneCarbonMessageWithData(CarbonMessage) - Static method in class org.wso2.carbon.messaging.MessageUtil
-
Copy the Full carbon message with data
- cloneCarbonMessageWithOutData(CarbonMessage) - Static method in class org.wso2.carbon.messaging.MessageUtil
-
Copy Message properties and transport headers
- close() - Method in class org.wso2.carbon.messaging.CarbonMessage.ByteBufferOutputStream
-
- Constants - Class in org.wso2.carbon.messaging
-
Common constants used in message property.
- contains(String) - Method in class org.wso2.carbon.messaging.Headers
-
To check whether given header name is exist in the header map regardless of the
case sensitivity.
- ControlCarbonMessage - Class in org.wso2.carbon.messaging
-
- ControlCarbonMessage(ByteBuffer, boolean) - Constructor for class org.wso2.carbon.messaging.ControlCarbonMessage
-
- createConnector(String) - Method in class org.wso2.carbon.messaging.ServerConnectorProvider
-
- createInstance(int) - Static method in class org.wso2.carbon.messaging.BufferFactory
-
- get(String) - Method in class org.wso2.carbon.messaging.Headers
-
This will return the header field value for given name.
- getAll() - Method in class org.wso2.carbon.messaging.Headers
-
This will return a LinkedList having all the headers.
- getAllBy(String) - Method in class org.wso2.carbon.messaging.Headers
-
This will return a values fo given header name regardless of case sensitivity as a LikedList.
- getBuffer() - Method in class org.wso2.carbon.messaging.BufferFactory
-
- getContentType() - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- getCopyOfFullMessageBody() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getDataObject() - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- getErrorCode() - Method in exception org.wso2.carbon.messaging.exceptions.MessagingException
-
- getFaultHandlerStack() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getFullMessageBody() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
Calling this method will be blocked until all the message content is received.
- getFullMessageLength() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getHeader(String) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getHeaders() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getHeadersMap() - Method in class org.wso2.carbon.messaging.SerializableCarbonMessage
-
To get a map of header values.
- getId() - Method in interface org.wso2.carbon.messaging.CarbonMessageProcessor
-
- getId() - Method in class org.wso2.carbon.messaging.ServerConnector
-
Returns the id of the connector.
- getId() - Method in interface org.wso2.carbon.messaging.TransportSender
-
Deprecated.
- getInputStream() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
This is a blocking call and provides full message as inputStream
removes original content from queue.
- getInputStream() - Method in class org.wso2.carbon.messaging.StreamingCarbonMessage
-
- getInputStream() - Method in class org.wso2.carbon.messaging.TextCarbonMessage
-
- getInstance() - Static method in class org.wso2.carbon.messaging.BufferFactory
-
- getLock() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getMapNames() - Method in class org.wso2.carbon.messaging.MapCarbonMessage
-
- getMessageAsString() - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- getMessageBody() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getMessageDataSource() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getMessagingException() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
Get CarbonMessageException
- getName() - Method in class org.wso2.carbon.messaging.Header
-
- getNelException() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getOutputStream() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
This provide access to write byte stream in to message content Queue as
Stream
- getPayload() - Method in class org.wso2.carbon.messaging.SerializableCarbonMessage
-
To get the payload of the message.
- getPayloadType() - Method in class org.wso2.carbon.messaging.SerializableCarbonMessage
-
To get the payload type of the message.
- getProperties() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getProperty(String) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- getProtocol() - Method in interface org.wso2.carbon.messaging.ClientConnector
-
Transport protocol associated with this client connector instance.
- getProtocol() - Method in interface org.wso2.carbon.messaging.ServerConnectorErrorHandler
-
Returns the string value of the transport protocol (eg: "http", "jms", etc.
- getProtocol() - Method in class org.wso2.carbon.messaging.ServerConnectorProvider
-
Returns the transport protocol associated with this provider.
- getReasonText() - Method in class org.wso2.carbon.messaging.StatusCarbonMessage
-
- getState() - Method in class org.wso2.carbon.messaging.ServerConnector
-
Returns the current life cycle state of the connector.
- getStatus() - Method in class org.wso2.carbon.messaging.StatusCarbonMessage
-
- getStatusCode() - Method in class org.wso2.carbon.messaging.StatusCarbonMessage
-
- getText() - Method in class org.wso2.carbon.messaging.TextCarbonMessage
-
- getTransportListener() - Method in interface org.wso2.carbon.messaging.TransportListenerManager
-
Deprecated.
Provide Registered TransportListener
- getValue() - Method in class org.wso2.carbon.messaging.Header
-
- getValue(String) - Method in class org.wso2.carbon.messaging.MapCarbonMessage
-
To get the value of a particular key.
- getValue(String) - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- getValueAsString(String) - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- getValueAsString(String, Map<String, String>) - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- getWriter() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- id - Variable in class org.wso2.carbon.messaging.ServerConnector
-
Unique ID representing a server connector.
- init() - Method in class org.wso2.carbon.messaging.ServerConnector
-
Implementation of the connector init process.
- initConnector() - Method in class org.wso2.carbon.messaging.ServerConnector
-
- initializeConnectors() - Method in class org.wso2.carbon.messaging.ServerConnectorProvider
-
Initialize the default set of server connectors using the given configuration and return them.
- invokeAtSourceConnectionInitiation(String) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when source connection is initiated.
- invokeAtSourceConnectionTermination(String) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when source connection is terminated.
- invokeAtSourceRequestReceiving(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when source request is started receiving at source handler.
- invokeAtSourceRequestSending(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when source request is started sending to the message processor.
- invokeAtSourceResponseReceiving(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when the response is received again to the transport level after being processed at message processor.
- invokeAtSourceResponseSending(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when the response is started sending to the client.
- invokeAtTargetConnectionInitiation(String) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when target connection is initiated.
- invokeAtTargetConnectionTermination(String) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when target connection is terminated.
- invokeAtTargetRequestReceiving(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when the request is received again to the transport level after being processed at message processor.
- invokeAtTargetRequestSending(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when the request is started sending to the backend.
- invokeAtTargetResponseReceiving(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when target response is started receiving at target handler.
- invokeAtTargetResponseSending(CarbonMessage) - Method in interface org.wso2.carbon.messaging.handler.MessagingHandler
-
Invoked when target response is started sending to the message processor.
- isAlreadyRead() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- isBufferContent() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- isEmpty() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- isEndOfMsgAdded() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- isFaulty() - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- isFinalFragment() - Method in class org.wso2.carbon.messaging.BinaryCarbonMessage
-
- isServerInitializer() - Method in interface org.wso2.carbon.messaging.CarbonTransportInitializer
-
This method will be true if Server Initializer.
- send(CarbonMessage, CarbonCallback) - Method in interface org.wso2.carbon.messaging.ClientConnector
-
Message sending logic to send message to a backend endpoint.
- send(CarbonMessage, CarbonCallback, Map<String, String>) - Method in interface org.wso2.carbon.messaging.ClientConnector
-
Message sending logic to send message to a backend endpoint.
- send(CarbonMessage, CarbonCallback) - Method in interface org.wso2.carbon.messaging.TransportSender
-
Deprecated.
Should include the logic for handover messages to BE.
- SerializableCarbonMessage - Class in org.wso2.carbon.messaging
-
- SerializableCarbonMessage() - Constructor for class org.wso2.carbon.messaging.SerializableCarbonMessage
-
- serializeData() - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- ServerConnector - Class in org.wso2.carbon.messaging
-
This class represents a server connector.
- ServerConnector(String) - Constructor for class org.wso2.carbon.messaging.ServerConnector
-
- ServerConnector.State - Enum in org.wso2.carbon.messaging
-
Enum to holds the state of connector.
- ServerConnectorErrorHandler - Interface in org.wso2.carbon.messaging
-
ServerConnectorErrorHandler is the interface for protocol specific error handlers in ballerina.
- ServerConnectorException - Exception in org.wso2.carbon.messaging.exceptions
-
Server connector exception class used with server connector related invocation errors.
- ServerConnectorException(String) - Constructor for exception org.wso2.carbon.messaging.exceptions.ServerConnectorException
-
- ServerConnectorException(String, Throwable) - Constructor for exception org.wso2.carbon.messaging.exceptions.ServerConnectorException
-
- ServerConnectorProvider - Class in org.wso2.carbon.messaging
-
This class represents the provider for server connectors.
- ServerConnectorProvider(String) - Constructor for class org.wso2.carbon.messaging.ServerConnectorProvider
-
- set(String, String) - Method in class org.wso2.carbon.messaging.Headers
-
To add a header.
- set(Map<String, String>) - Method in class org.wso2.carbon.messaging.Headers
-
This will add all header in given map to the message.
- set(List<Header>) - Method in class org.wso2.carbon.messaging.Headers
-
This will add all header objects in given list into the message.
- setAlreadyRead(boolean) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setBufferContent(boolean) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setClientConnector(ClientConnector) - Method in interface org.wso2.carbon.messaging.CarbonMessageProcessor
-
Method which sets the given client connector for this message processor instance which is used with
sending message via a response channel.
- setContentType(String) - Method in interface org.wso2.carbon.messaging.MessageDataSource
-
- setEndOfMsgAdded(boolean) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setFaultHandlerStack(Stack<FaultHandler>) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setHeader(String, String) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setHeaders(Map<String, String>) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setHeaders(List<Header>) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setHeaders(HashMap<String, String>) - Method in class org.wso2.carbon.messaging.SerializableCarbonMessage
-
To set header values as a map.
- setMessageDataSource(MessageDataSource) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setMessageProcessor(CarbonMessageProcessor) - Method in interface org.wso2.carbon.messaging.ClientConnector
-
Set message processor reference to the ClientConnector.
- setMessageProcessor(CarbonMessageProcessor) - Method in class org.wso2.carbon.messaging.ServerConnector
-
Set the message processor to be used with this connector for dispatching.
- setMessageProcessor(CarbonMessageProcessor) - Method in class org.wso2.carbon.messaging.TransportListener
-
Deprecated.
- setMessagingException(MessagingException) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
Set CarbonMessageException.
- setName(String) - Method in class org.wso2.carbon.messaging.Header
-
- setNelException(NelException) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setPayload(String) - Method in class org.wso2.carbon.messaging.SerializableCarbonMessage
-
To set the payload of the message.
- setPayloadType(String) - Method in class org.wso2.carbon.messaging.SerializableCarbonMessage
-
To set the payload type of the message.
- setProperty(String, Object) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- setStringMessageBody(String) - Method in class org.wso2.carbon.messaging.DefaultCarbonMessage
-
- setTransportSender(TransportSender) - Method in interface org.wso2.carbon.messaging.CarbonMessageProcessor
-
- setup(Map<String, String>) - Method in interface org.wso2.carbon.messaging.CarbonTransportInitializer
-
The setup method is called once to setup the CarbonNettyServerInitializer.
- setValue(String) - Method in class org.wso2.carbon.messaging.Header
-
- setValue(String, String) - Method in class org.wso2.carbon.messaging.MapCarbonMessage
-
To set a value in the map.
- setWriter(Writer) - Method in class org.wso2.carbon.messaging.CarbonMessage
-
- size() - Method in class org.wso2.carbon.messaging.Headers
-
To get the number of of headers in list.
- start(Map<String, String>) - Method in class org.wso2.carbon.messaging.ServerConnector
-
Implementation of the connector start method.
- state - Variable in class org.wso2.carbon.messaging.ServerConnector
-
- STATUS_CLOSE - Static variable in class org.wso2.carbon.messaging.Constants
-
- STATUS_OPEN - Static variable in class org.wso2.carbon.messaging.Constants
-
- StatusCarbonMessage - Class in org.wso2.carbon.messaging
-
- StatusCarbonMessage(String, int, String) - Constructor for class org.wso2.carbon.messaging.StatusCarbonMessage
-
- stop() - Method in class org.wso2.carbon.messaging.ServerConnector
-
Implementation of the connector stop method.
- StreamingCarbonMessage - Class in org.wso2.carbon.messaging
-
- StreamingCarbonMessage(InputStream) - Constructor for class org.wso2.carbon.messaging.StreamingCarbonMessage
-