Package org.springdoc.hateoas
Class HateoasHalProvider
- java.lang.Object
-
- org.springdoc.hateoas.HateoasHalProvider
-
public class HateoasHalProvider extends Object
The type Hateoas hal provider.- Author:
- bnasslahsen
-
-
Constructor Summary
Constructors Constructor Description HateoasHalProvider(Optional<org.springframework.boot.autoconfigure.hateoas.HateoasProperties> hateoasPropertiesOptional)Instantiates a new Hateoas hal provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinit()Init.booleanisHalEnabled()Is hal enabled boolean.
-
-
-
Constructor Detail
-
HateoasHalProvider
public HateoasHalProvider(Optional<org.springframework.boot.autoconfigure.hateoas.HateoasProperties> hateoasPropertiesOptional)
Instantiates a new Hateoas hal provider.- Parameters:
hateoasPropertiesOptional- the hateoas properties optional
-
-
Method Detail
-
init
@PostConstruct protected void init()
Init.
-
isHalEnabled
public boolean isHalEnabled()
Is hal enabled boolean.- Returns:
- the boolean
-
-