Package io.quarkiverse.mcp.server.test
Interface McpAssured.McpSseAssert
- All Superinterfaces:
McpAssured.McpAssert<McpAssured.McpSseAssert>
- Enclosing class:
- McpAssured
public static interface McpAssured.McpSseAssert
extends McpAssured.McpAssert<McpAssured.McpSseAssert>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkiverse.mcp.server.test.McpAssured.McpAssert
McpAssured.McpAssert.GenericMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.PingMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.PromptsCompleteMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.PromptsGetMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.PromptsListMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.ResourcesListMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.ResourcesReadMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.ResourcesTemplatesListMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.ResourceTemplateCompleteMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.ToolsCallMessage<ASSERT extends McpAssured.McpAssert<ASSERT>>, McpAssured.McpAssert.ToolsListMessage<ASSERT extends McpAssured.McpAssert<ASSERT>> -
Method Summary
Modifier and TypeMethodDescriptionThe header is used for subsequent HTTP requests in this group.addHeaders(io.vertx.core.MultiMap additionalHeaders) The headers are used for subsequent HTTP requests in this group.Use basic authentication for subsequent HTTP requests in this group.Do not use basic authentication for subsequent HTTP requests in this group.validateHttpResponse(Consumer<McpAssured.HttpResponse> validator) Use a custom HTTP response validator for subsequent HTTP requests in this group.Methods inherited from interface io.quarkiverse.mcp.server.test.McpAssured.McpAssert
message, ping, pingPong, promptComplete, promptComplete, promptsGet, promptsGet, promptsGet, promptsList, promptsList, resourcesList, resourcesList, resourcesRead, resourcesRead, resourcesTemplatesList, resourcesTemplatesList, resourceTemplateComplete, resourceTemplateComplete, thenAssertResults, toolsCall, toolsCall, toolsCall, toolsList, toolsList
-
Method Details
-
addHeader
The header is used for subsequent HTTP requests in this group.- Parameters:
name-value-- Returns:
- self
-
addHeaders
The headers are used for subsequent HTTP requests in this group.- Parameters:
additionalHeaders-- Returns:
- self
-
validateHttpResponse
Use a custom HTTP response validator for subsequent HTTP requests in this group.By default, an HTTP status code of value
200must be returned.- Parameters:
validator-- Returns:
- self
-
basicAuth
Use basic authentication for subsequent HTTP requests in this group.- Parameters:
username-password-- Returns:
- self
-
noBasicAuth
McpAssured.McpSseAssert noBasicAuth()Do not use basic authentication for subsequent HTTP requests in this group.- Returns:
- self
-