public class DataContext extends Object
DataContext
is the wrapper to hold Context
and CallableUnitCallback
.Modifier and Type | Field and Description |
---|---|
CallableUnitCallback |
callback |
Context |
context |
Constructor and Description |
---|
DataContext(Context context,
CallableUnitCallback callback,
org.wso2.transport.http.netty.message.HttpCarbonMessage correlatedMessage) |
Modifier and Type | Method and Description |
---|---|
org.wso2.transport.http.netty.message.HttpCarbonMessage |
getOutboundRequest() |
void |
notifyInboundResponseStatus(BMap<String,BValue> inboundResponse,
BError httpConnectorError) |
void |
notifyOutboundResponseStatus(BError httpConnectorError) |
public Context context
public CallableUnitCallback callback
public DataContext(Context context, CallableUnitCallback callback, org.wso2.transport.http.netty.message.HttpCarbonMessage correlatedMessage)
public void notifyInboundResponseStatus(BMap<String,BValue> inboundResponse, BError httpConnectorError)
public void notifyOutboundResponseStatus(BError httpConnectorError)
public org.wso2.transport.http.netty.message.HttpCarbonMessage getOutboundRequest()
Copyright © 2019 WSO2. All rights reserved.