Class ServerEndpoint.BuilderBase.ServerEndpointImpl
java.lang.Object
io.helidon.declarative.codegen.model.http.ModelElement.BuilderBase.ModelElementImpl
io.helidon.declarative.codegen.model.http.HttpAnnotated.BuilderBase.HttpAnnotatedImpl
io.helidon.declarative.codegen.model.http.RestEndpoint.BuilderBase.RestEndpointImpl
io.helidon.declarative.codegen.model.http.ServerEndpoint.BuilderBase.ServerEndpointImpl
- All Implemented Interfaces:
Prototype.Api, HttpAnnotated, ModelElement, RestEndpoint, ServerEndpoint
- Enclosing class:
ServerEndpoint.BuilderBase<BUILDER extends ServerEndpoint.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ServerEndpoint>
protected static class ServerEndpoint.BuilderBase.ServerEndpointImpl
extends RestEndpoint.BuilderBase.RestEndpointImpl
implements ServerEndpoint
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface HttpAnnotated
HttpAnnotated.Builder, HttpAnnotated.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forHttpAnnotated.static classHttpAnnotated.BuilderBase<BUILDER extends HttpAnnotated.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends HttpAnnotated>Fluent API builder base forHttpAnnotated.Nested classes/interfaces inherited from interface ModelElement
ModelElement.Builder, ModelElement.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forModelElement.static classModelElement.BuilderBase<BUILDER extends ModelElement.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ModelElement>Fluent API builder base forModelElement.Nested classes/interfaces inherited from interface RestEndpoint
RestEndpoint.Builder, RestEndpoint.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forRestEndpoint.static classRestEndpoint.BuilderBase<BUILDER extends RestEndpoint.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends RestEndpoint>Fluent API builder base forRestEndpoint.Nested classes/interfaces inherited from interface ServerEndpoint
ServerEndpoint.Builder, ServerEndpoint.BuilderBase<BUILDER, PROTOTYPE>Modifier and TypeInterfaceDescriptionstatic classFluent API builder forServerEndpoint.static classServerEndpoint.BuilderBase<BUILDER extends ServerEndpoint.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends ServerEndpoint>Fluent API builder base forServerEndpoint. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedServerEndpointImpl(ServerEndpoint.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class RestEndpoint.BuilderBase.RestEndpointImpl
methodsMethods inherited from class HttpAnnotated.BuilderBase.HttpAnnotatedImpl
computedHeaders, consumes, headers, path, producesModifier and TypeMethodDescriptionList of computed header values.consumes()List of consumed media types (from server endpoint point of view).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).Methods inherited from class ModelElement.BuilderBase.ModelElementImpl
annotations, typeModifier and TypeMethodDescriptionAll annotations on this element, and inherited from supertype/interface and annotations.type()Type of this element.
-
Constructor Details
-
ServerEndpointImpl
Create an instance providing a builder.- Parameters:
builder- extending builder base of this prototype
-
-
Method Details
-
listener
Description copied from interface:ServerEndpointListener name (optional).- Specified by:
listenerin interfaceServerEndpoint- Returns:
- listener this endpoint should be assigned to
-
listenerRequired
public boolean listenerRequired()Description copied from interface:ServerEndpointWhether the listener must be defined on the server or not. If required, server will fail to start if the listener is not configured.- Specified by:
listenerRequiredin interfaceServerEndpoint- Returns:
- whether the listener is required, defaults to
false
-
toString
- Overrides:
toStringin classRestEndpoint.BuilderBase.RestEndpointImpl
-
equals
- Overrides:
equalsin classRestEndpoint.BuilderBase.RestEndpointImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classRestEndpoint.BuilderBase.RestEndpointImpl
-