Class HttpAnnotated.BuilderBase.HttpAnnotatedImpl
java.lang.Object
io.helidon.declarative.codegen.model.http.ModelElement.BuilderBase.ModelElementImpl
io.helidon.declarative.codegen.model.http.HttpAnnotated.BuilderBase.HttpAnnotatedImpl
- All Implemented Interfaces:
Prototype.Api,HttpAnnotated,ModelElement
- Direct Known Subclasses:
RestEndpoint.BuilderBase.RestEndpointImpl,RestMethod.BuilderBase.RestMethodImpl
- Enclosing class:
HttpAnnotated.BuilderBase<BUILDER extends HttpAnnotated.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends HttpAnnotated>
protected static class HttpAnnotated.BuilderBase.HttpAnnotatedImpl
extends ModelElement.BuilderBase.ModelElementImpl
implements HttpAnnotated
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.declarative.codegen.model.http.HttpAnnotated
HttpAnnotated.Builder, HttpAnnotated.BuilderBase<BUILDER extends HttpAnnotated.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends HttpAnnotated> Nested classes/interfaces inherited from interface io.helidon.declarative.codegen.model.http.ModelElement
ModelElement.Builder, ModelElement.BuilderBase<BUILDER extends ModelElement.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ModelElement> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpAnnotatedImpl(HttpAnnotated.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionList of computed header values.consumes()List of consumed media types (from server endpoint point of view).booleaninthashCode()headers()List of configured header values.path()Path of the endpoint/method (optional).produces()List of produced media types (from server endpoint point of view).toString()Methods inherited from class io.helidon.declarative.codegen.model.http.ModelElement.BuilderBase.ModelElementImpl
annotations, typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.declarative.codegen.model.http.ModelElement
annotations, type
-
Constructor Details
-
HttpAnnotatedImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
produces
Description copied from interface:HttpAnnotatedList of produced media types (from server endpoint point of view).- Specified by:
producesin interfaceHttpAnnotated- Returns:
- media types
-
consumes
Description copied from interface:HttpAnnotatedList of consumed media types (from server endpoint point of view).- Specified by:
consumesin interfaceHttpAnnotated- Returns:
- media types
-
headers
Description copied from interface:HttpAnnotatedList of configured header values.- Specified by:
headersin interfaceHttpAnnotated- Returns:
- header values
-
computedHeaders
Description copied from interface:HttpAnnotatedList of computed header values.- Specified by:
computedHeadersin interfaceHttpAnnotated- Returns:
- computed header values
-
path
Description copied from interface:HttpAnnotatedPath of the endpoint/method (optional).- Specified by:
pathin interfaceHttpAnnotated- Returns:
- endpoint/method path
-
toString
- Overrides:
toStringin classModelElement.BuilderBase.ModelElementImpl
-
equals
- Overrides:
equalsin classModelElement.BuilderBase.ModelElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classModelElement.BuilderBase.ModelElementImpl
-