Package io.jmix.rest

Class RestProperties

java.lang.Object
io.jmix.rest.RestProperties

@ConfigurationProperties(prefix="jmix.rest") public class RestProperties extends Object
  • Constructor Details

    • RestProperties

      public RestProperties(@DefaultValue("false") boolean optimisticLockingEnabled, @DefaultValue("true") boolean responseFetchPlanEnabled, @DefaultValue("10000") int defaultMaxFetchSize, @Nullable Map<String,Integer> entityMaxFetchSize)
  • Method Details

    • isOptimisticLockingEnabled

      public boolean isOptimisticLockingEnabled()
      See Also:
      • optimisticLockingEnabled
    • isResponseFetchPlanEnabled

      public boolean isResponseFetchPlanEnabled()
      See Also:
      • responseFetchPlanEnabled
    • getEntityMaxFetchSize

      public int getEntityMaxFetchSize(String entityName)