### KtorNetty Server Setup Source: https://github.com/http4k/api/blob/master/http4k-server-ktornetty/navigation.html Example of setting up and starting an http4k application using the Ktor Netty server. ```APIDOC ## KtorNetty Server Setup ### Description This snippet demonstrates how to create and run an http4k application using the Ktor Netty server. ### Code ```kotlin import org.http4k.core.HttpHandler import org.http4k.server.Netty import org.http4k.server.asServer fun main() { val app: HttpHandler = { request -> /* Your http4k app logic here */ } val server = app.asServer(Netty(9000)) server.start() server.stop() } ``` ``` -------------------------------- ### Netty Server Setup Source: https://github.com/http4k/api/blob/master/http4k-server-netty/navigation.html This snippet shows how to create and start a Netty-based http4k server. ```APIDOC ## Netty Server Setup ### Description This section details how to initialize and run an http4k application using the Netty server implementation. ### Code Example ```kotlin import org.http4k.server.Netty import org.http4k.server.asServer val app: HttpHandler = { Response(Ok).body("Hello, World!") } fun main() { app.asServer(Netty(9000)).start() } ``` ### Parameters - `port` (Int) - The port number the server will listen on. - `httpHandler` (HttpHandler) - The http4k application to serve. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-server-jetty/org.http4k.server/-http4k-jetty-http-handler/index.html Starts the http4k Jetty server. ```APIDOC ## start ### Description Starts the http4k Jetty server. ### Method fun start() ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-testing-chaos/org.http4k.chaos/-chaotic-http-handler/index.html Starts the ChaoticHttpHandler as a running server. ```APIDOC ## ChaoticHttpHandler.start() ### Description Converts this ChaoticHttpHandler into a running HTTP server. It defaults to a port determined by the class name and uses a SunHttp server configuration by default. ### Extension Function `fun ChaoticHttpHandler.start(port: Int = this::class.defaultPort, serverConfig: (Int) -> ServerConfig = ::SunHttp): Http4kServer` ### Parameters - **port** (Int) - The port to start the server on. Defaults to a port derived from the handler's class name. - **serverConfig** (Int) -> ServerConfig - The server configuration to use. Defaults to `SunHttp`. ``` -------------------------------- ### start() Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-client/org.http4k.ai.mcp.testing/-test-mcp-client/index.html Starts the TestMcpClient with an optional timeout override. ```APIDOC ## start(overrideDefaultTimeout: Duration?) ### Description Starts the TestMcpClient, optionally overriding the default timeout for operations. ### Method `start(overrideDefaultTimeout: Duration?)` ### Parameters * **overrideDefaultTimeout** (Duration?) - An optional duration to override the default timeout. ### Returns [McpResult]<[ServerCapabilities]> - The result of starting the client, including server capabilities. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-testing/org.http4k.ai.mcp.apps/-mcp-apps/start.html Initializes and starts the McpApps functionality. ```APIDOC ## start ### Description Initializes and starts the McpApps functionality. This is the primary entry point for using McpApps. ### Signature `fun start()` ### Source [https://github.com/http4k/http4k/tree/master/pro/ai/mcp/testing/src/main/kotlin/org/http4k/ai/mcp/apps/McpApps.kt#L37](https://github.com/http4k/http4k/tree/master/pro/ai/mcp/testing/src/main/kotlin/org/http4k/ai/mcp/apps/McpApps.kt#L37) ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-client/org.http4k.ai.mcp.testing/-test-mcp-client/start.html Starts the TestMcpClient, returning ServerCapabilities. An optional overrideDefaultTimeout can be provided. ```APIDOC ## start ### Description Starts the TestMcpClient, returning ServerCapabilities. An optional overrideDefaultTimeout can be provided. ### Method open override fun ### Signature start(overrideDefaultTimeout: Duration?): McpResult ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (McpResult) - Returns ServerCapabilities upon successful start. ### Response Example None ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-incubator-db-postbox/org.http4k.postbox.processing/-default-execution-context/index.html Starts the execution context with a given Runnable. ```APIDOC ## start ### Description Starts the execution context with a given Runnable. ### Parameters #### Path Parameters - None #### Query Parameters - None #### Request Body - None ### Parameters - **runnable** (Runnable) - The Runnable to execute. ### Signature open override fun start(runnable: Runnable) ``` -------------------------------- ### start() Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-client/org.http4k.ai.mcp.client/-abstract-mcp-client/index.html Starts the MCP client session, optionally overriding the default timeout. ```APIDOC ## start() ### Description Starts the MCP client session, optionally overriding the default timeout. ### Parameters - **overrideDefaultTimeout** (Duration)? - An optional duration to override the default timeout. ### Returns McpResult - The result of the initialization process. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-sdk/org.http4k.ai.mcp.server.sse/-sse-sessions/start.html Starts an SSE session. You can provide a custom SimpleScheduler or use the default one. ```APIDOC ## start ### Description Starts an SSE session. You can provide a custom SimpleScheduler or use the default one. ### Function Signature `fun start(executor: SimpleScheduler = SimpleSchedulerService(1)): ScheduledFuture<*>` ### Parameters #### executor - **executor** (`SimpleScheduler`) - Optional - The scheduler to use for the SSE session. Defaults to `SimpleSchedulerService(1)`. ### Returns - `ScheduledFuture<*>` - A future representing the scheduled task. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-sdk/org.http4k.ai.mcp.server.websocket/-websocket-sessions/start.html Starts the WebSocket session management with an optional scheduler. ```APIDOC ## start ### Description Starts the WebSocket session management. This function can optionally take a `SimpleScheduler` to manage background tasks. ### Signature ```kotlin fun start(executor: SimpleScheduler = SimpleSchedulerService(1)): ScheduledFuture<*> ``` ### Parameters * **executor** (`SimpleScheduler`) - Optional. The scheduler to use for managing tasks. Defaults to `SimpleSchedulerService(1)`. ### Returns * `ScheduledFuture<*>` - A future representing the scheduled task. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-incubator-postbox/org.http4k.postbox.processing/-postbox-processing/index.html Starts the background process for PostboxProcessing. ```APIDOC ## start ### Description Starts the background polling and processing of requests from the Postbox. ### Method `fun start()` ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-platform-k8s/org.http4k.k8s/-http4k-k8s-server/start.html Starts the Http4kK8sServer. This function initiates the server, making it ready to handle incoming requests. ```APIDOC ## start ### Description Starts the Http4kK8sServer. This function initiates the server, making it ready to handle incoming requests. ### Method open override fun ### Signature start(): Http4kServer ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-incubator-db-postbox/org.http4k.postbox.processing/-default-execution-context/start.html Starts the execution of a given Runnable task. ```APIDOC ## start ### Description Starts the execution of a given Runnable task. ### Method open override fun ### Parameters #### Path Parameters - **runnable** (Runnable) - Description: The Runnable task to be executed. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-platform-k8s/org.http4k.k8s/-http4k-k8s-server/index.html Starts both the main and health HTTP servers managed by Http4kK8sServer. ```APIDOC ## start ### Description Starts both the main and health HTTP servers managed by Http4kK8sServer. ### Method `start` ### Endpoint N/A (Method call) ### Parameters None ### Request Example None ### Response #### Success Response (Http4kServer) Returns the Http4kServer instance after starting. ### Response Example None ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-testing/org.http4k.ai.mcp.apps/-mcp-apps/index.html Initiates the startup process for the MCP applications. ```APIDOC ## start ### Description Starts the MCP applications. ### Method fun start() ### Parameters None ``` -------------------------------- ### start() Source: https://github.com/http4k/api/blob/master/http4k-incubator-db/org.http4k.postbox.processing/-postbox-processing/start.html Initializes or starts the postbox processing mechanism. This function does not take any parameters. ```APIDOC ## start() ### Description Initializes or starts the postbox processing mechanism. ### Method fun ### Parameters This function does not accept any parameters. ### Source [org.http4k.postbox.processing.PostboxProcessing.start](https://github.com/http4k/http4k/tree/master/pro/incubator/db/src/main/kotlin/org/http4k/postbox/processing/Processing.kt#L62) ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-tools-hotreload/org.http4k.hotreload/-path-watcher/index.html Starts the path watching process. This method should be called to begin monitoring the specified paths. ```APIDOC ## start ### Description Starts the path watching process. This method should be called to begin monitoring the specified paths. ### Signature abstract fun start() ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-sdk/org.http4k.ai.mcp.server.http/-http-streaming-sessions/index.html Starts a background task for managing session keep-alives. ```APIDOC ## start ### Description Starts a background task for managing session keep-alives. ### Method `fun start(executor: SimpleScheduler = SimpleSchedulerService(1)): [ScheduledFuture](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ScheduledFuture.html)<*> ### Parameters * **executor** SimpleScheduler - The scheduler to use for the keep-alive task. Defaults to `SimpleSchedulerService(1)`. ### Response #### Success Response * **ScheduledFuture** ([ScheduledFuture](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ScheduledFuture.html)< *>) - A future representing the scheduled keep-alive task. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-incubator-db/org.http4k.postbox.processing/-execution-context/start.html Initiates the execution of a provided Runnable. ```APIDOC ## start ### Description Initiates the execution of a provided Runnable. ### Signature abstract fun start(runnable: Runnable) ### Parameters #### Path Parameters - **runnable** (Runnable) - The Runnable task to be executed. ``` -------------------------------- ### start(runnable: Runnable) Source: https://github.com/http4k/api/blob/master/http4k-incubator-db/org.http4k.postbox.processing/-default-execution-context/index.html Starts the execution context with a given Runnable task. ```APIDOC ## start(runnable: Runnable) ### Description Starts the execution context with a given Runnable task. ### Parameters #### Path Parameters - **runnable** (Runnable) - Required - The task to execute. ### Function Signature `open override fun start(runnable: Runnable)` ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-sdk/org.http4k.ai.mcp.server.http/-http-sessions/index.html Starts the session management service, potentially with a scheduler for background tasks. ```APIDOC ## start ### Description Starts the session management service, potentially with a scheduler for background tasks. ### Method `fun start(executor: SimpleScheduler = SimpleSchedulerService(1)): [ScheduledFuture](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ScheduledFuture.html)<*> ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-sdk/org.http4k.ai.mcp.server.sse/-sse-sessions/index.html Starts a background task for managing sessions, optionally using a provided scheduler. ```APIDOC ## start ### Description Initiates the session management background process. This can be configured with a specific scheduler. ### Method `fun start(executor: SimpleScheduler = SimpleSchedulerService(1)): [ScheduledFuture](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ScheduledFuture.html)<*> ``` -------------------------------- ### OkHttp Client Setup Source: https://github.com/http4k/api/blob/master/http4k-client-okhttp/navigation.html Demonstrates how to create an OkHttp client instance for http4k. ```APIDOC ## OkHttp Client Setup ### Description This section shows how to instantiate an http4k `OkHttp` client, which can then be used to make HTTP requests. ### Code ```kotlin import org.http4k.client.OkHttp val client = OkHttp.client() ``` ### Usage The `OkHttp.client()` function creates a default OkHttp client instance. This client can be directly used with http4k's `HttpHandler` interface. ``` -------------------------------- ### Custom OkHttp Client Setup Source: https://github.com/http4k/api/blob/master/http4k-client-okhttp/navigation.html Illustrates creating an OkHttp client with custom OkHttpClient configuration. ```APIDOC ## Custom OkHttp Client Setup ### Description Allows for the creation of an http4k `OkHttp` client with a pre-configured `OkHttpClient` instance, enabling fine-grained control over connection pooling, timeouts, and other network settings. ### Code ```kotlin import okhttp3.OkHttpClient import org.http4k.client.OkHttp val customOkHttpClient: OkHttpClient = OkHttpClient.Builder() .connectTimeout(10, java.util.concurrent.TimeUnit.SECONDS) .readTimeout(30, java.util.concurrent.TimeUnit.SECONDS) .build() val client = OkHttp.client(customOkHttpClient) ``` ### Usage By passing a custom `OkHttpClient` instance to `OkHttp.client()`, you can leverage OkHttp's extensive configuration options to tailor the client's behavior to your specific needs. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-server-jetty/org.http4k.server/-jetty-event-stream-handler/index.html Starts the event stream handler. ```APIDOC ## start ### Description Starts the event stream handler. ### Signature `fun start()` ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-sqs-fake/org.http4k.connect.amazon.sqs/main.html Initializes and returns an instance of the fake SQS service. ```APIDOC ## main() ### Description This function serves as the main entry point for the fake SQS service. It initializes and returns an instance that can be used for testing SQS interactions without a real AWS connection. ### Signature ```kotlin fun main(): SQS ``` ### Returns An instance of the fake SQS service. ``` -------------------------------- ### start() Source: https://github.com/http4k/api/blob/master/http4k-tools-hotreload/org.http4k.hotreload/-project-compiling-path-watcher/start.html Starts the project compiling path watcher. This function initiates the process of monitoring project files for changes and recompiling as needed for hot-reloading. ```APIDOC ## start() ### Description Starts the project compiling path watcher. This function initiates the process of monitoring project files for changes and recompiling as needed for hot-reloading. ### Method open override fun start() ### Source [source](https://github.com/http4k/http4k/tree/master/pro/tools/hotreload/src/main/kotlin/org/http4k/hotreload/ProjectCompilingPathWatcher.kt#L59) ``` -------------------------------- ### StartCommand Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-apprunner/org.http4k.connect.amazon.apprunner.action/-code-configuration-values/-start-command.html Represents the start command for an App Runner service. This is a string that specifies the command to run when the service starts. ```APIDOC ## StartCommand ### Description This field specifies the command that App Runner runs to start your application. ### Type String (nullable) ### Example ```kotlin val startCommand: String? = "python app.py" ``` ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-incubator-db/org.http4k.postbox.processing/-default-execution-context/start.html Executes the provided Runnable task. ```APIDOC ## start ### Description Executes the provided Runnable task. ### Method open override fun ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body - **runnable** (Runnable) - The task to be executed. ``` -------------------------------- ### Evidently Client Initialization Source: https://github.com/http4k/api/blob/master/http4k-platform-core/navigation.html Demonstrates how to initialize the Evidently client with basic configuration. ```APIDOC ## Initialize Evidently Client ### Description This shows how to create an instance of the Evidently client, which is the entry point for all interactions with the Amazon Evidently service. ### Code ```kotlin val client: Evidently = Http(region = eu_west_1) ``` ### Parameters * **region** (Region) - The AWS region to connect to. ``` -------------------------------- ### TransactGetItem Get Property Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-dynamodb/org.http4k.connect.amazon.dynamodb.model/-transact-get-item/index.html A property named 'Get' within the TransactGetItem companion object, likely representing a default or common Get operation. ```APIDOC ## val Get Link copied to clipboard val [Get](-get.html): [Map](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-map/index.html)<[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), [Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)? Represents a map of String to Any?, likely used for defining GET parameters or attributes. ``` -------------------------------- ### StartCommand Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-apprunner/org.http4k.connect.amazon.apprunner.action/-image-configuration/-start-command.html Represents the start command for an App Runner service's image configuration. This is a string that specifies the command to run when the container starts. ```APIDOC ## StartCommand ### Description This represents the command to be executed when the container starts. It's a nullable String. ### Type `String?` ### Source [https://github.com/http4k/http4k/tree/master/connect/amazon/apprunner/client/src/main/kotlin/org/http4k/connect/amazon/apprunner/action/CreateService.kt#L125](https://github.com/http4k/http4k/tree/master/connect/amazon/apprunner/client/src/main/kotlin/org/http4k/connect/amazon/apprunner/action/CreateService.kt#L125) ``` -------------------------------- ### clientToken Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-scheduler/org.http4k.connect.amazon.scheduler.action/-create-schedule-data/client-token.html A unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, the AWS SDKs use a random, unique value for each request. If you need to retry a request that failed because of a network error, you can use the same client token to avoid creating a duplicate resource. A client token can be any string that adheres to the constraints. For example, a GUID is a good choice. ```APIDOC ## clientToken ### Description A unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you don't specify a client token, the AWS SDKs use a random, unique value for each request. If you need to retry a request that failed because of a network error, you can use the same client token to avoid creating a duplicate resource. A client token can be any string that adheres to the constraints. For example, a GUID is a good choice. ### Type [ClientToken](../../org.http4k.connect.amazon.scheduler.model/-client-token/index.html) ``` -------------------------------- ### run Source: https://github.com/http4k/api/blob/master/http4k-server-jetty11/org.http4k.server/-jetty11-event-stream-emitter/index.html Starts the SSE stream processing. ```APIDOC ## run ### Description Executes the main logic for the SSE stream, typically responsible for sending initial messages or setting up the stream. ### Method `open override fun run()` ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-incubator-db/org.http4k.postbox.processing/-postbox-processing/index.html Starts the background processing of pending requests. ```APIDOC ## start ### Description Starts the background polling and processing of pending requests from the postbox. ### Method `fun start()` ``` -------------------------------- ### PathWatcher.start() Source: https://github.com/http4k/api/blob/master/http4k-tools-hotreload/org.http4k.hotreload/-path-watcher/start.html Starts the PathWatcher to monitor for file system changes. This is an abstract function, meaning concrete implementations will provide the actual logic for starting the watcher. ```APIDOC ## start() ### Description Starts the PathWatcher. This function is abstract and its implementation will define how the file system monitoring is initiated. ### Method Signature abstract fun start() ### Source [https://github.com/http4k/http4k/tree/master/pro/tools/hotreload/src/main/kotlin/org/http4k/hotreload/PathWatcher.kt#L17](https://github.com/http4k/http4k/tree/master/pro/tools/hotreload/src/main/kotlin/org/http4k/hotreload/PathWatcher.kt#L17) ``` -------------------------------- ### Cognito Client Initialization Source: https://github.com/http4k/api/blob/master/http4k-connect-ai-ollama/navigation.html Demonstrates how to create an instance of the Cognito client. ```APIDOC ## Http() ### Description Creates an http4k client for the Amazon Cognito service. ### Method `Http` ### Endpoint N/A (Client Initialization) ### Parameters None explicitly documented for initialization. ### Request Example ```kotlin val cognitoClient = Cognito.Http(awsRegion, awsCredentialsProvider) ``` ### Response N/A (Client Initialization) ``` -------------------------------- ### Get Constructor Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-dynamodb/org.http4k.connect.amazon.dynamodb.model/-get/-get.html Constructs a Get operation for DynamoDB. ```APIDOC ## Get constructor ### Description Constructs a Get operation for DynamoDB, specifying the table, key, and optional projection and expression attributes. ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **TableName** (TableName) - Required - The name of the table from which to retrieve the item. - **Key** (Key) - Required - The primary key of the item to retrieve. - **ProjectionExpression** (String?) - Optional - A string that identifies one or more attributes to get from the item. - **ExpressionAttributeNames** (TokensToNames?) - Optional - A map of the names of placeholders in an expression to the actual attribute names. ``` -------------------------------- ### SchemaNode Example Property Source: https://github.com/http4k/api/blob/master/http4k-api-jsonschema/org.http4k.contract.jsonschema/-schema-node/example.html The 'example' property of SchemaNode allows for providing an example value for a JSON schema node. This is useful for documentation and validation purposes. ```APIDOC ## val example: Any? ### Description Represents an example value for a JSON schema node. ### Type Any? (Nullable Any) ### Source [https://github.com/http4k/http4k/tree/master/core/api/jsonschema/src/main/kotlin/org/http4k/contract/jsonschema/model.kt#L14](https://github.com/http4k/http4k/tree/master/core/api/jsonschema/src/main/kotlin/org/http4k/contract/jsonschema/model.kt#L14) ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-instancemetadata-fake/org.http4k.connect.amazon.instancemetadata/main.html The main function serves as the entry point for the fake instance metadata service. It is used to initialize and start the service, typically for testing purposes. ```APIDOC ## main() ### Description Initializes and returns a fake instance metadata service. ### Function Signature `fun main(): FakeInstanceMetadataService` ``` -------------------------------- ### Installation Webhook Event Properties Source: https://github.com/http4k/api/blob/master/http4k-connect-github/org.http4k.connect.github.webhook/-webhook-event-type/installation/index.html The 'installation' event type provides details about GitHub app installations. It includes properties like 'name' and 'ordinal'. ```APIDOC ## Installation Webhook Event ### Description Represents an installation event from GitHub webhooks. ### Properties - **name** (String) - The name of the event. - **ordinal** (Int) - The ordinal value of the event. ``` -------------------------------- ### main Source: https://github.com/http4k/api/blob/master/http4k-connect-x402-fake/org.http4k.connect.x402/index.html Entry point for the fake X402 service. This function can be used to start or run the fake service. ```APIDOC ## Function main ### Description Provides an entry point to run or start the fake X402 service. This is typically used for setting up and launching the simulated environment. ### Signature `fun main()` ``` -------------------------------- ### Http4kServer start() Source: https://github.com/http4k/api/blob/master/http4k-core/org.http4k.server/-http4k-server/start.html Initiates the HTTP server. This is an abstract method that concrete implementations must provide. ```APIDOC ## start() ### Description Initiates the HTTP server. This is an abstract method that concrete implementations must provide. ### Method abstract fun ### Signature start(): Http4kServer ``` -------------------------------- ### get Source: https://github.com/http4k/api/blob/master/http4k-tools-traffic-capture/org.http4k.traffic/-source/get.html Abstract operator function to get a Response from a Request. ```APIDOC ## get ### Description Abstract operator function to retrieve a Response based on a Request. ### Signature `abstract operator fun get(request: Request): Response?` ### Parameters * `request` (Request) - The incoming HTTP request. ### Returns * `Response?` - The corresponding HTTP response, or null if not found. ``` -------------------------------- ### A2ATask Get Request Source: https://github.com/http4k/api/blob/master/http4k-ai-a2a-core/org.http4k.ai.a2a.protocol.messages/-a2-a-task/-get/index.html Represents a request to perform a 'Get' operation within the A2A task protocol. It includes parameters specific to the get operation and an optional ID. ```APIDOC ## Get Request ### Description Represents a JSON-RPC request for a 'Get' operation. ### Class `org.http4k.ai.a2a.protocol.messages.A2ATask.Get.Request` ### Polymorphic Label `"GetTask"` ### Properties - `params` (`A2ATask.Get.Request.Params`): Parameters specific to the Get request. - `id` (`Any?`): An optional identifier for the request. - `jsonrpc` (`String`): The JSON-RPC version, defaults to "2.0". ### Example ```json { "params": { ... }, "id": 1, "jsonrpc": "2.0" } ``` ``` -------------------------------- ### Jetty11 Server Configuration Source: https://github.com/http4k/api/blob/master/http4k-server-jetty11/navigation.html Demonstrates how to configure and start an HTTP server using the http4k-server-jetty11 module. ```APIDOC ## Jetty11 Server Configuration ### Description This section outlines the basic configuration for launching an HTTP server with Jetty 11. ### Usage Instantiate `Jetty11` with a port and an http4k `HttpHandler`. ### Code Example ```kotlin import org.http4k.server.Jetty11 import org.http4k.server.asServer import org.http4k.core.HttpHandler import org.http4k.core.Response import org.http4k.core.Status.Companion.OK import org.http4k.core.Method.GET import org.http4k.routing.bind import org.http4k.routing.routes val app: HttpHandler = routes( "/" bind GET to { request -> Response(OK).body("Hello, http4k!") } ) val server = Jetty11(9000).asServer(app) server.start() // To stop the server: // server.stop() ``` ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-client/org.http4k.ai.mcp.client/-mcp-client/start.html Initiates the Multi-Cloud Platform client. This function can optionally accept a Duration to override the default timeout for the operation. ```APIDOC ## start ### Description Initiates the Multi-Cloud Platform client. This function can optionally accept a Duration to override the default timeout for the operation. ### Signature abstract fun start(overrideDefaultTimeout: Duration? = null): McpResult ### Parameters #### Optional Parameters - **overrideDefaultTimeout** (Duration?) - An optional Duration to set a custom timeout for the client initialization. ### Returns - **McpResult** - The result of the initialization operation, which can be a success or failure. ``` -------------------------------- ### GET / Source: https://github.com/http4k/api/blob/master/http4k-bridge-micronaut/org.http4k.bridge/-micronaut-to-http4k-fallback-controller/get.html Handles GET requests to the root path, forwarding them to http4k. ```APIDOC ## GET / ### Description Handles GET requests to the root path, forwarding them to http4k. ### Method GET ### Endpoint / ### Parameters #### Request Body - **request** (HttpRequest) - Required - The incoming HTTP request. ### Response #### Success Response (200) - **HttpResponse** - The http4k response. ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-scheduler-fake/org.http4k.connect.amazon.scheduler/main.html Initializes and returns a fake Amazon Scheduler instance. ```APIDOC ## main() ### Description This function provides a fake implementation of the Amazon Scheduler API, allowing for testing and development without direct interaction with AWS. ### Signature fun main() ### Returns A fake Scheduler instance. ``` -------------------------------- ### McpTask Get Request Method Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-core/org.http4k.ai.mcp.protocol.messages/-mcp-task/-get/-request/method.html Exposes the McpRpcMethod for a Get Request. ```APIDOC ## method ### Description Exposes the McpRpcMethod for a Get Request. ### Method Signature `open override val method: McpRpcMethod` ### Type `McpRpcMethod` ``` -------------------------------- ### McpPrompt Get Request Method Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-core/org.http4k.ai.mcp.protocol.messages/-mcp-prompt/-get/-request/method.html Exposes the McpRpcMethod for the Get request. ```APIDOC ## method ### Description Exposes the McpRpcMethod for the Get request. ### Method Signature `open override val method: McpRpcMethod` ``` -------------------------------- ### toServer Source: https://github.com/http4k/api/blob/master/http4k-server-websocket/org.http4k.server.websocket/-java-web-socket/to-server.html Starts an HTTP server with optional WebSocket and SSE handlers. ```APIDOC ## toServer ### Description Starts an HTTP server with optional WebSocket and SSE handlers. ### Method open override fun ### Signature toServer(http: HttpHandler?, ws: WsHandler?, sse: SseHandler?): Http4kServer ### Parameters #### Optional Parameters - **http** (HttpHandler?) - An optional HttpHandler for standard HTTP requests. - **ws** (WsHandler?) - An optional WsHandler for WebSocket connections. - **sse** (SseHandler?) - An optional SseHandler for Server-Sent Events. ### Returns An Http4kServer instance that can be started and stopped. ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-kms-fake/org.http4k.connect.amazon.kms/main.html The main function serves as the entry point for the fake KMS service. It initializes and starts the fake KMS server. ```APIDOC ## main() ### Description Initializes and starts the fake AWS KMS service. ### Signature `fun main()` ### Source [https://github.com/http4k/http4k/tree/master/connect/amazon/kms/fake/src/main/kotlin/org/http4k/connect/amazon/kms/FakeKMS.kt#L41](https://github.com/http4k/http4k/tree/master/connect/amazon/kms/fake/src/main/kotlin/org/http4k/connect/amazon/kms/FakeKMS.kt#L41) ``` -------------------------------- ### McpTask Get Request Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-core/org.http4k.ai.mcp.protocol.messages/-mcp-task/-get/index.html Represents a request to perform a 'get' operation within the McpTask protocol. It includes parameters specific to the get operation, an optional ID, and the JSON-RPC version. ```APIDOC ## McpTask.Get.Request ### Description Represents a request to perform a 'get' operation within the McpTask protocol. It includes parameters specific to the get operation, an optional ID, and the JSON-RPC version. ### Class Definition ```kotlin @JsonSerializable @PolymorphicLabel(value = "tasks/get") data class Request( val params: McpTask.Get.Request.Params, val id: Any? = null, val jsonrpc: String = "2.0" ) : McpJsonRpcRequest ``` ### Fields * **params** (McpTask.Get.Request.Params) - The parameters required for the get operation. * **id** (Any?) - An optional identifier for the request. * **jsonrpc** (String) - The JSON-RPC version, defaults to "2.0". ``` -------------------------------- ### asServer() Source: https://github.com/http4k/api/blob/master/http4k-web-datastar/navigation.html Initializes an object as an MCP server. ```APIDOC ## asServer() ### Description Initializes an object as an MCP server, making its capabilities available. ### Method Function ### Endpoint N/A (SDK function) ### Parameters None explicitly documented. ### Request Example N/A ### Response N/A ``` -------------------------------- ### Evidently Client Initialization Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-evidently/navigation.html Demonstrates how to initialize the Evidently client with an HTTP client. ```APIDOC ## Initialize Evidently Client ### Description Instantiates an Evidently client using a provided http4k HTTP client. ### Code ```kotlin val client: Evidently = Evidently.Http(baseUrl = "https://evidently.us-east-1.amazonaws.com", httpClient = ApacheHttpClient()) ``` ``` -------------------------------- ### main Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-lambda-fake/org.http4k.connect.amazon.lambda/main.html Initializes and returns a fake Lambda service. This is the primary entry point for using the fake Lambda API. ```APIDOC ## main ### Description Initializes and returns a fake Lambda service. This is the primary entry point for using the fake Lambda API. ### Function Signature `fun main(): LambdaService` ### Returns A `LambdaService` instance representing the fake Lambda environment. ``` -------------------------------- ### invoke (get value) Source: https://github.com/http4k/api/blob/master/http4k-core/org.http4k.lens/-bi-di-path-lens/index.html Lens operation to get the value from the target Request. ```APIDOC ## invoke (get value) ### Description Lens operation to get the value from the target Request. ### Method `operator override fun invoke(target: Request): FINAL` ### Parameters - `target` (Request) - The target Request to extract the value from. ### Returns - FINAL - The extracted value. ``` -------------------------------- ### main Source: https://github.com/http4k/api/blob/master/http4k-connect-ai-lmstudio-fake/org.http4k.connect.lmstudio/main.html The main function serves as the entry point for the fake LM Studio integration. It initializes and potentially starts the fake service. ```APIDOC ## main() ### Description This is the main function for the fake LM Studio integration. It is the primary entry point for users to interact with the fake service. ### Signature `fun main()` ### Source [source](https://github.com/http4k/http4k/tree/master/connect/ai/lmstudio/fake/src/main/kotlin/org/http4k/connect/lmstudio/FakeLmStudio.kt#L30) ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-kafka-schemaregistry-fake/org.http4k.connect.kafka.schemaregistry/main.html The main function serves as the entry point for the fake Schema Registry. It initializes and provides access to the fake implementation. ```APIDOC ## main() ### Description Initializes and returns an instance of the fake Schema Registry. ### Signature `fun main(): FakeSchemaRegistry` ``` -------------------------------- ### GET /{path} Source: https://github.com/http4k/api/blob/master/http4k-bridge-micronaut/org.http4k.bridge/-micronaut-to-http4k-fallback-controller/get.html Handles GET requests to a specific path, forwarding them to http4k. ```APIDOC ## GET /{path} ### Description Handles GET requests to a specific path, forwarding them to http4k. ### Method GET ### Endpoint `/{path}` ### Parameters #### Path Parameters - **path** (String) - Required - The path segment of the URL. #### Request Body - **request** (HttpRequest) - Required - The incoming HTTP request. ### Response #### Success Response (200) - **HttpResponse** - The http4k response. ``` -------------------------------- ### HTTP GET Method Source: https://github.com/http4k/api/blob/master/http4k-bridge-jakarta/org.http4k.bridge/-jakarta-to-http4k-resource/index.html Handles GET requests, converting them to http4k Responses. ```APIDOC ## GET /{. it} ### Description Handles incoming HTTP GET requests by converting them into an http4k `Response`. ### Method `GET` ### Endpoint `/{.*}` ### Parameters #### Context Parameters - `@Context req`: The Jakarta Servlet `Request` object. - `@Context uri`: The `UriInfo` object containing URI details. - `@Context headers`: The `HttpHeaders` object. #### Input Stream - `input` (`InputStream`): The request body as an input stream. ### Response #### Success Response - `Response?`: An http4k `Response` object, or null if not handled. ``` -------------------------------- ### main Source: https://github.com/http4k/api/blob/master/http4k-connect-ai-ollama-fake/org.http4k.connect.ollama/main.html The main function initializes and starts the fake Ollama service. ```APIDOC ## main ### Description Initializes and starts the fake Ollama service. ### Signature `fun main()` ### Source [source](https://github.com/http4k/http4k/tree/master/connect/ai/ollama/fake/src/main/kotlin/org/http4k/connect/ollama/FakeOllama.kt#L33) ``` -------------------------------- ### defaultBootstrap Source: https://github.com/http4k/api/blob/master/http4k-server-apache/org.http4k.server/default-bootstrap.html Starts an http4k server with the Apache backend, listening on the specified port and handling requests with the provided HttpHandler. ```APIDOC ## defaultBootstrap ### Description Starts an http4k server with the Apache backend, listening on the specified port and handling requests with the provided HttpHandler. ### Function Signature `defaultBootstrap(port: Int, http: HttpHandler, canonicalHostname: String): ServerBootstrap` ### Parameters * **port** (Int) - The port number to listen on. * **http** (HttpHandler) - The HttpHandler to process incoming requests. * **canonicalHostname** (String) - The canonical hostname for the server. ``` -------------------------------- ### A2ATask Get Request Params Source: https://github.com/http4k/api/blob/master/http4k-ai-a2a-core/org.http4k.ai.a2a.protocol.messages/-a2-a-task/-get/-request/params.html Exposes the parameters for the A2ATask Get Request. ```APIDOC ## val params ### Description Exposes the parameters for the A2ATask Get Request. ### Type [A2ATask.Get.Request.Params](-params/index.html) ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-core/org.http4k.core/-protocol-transaction/start.html Abstract property representing the start time of a protocol transaction. It returns an Instant. ```APIDOC ## start ### Description Abstract property representing the start time of a protocol transaction. It returns an `Instant`. ### Property `abstract val start: Instant` ### Source [source](https://github.com/http4k/http4k/tree/master/core/core/src/main/kotlin/org/http4k/core/ProtocolTransaction.kt#L12) ``` -------------------------------- ### Serve Static Files with http4k Source: https://context7.com/http4k/api/llms.txt Demonstrates serving static assets from the classpath or filesystem using `static()`. It also shows how to combine static file serving with API routes and how to configure a single-page application fallback. ```kotlin import org.http4k.core.* import org.http4k.core.Method.GET import org.http4k.routing.* // Serve from classpath (resources/public/) val classpathAssets: RoutingHttpHandler = static(ResourceLoader.Classpath("/public")) // Serve from filesystem val filesystemAssets: RoutingHttpHandler = static(ResourceLoader.Directory("./dist")) // Combine with API routes val app = routes( "/api" bind routes( "/ping" bind GET to { _: Request -> Response(Status.OK).body("pong") } ), // Serve everything else from public assets static(ResourceLoader.Classpath("/public")) ) // Single Page App — fallback to index.html for unmatched paths val spa = singlePageApp(ResourceLoader.Classpath("/public")) ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-cloudfront-fake/org.http4k.connect.amazon.cloudfront/main.html The main function serves as the entry point for the fake CloudFront service. It initializes and returns an instance of the fake CloudFront API. ```APIDOC ## main() ### Description Initializes and returns a fake CloudFront service instance. ### Signature `fun main(): CloudFront` ### Returns A `CloudFront` instance representing the fake service. ``` -------------------------------- ### Cognito Client Initialization Source: https://github.com/http4k/api/blob/master/http4k-ai-core/navigation.html Demonstrates how to create an instance of the Cognito client using the http4k library. ```APIDOC ## Http() ### Description Instantiates a new Cognito client. ### Code ```kotlin val cognito = Http() ``` ``` -------------------------------- ### GET Method Properties Source: https://github.com/http4k/api/blob/master/http4k-core/org.http4k.core/-method/-g-e-t/index.html The GET method object has properties for its name and ordinal value. ```APIDOC ## GET ### Description Represents the HTTP GET method. ### Properties - **name** (String): The name of the HTTP method. - **ordinal** (Int): The ordinal value of the HTTP method. ``` -------------------------------- ### Cognito Client Initialization Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-lambda/navigation.html Demonstrates how to create an instance of the Cognito client using the http4k connect library. ```APIDOC ## Http() ### Description Creates an instance of the Cognito HTTP client. ### Method `Http` constructor ### Parameters None explicitly mentioned in the provided text. ### Request Example ```kotlin val cognitoClient = Http() ``` ### Response An instance of the Cognito client. ``` -------------------------------- ### get Source: https://github.com/http4k/api/blob/master/http4k-connect-github/org.http4k.connect.github.app/-paged-git-hub-app-action/index.html A generic function to get the next page of results from a target, returning a Uri. ```APIDOC operator fun get(target: R): Uri? ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-client/org.http4k.ai.mcp.client/-abstract-mcp-client/start.html Initiates the AbstractMcpClient. This function can optionally accept a Duration to override the default timeout. ```APIDOC ## start ### Description Initiates the AbstractMcpClient. This function can optionally accept a Duration to override the default timeout. ### Signature `open override fun start(overrideDefaultTimeout: Duration? = null): McpResult` ### Parameters #### Optional Parameters - **overrideDefaultTimeout** (Duration) - An optional duration to override the default timeout. ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-cloudwatch-fake/org.http4k.connect.amazon.cloudwatch/main.html The main function to initialize and run the fake CloudWatch service. ```APIDOC ## main() ### Description Initializes and returns a fake CloudWatch service. ### Function Signature `fun main()` ### Source [source](https://github.com/http4k/http4k/tree/master/connect/amazon/cloudwatch/fake/src/main/kotlin/org/http4k/connect/amazon/cloudwatch/FakeCloudWatch.kt#L108) ``` -------------------------------- ### HTTP GET Operations Source: https://github.com/http4k/api/blob/master/http4k-bridge-micronaut/org.http4k.bridge/-micronaut-to-http4k-fallback-controller/index.html Handles GET requests to the root path or a path with parameters. ```APIDOC ## GET / ### Description Handles GET requests to the root path. ### Method GET ### Endpoint / ### Request Body - request (HttpRequest) - The incoming HTTP request. ### Response #### Success Response (200) - HttpResponse - The HTTP response. ## GET /{path} ### Description Handles GET requests to a dynamic path. ### Method GET ### Endpoint /{path} ### Parameters #### Path Parameters - path (String) - Required - The path to retrieve. ### Request Body - request (HttpRequest) - The incoming HTTP request. ### Response #### Success Response (200) - HttpResponse - The HTTP response. ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-conformance/org.http4k.ai.mcp.conformance.server/main.html The main function serves as the entry point for the http4k AI MCP Conformance server. It initializes and starts the server. ```APIDOC ## main() ### Description This is the main function to start the http4k AI MCP Conformance server. ### Signature ```kotlin fun main() ``` ### Source [https://github.com/http4k/http4k/tree/master/pro/ai/mcp/conformance/src/main/kotlin/org/http4k/ai/mcp/conformance/server/McpConformanceServer.kt#L57](https://github.com/http4k/http4k/tree/master/pro/ai/mcp/conformance/src/main/kotlin/org/http4k/ai/mcp/conformance/server/McpConformanceServer.kt#L57) ``` -------------------------------- ### get Function Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-sdk/org.http4k.ai.mcp.server.capability/-server-prompts/index.html Handles a GET request for a prompt, interacting with the client and HTTP request. ```APIDOC ## get Function ### Description Handles a GET request for a prompt, interacting with the client and HTTP request. ### Signature open override fun get(req: McpPrompt.Get.Request, client: Client, http: Request): McpPrompt.Get.Response ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-ai-openai-fake/org.http4k.connect.openai/main.html The main function serves as the entry point for the fake OpenAI API. It initializes and returns an instance that can be used to simulate OpenAI API calls. ```APIDOC ## main() ### Description Initializes and returns a fake OpenAI API instance. ### Signature `fun main(): HttpHandler` ### Source [https://github.com/http4k/http4k/tree/master/connect/ai/openai/fake/src/main/kotlin/org/http4k/connect/openai/FakeOpenAI.kt#L45](https://github.com/http4k/http4k/tree/master/connect/ai/openai/fake/src/main/kotlin/org/http4k/connect/openai/FakeOpenAI.kt#L45) ``` -------------------------------- ### OAuth Server Authentication Start Filter Source: https://github.com/http4k/api/blob/master/http4k-security-oauth/org.http4k.security.oauth.server/-o-auth-server/index.html A filter that initiates or manages the start of an authentication process. ```APIDOC ## val authenticationStart ### Description A filter that is applied at the beginning of an authentication flow. It likely handles initial requests, session management, or redirects related to starting the OAuth authorization process. ### Type `Filter` ``` -------------------------------- ### S3Bucket.Http (from System Environment) Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-s3/org.http4k.connect.amazon.s3/-http.html Creates an S3Bucket client using system environment variables for configuration. This is a convenience function for quick setup. ```APIDOC ## S3Bucket.Http (from System Environment) ### Description Convenience function to create a S3Bucket client using system environment variables for configuration. ### Method Signature ```kotlin fun S3Bucket.Companion.Http( bucketName: BucketName, bucketRegion: Region, env: Map = System.getenv(), http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), payloadMode: Payload.Mode = Payload.Mode.Signed, overrideEndpoint: Uri? = null, forcePathStyle: Boolean = false, credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env) ): S3Bucket ``` ### Parameters * `bucketName` (BucketName) - The name of the S3 bucket. * `bucketRegion` (Region) - The AWS region of the S3 bucket. * `env` (Map) - Optional. Environment variables to use for configuration. Defaults to `System.getenv()`. * `http` (HttpHandler) - Optional. The HTTP handler to use for making requests. Defaults to `JavaHttpClient()`. * `clock` (Clock) - Optional. The clock to use for signing requests. Defaults to `Clock.systemUTC()`. * `payloadMode` (Payload.Mode) - Optional. The mode for payload signing. Defaults to `Payload.Mode.Signed`. * `overrideEndpoint` (Uri?) - Optional. An alternative endpoint URI to use. * `forcePathStyle` (Boolean) - Optional. Forces the use of path-style access for endpoints. Defaults to `false`. * `credentialsProvider` (CredentialsProvider) - Optional. The provider for AWS credentials. Defaults to `CredentialsProvider.Environment(env)`. ``` -------------------------------- ### start Source: https://github.com/http4k/api/blob/master/http4k-ai-mcp-sdk/org.http4k.ai.mcp.server.websocket/-websocket-sessions/index.html Starts a background task for managing WebSocket sessions, typically for keep-alive or other periodic operations. ```APIDOC ## start ### Description Initiates a scheduled task for managing WebSocket sessions, such as handling keep-alives. ### Method `fun start(executor: SimpleScheduler = SimpleSchedulerService(1)): [ScheduledFuture](https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/concurrent/ScheduledFuture.html)<\* ### Parameters * **executor** (SimpleScheduler) - The scheduler to use for background tasks. Defaults to `SimpleSchedulerService(1)`. ``` -------------------------------- ### Cognito Client Initialization Source: https://github.com/http4k/api/blob/master/http4k-ai-llm-azure/navigation.html Demonstrates how to create an instance of the Cognito client using an HttpHandler. ```APIDOC ## Http() ### Description Initializes the Cognito client with a provided HttpHandler. ### Method `Http(handler: HttpHandler)` ### Parameters - **handler** (HttpHandler) - The HttpHandler to use for making requests. ``` -------------------------------- ### main() Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-sts-fake/org.http4k.connect.amazon.sts/main.html The main function serves as the entry point for the fake STS service. It initializes and returns an instance of the fake STS service. ```APIDOC ## main() ### Description Initializes and returns a fake STS service instance. ### Signature `fun main()()` ### Source [https://github.com/http4k/http4k/tree/master/connect/amazon/sts/fake/src/main/kotlin/org/http4k/connect/amazon/sts/FakeSTS.kt#L35](https://github.com/http4k/http4k/tree/master/connect/amazon/sts/fake/src/main/kotlin/org/http4k/connect/amazon/sts/FakeSTS.kt#L35) ``` -------------------------------- ### Get Object Source: https://github.com/http4k/api/blob/master/http4k-connect-amazon-dynamodb/org.http4k.connect.amazon.dynamodb.model/-transact-get-item/-get.html Represents a 'Get' operation within a TransactGetItem request. It's a map from String to Any?. ```APIDOC ## Get Object ### Description Represents a 'Get' operation within a TransactGetItem request. It's a map from String to Any?. ### Type Map ### Source [source](https://github.com/http4k/http4k/tree/master/connect/amazon/dynamodb/client/src/main/kotlin/org/http4k/connect/amazon/dynamodb/model/TransactGetItem.kt#L7) ``` -------------------------------- ### get Source: https://github.com/http4k/api/blob/master/http4k-bridge-jakarta/org.http4k.bridge/-jakarta-to-http4k-resource/get.html Handles GET requests by converting Jakarta Servlet API objects to http4k types. ```APIDOC ## GET get ### Description Handles GET requests by converting Jakarta Servlet API objects to http4k types. ### Method GET ### Endpoint / ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **response** (Response?) - The http4k Response object. #### Response Example None ```