public final class FnHttpTest
extends java.lang.Object
Constructor and Description |
---|
FnHttpTest() |
Modifier and Type | Method and Description |
---|---|
static <I> io.micronaut.http.HttpResponse<java.lang.String> |
invoke(io.micronaut.http.HttpMethod method,
java.lang.String uri)
Invoke a function via HTTP.
|
static <I> io.micronaut.http.HttpResponse<java.lang.String> |
invoke(io.micronaut.http.HttpRequest<I> request)
Invoke a function via HTTP.
|
static <I,O> io.micronaut.http.HttpResponse<O> |
invoke(io.micronaut.http.HttpRequest<I> request,
io.micronaut.core.type.Argument<O> resultType)
Invoke a function via HTTP.
|
static <I,O> io.micronaut.http.HttpResponse<O> |
invoke(io.micronaut.http.HttpRequest<I> request,
java.lang.Class<O> resultType)
Invoke a function via HTTP.
|
public static <I> io.micronaut.http.HttpResponse<java.lang.String> invoke(io.micronaut.http.HttpRequest<I> request)
I
- The body typerequest
- The requestpublic static <I> io.micronaut.http.HttpResponse<java.lang.String> invoke(io.micronaut.http.HttpMethod method, java.lang.String uri)
I
- The body typemethod
- The http methoduri
- The uripublic static <I,O> io.micronaut.http.HttpResponse<O> invoke(io.micronaut.http.HttpRequest<I> request, java.lang.Class<O> resultType)
I
- The input typeO
- The output typerequest
- The requestresultType
- The result typepublic static <I,O> io.micronaut.http.HttpResponse<O> invoke(io.micronaut.http.HttpRequest<I> request, io.micronaut.core.type.Argument<O> resultType)
I
- The input typeO
- The output typerequest
- The requestresultType
- The result type