@Test public void deserialize_fromJsonString_authorizerEmptyMap() { try { HttpApiV2ProxyRequest req = LambdaContainerHandler.getObjectMapper().readValue(NO_AUTH_PROXY, HttpApiV2ProxyRequest.class); assertNotNull(req.getRequestContext().getAuthorizer()); assertFalse(req.getRequestContext().getAuthorizer().isJwt()); } catch (JsonProcessingException e) { e.printStackTrace(); fail("Exception while parsing request" + e.getMessage()); } }
public HttpApiV2ProxyRequestContext getRequestContext() { return requestContext; }
HttpApiV2ProxyRequest { public HttpApiV2ProxyRequestContext getRequestContext() { return requestContext; } }
HttpApiV2ProxyRequest { public HttpApiV2ProxyRequestContext getRequestContext() { return requestContext; }  }
HttpApiV2ProxyRequest { public HttpApiV2ProxyRequestContext getRequestContext() { return requestContext; }  String getVersion(); void setVersion(String version); String getRouteKey(); void setRouteKey(String routeKey); String getRawPath(); void setRawPath(String rawPath); String getRawQueryString(); void setRawQueryString(String rawQueryString); List<String> getCookies(); void setCookies(List<String> cookies); Map<String, String> getHeaders(); void setHeaders(Map<String, String> headers); Map<String, String> getQueryStringParameters(); void setQueryStringParameters(Map<String, String> queryStringParameters); String getBody(); Map<String, String> getPathParameters(); void setPathParameters(Map<String, String> pathParameters); void setBody(String body); @JsonProperty("isBase64Encoded") boolean isBase64Encoded(); void setBase64Encoded(boolean base64Encoded); Map<String, String> getStageVariables(); void setStageVariables(Map<String, String> stageVariables); HttpApiV2ProxyRequestContext getRequestContext(); void setRequestContext(HttpApiV2ProxyRequestContext requestContext); }
HttpApiV2ProxyRequest { public HttpApiV2ProxyRequestContext getRequestContext() { return requestContext; }  String getVersion(); void setVersion(String version); String getRouteKey(); void setRouteKey(String routeKey); String getRawPath(); void setRawPath(String rawPath); String getRawQueryString(); void setRawQueryString(String rawQueryString); List<String> getCookies(); void setCookies(List<String> cookies); Map<String, String> getHeaders(); void setHeaders(Map<String, String> headers); Map<String, String> getQueryStringParameters(); void setQueryStringParameters(Map<String, String> queryStringParameters); String getBody(); Map<String, String> getPathParameters(); void setPathParameters(Map<String, String> pathParameters); void setBody(String body); @JsonProperty("isBase64Encoded") boolean isBase64Encoded(); void setBase64Encoded(boolean base64Encoded); Map<String, String> getStageVariables(); void setStageVariables(Map<String, String> stageVariables); HttpApiV2ProxyRequestContext getRequestContext(); void setRequestContext(HttpApiV2ProxyRequestContext requestContext);  }