public abstract class AbstractHTTPAction extends Object implements NativeCallableUnit
AbstractHTTPAction
is the base class for all HTTP Connector Actions.Constructor and Description |
---|
AbstractHTTPAction() |
Modifier and Type | Method and Description |
---|---|
protected org.wso2.transport.http.netty.message.HTTPCarbonMessage |
createOutboundRequestMsg(Context context) |
protected BStruct |
createStruct(Context context,
String structName,
String protocolPackage)
Creates a ballerina struct.
|
protected void |
executeNonBlockingAction(DataContext dataContext,
org.wso2.transport.http.netty.message.HTTPCarbonMessage outboundRequestMsg) |
protected void |
executeNonBlockingAction(DataContext dataContext,
org.wso2.transport.http.netty.message.HTTPCarbonMessage outboundRequestMsg,
boolean async) |
boolean |
isBlocking() |
protected void |
prepareOutboundRequest(Context context,
BStruct connector,
String path,
org.wso2.transport.http.netty.message.HTTPCarbonMessage outboundRequest) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
protected org.wso2.transport.http.netty.message.HTTPCarbonMessage createOutboundRequestMsg(Context context)
protected void prepareOutboundRequest(Context context, BStruct connector, String path, org.wso2.transport.http.netty.message.HTTPCarbonMessage outboundRequest)
protected void executeNonBlockingAction(DataContext dataContext, org.wso2.transport.http.netty.message.HTTPCarbonMessage outboundRequestMsg) throws org.wso2.transport.http.netty.contract.ClientConnectorException
org.wso2.transport.http.netty.contract.ClientConnectorException
protected void executeNonBlockingAction(DataContext dataContext, org.wso2.transport.http.netty.message.HTTPCarbonMessage outboundRequestMsg, boolean async) throws org.wso2.transport.http.netty.contract.ClientConnectorException
org.wso2.transport.http.netty.contract.ClientConnectorException
public boolean isBlocking()
isBlocking
in interface NativeCallableUnit
Copyright © 2018 WSO2. All rights reserved.