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) |
protected void |
executeNonBlockingAction(DataContext dataContext,
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, waitexecuteprotected 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) throws org.wso2.transport.http.netty.contract.ClientConnectorException
org.wso2.transport.http.netty.contract.ClientConnectorExceptionprotected void executeNonBlockingAction(DataContext dataContext, boolean async) throws org.wso2.transport.http.netty.contract.ClientConnectorException
org.wso2.transport.http.netty.contract.ClientConnectorExceptionpublic boolean isBlocking()
isBlocking in interface NativeCallableUnitCopyright © 2018 WSO2. All rights reserved.