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
ConstructorsModifierConstructorDescriptionprotected
HttpAnnotatedImpl
(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).boolean
int
hashCode()
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, type
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:HttpAnnotated
List of produced media types (from server endpoint point of view).- Specified by:
produces
in interfaceHttpAnnotated
- Returns:
- media types
-
consumes
Description copied from interface:HttpAnnotated
List of consumed media types (from server endpoint point of view).- Specified by:
consumes
in interfaceHttpAnnotated
- Returns:
- media types
-
headers
Description copied from interface:HttpAnnotated
List of configured header values.- Specified by:
headers
in interfaceHttpAnnotated
- Returns:
- header values
-
computedHeaders
Description copied from interface:HttpAnnotated
List of computed header values.- Specified by:
computedHeaders
in interfaceHttpAnnotated
- Returns:
- computed header values
-
path
Description copied from interface:HttpAnnotated
Path of the endpoint/method (optional).- Specified by:
path
in interfaceHttpAnnotated
- Returns:
- endpoint/method path
-
toString
- Overrides:
toString
in classModelElement.BuilderBase.ModelElementImpl
-
equals
- Overrides:
equals
in classModelElement.BuilderBase.ModelElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classModelElement.BuilderBase.ModelElementImpl
-