public class FunctionHTTPGatewayContext extends Object implements HTTPGatewayContext
(c) 2018 Oracle Corporation
| Constructor and Description |
|---|
FunctionHTTPGatewayContext(InvocationContext invocationContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResponseHeader(String key,
String value) |
Headers |
getHeaders() |
InvocationContext |
getInvocationContext() |
String |
getMethod() |
QueryParameters |
getQueryParameters() |
String |
getRequestURL() |
void |
setResponseHeader(String key,
String value,
String... vs) |
void |
setStatusCode(int code) |
public FunctionHTTPGatewayContext(InvocationContext invocationContext)
public InvocationContext getInvocationContext()
getInvocationContext in interface HTTPGatewayContextpublic Headers getHeaders()
getHeaders in interface HTTPGatewayContextpublic String getRequestURL()
getRequestURL in interface HTTPGatewayContextpublic String getMethod()
getMethod in interface HTTPGatewayContextpublic QueryParameters getQueryParameters()
getQueryParameters in interface HTTPGatewayContextpublic void addResponseHeader(String key, String value)
addResponseHeader in interface HTTPGatewayContextpublic void setResponseHeader(String key, String value, String... vs)
setResponseHeader in interface HTTPGatewayContextpublic void setStatusCode(int code)
setStatusCode in interface HTTPGatewayContextCopyright © 2023. All rights reserved.