public class LambdaRuntimeClient extends Object
| Constructor and Description |
|---|
LambdaRuntimeClient(String hostnamePort) |
| Modifier and Type | Method and Description |
|---|---|
void |
postInitError(byte[] errorResponse,
String errorType) |
void |
postInvocationError(String requestId,
byte[] errorResponse,
String errorType) |
void |
postInvocationError(String requestId,
byte[] errorResponse,
String errorType,
String errorCause) |
void |
postInvocationResponse(String requestId,
byte[] response) |
InvocationRequest |
waitForNextInvocation() |
public LambdaRuntimeClient(String hostnamePort)
public InvocationRequest waitForNextInvocation()
public void postInvocationResponse(String requestId, byte[] response)
public void postInvocationError(String requestId, byte[] errorResponse, String errorType) throws IOException
IOExceptionpublic void postInvocationError(String requestId, byte[] errorResponse, String errorType, String errorCause) throws IOException
IOExceptionpublic void postInitError(byte[] errorResponse,
String errorType)
throws IOException
IOExceptionCopyright © 2022. All rights reserved.