All Superinterfaces:
Prototype.Api
All Known Subinterfaces:
ClientEndpoint, HttpAnnotated, RestEndpoint, RestMethod, RestMethodParameter, ServerEndpoint
All Known Implementing Classes:
ClientEndpoint.BuilderBase.ClientEndpointImpl, HttpAnnotated.BuilderBase.HttpAnnotatedImpl, ModelElement.BuilderBase.ModelElementImpl, RestEndpoint.BuilderBase.RestEndpointImpl, RestMethod.BuilderBase.RestMethodImpl, RestMethodParameter.BuilderBase.RestMethodParameterImpl, ServerEndpoint.BuilderBase.ServerEndpointImpl

public interface ModelElement extends Prototype.Api
A model for HTTP endpoints.
See Also:
  • Method Details

    • builder

      static ModelElement.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static ModelElement.Builder builder(ModelElement instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static ModelElement create()
      Create a new instance with default values.
      Returns:
      a new instance
    • annotations

      Set<Annotation> annotations()
      All annotations on this element, and inherited from supertype/interface and annotations.
      Returns:
      annotations
    • type

      TypeInfo type()
      Type of this element.
      Returns:
      type info