Class HttpClientJdk

java.lang.Object
io.micronaut.starter.feature.httpclient.HttpClientJdk
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature, HttpClientFeature, OneOfFeature

@Singleton public class HttpClientJdk extends Object implements HttpClientFeature
  • Field Details

    • NAME

      public static final String NAME
      See Also:
    • ARTIFACT_ID_MICRONAUT_HTTP_CLIENT_JDK

      public static final String ARTIFACT_ID_MICRONAUT_HTTP_CLIENT_JDK
      See Also:
    • DEPENDENCY_MICRONAUT_HTTP_CLIENT_JDK

      public static final Dependency DEPENDENCY_MICRONAUT_HTTP_CLIENT_JDK
    • DEPENDENCY_MICRONAUT_HTTP_CLIENT_JDK_COMPILE_ONLY

      public static final Dependency DEPENDENCY_MICRONAUT_HTTP_CLIENT_JDK_COMPILE_ONLY
  • Constructor Details

    • HttpClientJdk

      public HttpClientJdk()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      the name of the feature
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Feature
      Returns:
      The title of the feature
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described
      Specified by:
      getDescription in interface Feature
    • getMicronautDocumentation

      public String getMicronautDocumentation()
      Specified by:
      getMicronautDocumentation in interface Feature
      Returns:
      Returns a link to Micronaut documentation about the feature. eg. https://micronaut-projects.github.io/micronaut-cache/latest/guide/index.html#hazelcast
    • getThirdPartyDocumentation

      public String getThirdPartyDocumentation()
      Specified by:
      getThirdPartyDocumentation in interface Feature
      Returns:
      Returns a link to third party. E.g. https://hazelcast.org
    • getDependencies

      @NonNull public @NonNull List<Dependency> getDependencies(@NonNull @NonNull GeneratorContext generatorContext)
      Specified by:
      getDependencies in interface HttpClientFeature