http-rpc-api / net.corda.v5.httprpc.api.annotations

Package net.corda.v5.httprpc.api.annotations

Annotations

HttpRpcGET

Marks a function function of an @HttpRpcResource annotated interface to be exposed as a GET endpoint by the HTTP RPC generated web service.

annotation class HttpRpcGET

HttpRpcPathParameter

Marks a function parameter of a function annotated with @HttpRpcGET or @HttpRpcPOST as a path parameter.

annotation class HttpRpcPathParameter

HttpRpcPOST

Marks a function of an @HttpRpcResource annotated interface to be exposed as a POST endpoint by the HTTP RPC generated web service.

annotation class HttpRpcPOST

HttpRpcQueryParameter

Marks a function parameter of a function annotated with @HttpRpcGET or @HttpRpcPOST as a query parameter.

annotation class HttpRpcQueryParameter

HttpRpcRequestBodyParameter

Marks a function parameter of an @HttpRpcPOST annotated function as a nested body parameter of the top-level json object.

annotation class HttpRpcRequestBodyParameter

HttpRpcResource

Marks an interface extending RPCOps to be exposed as an HTTP resource. The selected implementation to expose will be the same as for normal RPC.

annotation class HttpRpcResource

Extensions for External Classes

kotlin.Annotation