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
IOException
public void postInvocationError(String requestId, byte[] errorResponse, String errorType, String errorCause) throws IOException
IOException
public void postInitError(byte[] errorResponse, String errorType) throws IOException
IOException
Copyright © 2022. All rights reserved.