Package io.helidon.nima.http.processor
Class HttpMethodCreator
java.lang.Object
io.helidon.nima.http.processor.HttpMethodCreator
- All Implemented Interfaces:
CustomAnnotationTemplateCreator
Annotation processor that generates a service for each method annotated with an HTTP method annotation.
Service provider implementation of a
CustomAnnotationTemplateCreator.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static classDeprecated.static classDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThese are the set of annotation types that will trigger a call this producer.create(CustomAnnotationTemplateRequest request) The implementor should return empty if the request should not be handled.
-
Constructor Details
-
HttpMethodCreator
public HttpMethodCreator()Default constructor used by theServiceLoader.
-
-
Method Details
-
annoTypes
Description copied from interface:CustomAnnotationTemplateCreatorThese are the set of annotation types that will trigger a call this producer.- Specified by:
annoTypesin interfaceCustomAnnotationTemplateCreator- Returns:
- the supported annotation types for this producer
-
create
Description copied from interface:CustomAnnotationTemplateCreatorThe implementor should return empty if the request should not be handled.- Specified by:
createin interfaceCustomAnnotationTemplateCreator- Parameters:
request- the request- Returns:
- the response that will describe what template to produce, or empty to to cause processing to skip
-