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
-
ClassDescriptionApply to Resource Methods to support the HTTP
DELETE
method.Allows multipleDELETE
annotations 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 HTTPGET
method.Allows multipleGET
annotations to be applied to the same Resource Method.Apply to Resource Methods to support the HTTPHEAD
method.Allows multipleHEAD
annotations to be applied to the same Resource Method.Apply to Resource Method parameters to enable HTML multipart form parameter injection.Apply to Resource Methods to support the HTTPOPTIONS
method.Allows multipleOPTIONS
annotations to be applied to the same Resource Method.Apply to Resource Methods to support the HTTPPATCH
method.Allows multiplePATCH
annotations 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 HTTPPOST
method.Allows multiplePOST
annotations to be applied to the same Resource Method.Apply to Resource Methods to support the HTTPPUT
method.Allows multiplePUT
annotations 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.This annotation must be present on a class for Resource Methods to be detected.Apply to Resource Methods to make them function as Server-Sent Event Sources.Allows multipleServerSentEventSource
annotations to be applied to the same Resource Method.Soklet's standard Annotation Processor which is used to generate lookup tables of Resource Method definitions at compile time.