Package com.soklet.annotation
package com.soklet.annotation
Annotations applicable to Resource Methods and their parameters.
These are documented in detail at https://www.soklet.com/docs/request-handling.
- Author:
- Mark Allen
-
Annotation InterfacesClassDescriptionApply to Resource Methods to support the HTTP
DELETEmethod.Allows multipleDELETEannotations to be applied to the same Resource Method.Apply to Resource Method parameters to enable HTML form parameter injection.Apply to Resource Methods to support the HTTPGETmethod.Allows multipleGETannotations to be applied to the same Resource Method.Apply to Resource Methods to support the HTTPHEADmethod.Allows multipleHEADannotations to be applied to the same Resource Method.Applies to MCP handler method parameters that should be bound from the incoming MCPargumentsobject.Applies to MCP handler method parameters that should be bound from the resolved endpoint path.Applies to a method that providesresources/listresults for an MCP endpoint.Applies to methods that expose an MCP prompt.Applies to methods that expose an MCP resource.Applies to classes that expose an MCP endpoint.Applies to methods that expose an MCP tool.Applies to MCP resource handler method parameters that should be bound from a resource URI template.Apply to Resource Method parameters to enable HTML multipart form parameter injection.Apply to Resource Methods to support the HTTPOPTIONSmethod.Allows multipleOPTIONSannotations to be applied to the same Resource Method.Apply to Resource Methods to support the HTTPPATCHmethod.Allows multiplePATCHannotations to be applied to the same Resource Method.Apply to Resource Method parameters to enable URL path parameter (for example,/widgets/{widgetId}) injection.Apply to Resource Methods to support the HTTPPOSTmethod.Allows multiplePOSTannotations to be applied to the same Resource Method.Apply to Resource Methods to support the HTTPPUTmethod.Allows multiplePUTannotations to be applied to the same Resource Method.Apply to Resource Method parameters to enable HTTP query parameter injection.Apply to Resource Method parameters to enable HTTP request body injection.Apply to Resource Method parameters to enable HTTP request cookie injection.Apply to Resource Method parameters to enable HTTP request header injection.Apply to Resource Methods to make them function as Server-Sent Event Sources.Allows multipleSseEventSourceannotations to be applied to the same Resource Method.