Class ServerEndpointAnalyzer

java.lang.Object
io.helidon.declarative.codegen.http.RestExtensionBase
io.helidon.declarative.codegen.http.webserver.ServerEndpointAnalyzer

public final class ServerEndpointAnalyzer extends RestExtensionBase
Analyzer for declarative WebServer endpoints.
  • Method Details

    • create

      public static ServerEndpointAnalyzer create(RegistryCodegenContext ctx)
      Create a new endpoint analyzer.
      Parameters:
      ctx - code generation context
      Returns:
      endpoint analyzer
    • endpoints

      public List<ServerEndpoint> endpoints(RegistryRoundContext roundContext)
      Analyze endpoint types available in the provided round.
      Parameters:
      roundContext - codegen round context
      Returns:
      analyzed endpoints
    • endpoints

      public List<ServerEndpoint> endpoints(Collection<TypeInfo> types)
      Analyze endpoint types from the provided candidates.
      Parameters:
      types - candidate endpoint types
      Returns:
      analyzed endpoints