public class Caller extends Object
| Constructor and Description |
|---|
Caller(org.ballerinalang.jvm.values.ObjectValue callerObj) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalAddress()
Get the local address from the caller object.
|
org.ballerinalang.jvm.values.ObjectValue |
getNativeRequestObject()
Returns the java native object of the ballerina level http:Caller object.
|
String |
getRemoteAddress()
Get the remote address from the caller object.
|
void |
respond(Response response)
Method use to send the response to the client.
|
public void respond(Response response)
Interceptor.interceptRequest(Caller, Request) as false.
If used in response interceptor then set the return value of method
Interceptor.interceptResponse(Caller, Response) as falsepublic org.ballerinalang.jvm.values.ObjectValue getNativeRequestObject()
ObjectValue representing the caller.public String getLocalAddress()
public String getRemoteAddress()
Copyright © 2021 WSO2. All rights reserved.