Package io.aws.lambda.events.gateway
Class APIGatewayProxyResponse
- java.lang.Object
-
- io.aws.lambda.events.gateway.APIGatewayProxyResponse
-
- All Implemented Interfaces:
java.io.Serializable
public class APIGatewayProxyResponse extends java.lang.Object implements java.io.SerializableClass that represents an APIGatewayProxyResponseEvent object- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIGatewayProxyResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIGatewayProxyResponseaddHeader(@NotNull java.lang.String name, @NotNull java.lang.String value)APIGatewayProxyResponseaddMultiHeader(@NotNull java.lang.String name, @NotNull java.util.List<java.lang.String> value)@NotNull java.util.Map<java.lang.String,java.lang.String>getHeaders()@NotNull java.util.Map<java.lang.String,java.util.List<java.lang.String>>getMultiValueHeaders()
-
-
-
Method Detail
-
getHeaders
@NotNull public @NotNull java.util.Map<java.lang.String,java.lang.String> getHeaders()
-
getMultiValueHeaders
@NotNull public @NotNull java.util.Map<java.lang.String,java.util.List<java.lang.String>> getMultiValueHeaders()
-
addHeader
public APIGatewayProxyResponse addHeader(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.lang.String value)
-
addMultiHeader
public APIGatewayProxyResponse addMultiHeader(@NotNull @NotNull java.lang.String name, @NotNull @NotNull java.util.List<java.lang.String> value)
-
-