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
@Requires(property="micronaut.starter.feature.http.client.jdk.enabled",
value="true",
defaultValue="true")
@Singleton
public class HttpClientJdk
extends Object
implements HttpClientFeature
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Dependencystatic final Dependencystatic final StringFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull List<Dependency> getDependencies(@NonNull GeneratorContext generatorContext) getName()The name of the feature.getTitle()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface Feature
getOrder, isCommunity, isPreview, isVisible, processSelectedFeaturesMethods inherited from interface HttpClientFeature
addDependencies, apply, getCategory, getFeatureClass, supports
-
Field Details
-
NAME
- See Also:
-
ARTIFACT_ID_MICRONAUT_HTTP_CLIENT_JDK
- See Also:
-
DEPENDENCY_MICRONAUT_HTTP_CLIENT_JDK
-
DEPENDENCY_MICRONAUT_HTTP_CLIENT_JDK_COMPILE_ONLY
-
-
Constructor Details
-
HttpClientJdk
public HttpClientJdk()
-
-
Method Details
-
getName
-
getTitle
-
getDescription
- Specified by:
getDescriptionin interfaceio.micronaut.core.naming.Described- Specified by:
getDescriptionin interfaceFeature
-
getMicronautDocumentation
- Specified by:
getMicronautDocumentationin interfaceFeature- Returns:
- Returns a link to Micronaut documentation about the feature. eg. https://micronaut-projects.github.io/micronaut-cache/latest/guide/index.html#hazelcast
-
getThirdPartyDocumentation
- Specified by:
getThirdPartyDocumentationin interfaceFeature- 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:
getDependenciesin interfaceHttpClientFeature
-