public class GetHeader extends BlockingNativeCallableUnit
GetHeader is the ballerina native function to get header value of a Push Promise.
If there are more than one header value for the specified header name exists, the first value is returned.
| Constructor and Description |
|---|
GetHeader() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Context context) |
execute, isBlockingpublic void execute(Context context)
execute in class BlockingNativeCallableUnitCopyright © 2018 WSO2. All rights reserved.