Package xyz.block.ftl.runtime.builtin
Class HttpRequest
-
- All Implemented Interfaces:
public class HttpRequestTODO: should this be generated?
-
-
Constructor Summary
Constructors Constructor Description HttpRequest()
-
Method Summary
Modifier and Type Method Description StringgetMethod()voidsetMethod(String method)StringgetPath()voidsetPath(String path)Map<String, String>getPathParameters()voidsetPathParameters(Map<String, String> pathParameters)Map<String, List<String>>getQuery()voidsetQuery(Map<String, List<String>> query)Map<String, List<String>>getHeaders()voidsetHeaders(Map<String, List<String>> headers)JsonNodegetBody()voidsetBody(JsonNode body)-
-
Method Detail
-
getPathParameters
Map<String, String> getPathParameters()
-
setPathParameters
void setPathParameters(Map<String, String> pathParameters)
-
getHeaders
Map<String, List<String>> getHeaders()
-
setHeaders
void setHeaders(Map<String, List<String>> headers)
-
getBody
JsonNode getBody()
-
setBody
void setBody(JsonNode body)
-
-
-
-