public class ResponseWriter extends Object
Constructor and Description |
---|
ResponseWriter() |
Modifier and Type | Method and Description |
---|---|
static void |
sendResponseRobust(DataContext dataContext,
org.wso2.transport.http.netty.message.HttpCarbonMessage requestMessage,
BMap<String,BValue> outboundResponse,
org.wso2.transport.http.netty.message.HttpCarbonMessage responseMessage)
Send outbound response to destination.
|
public static void sendResponseRobust(DataContext dataContext, org.wso2.transport.http.netty.message.HttpCarbonMessage requestMessage, BMap<String,BValue> outboundResponse, org.wso2.transport.http.netty.message.HttpCarbonMessage responseMessage)
dataContext
- Represents data context which acts as the callback for response statusrequestMessage
- Represents the request that corresponds to the responseoutboundResponse
- Represents ballerina responseresponseMessage
- Represents native response messageCopyright © 2019 WSO2. All rights reserved.