Package io.jmix.rest
Class RestProperties
java.lang.Object
io.jmix.rest.RestProperties
@ConfigurationProperties(prefix="jmix.rest")
@ConstructorBinding
public class RestProperties
extends Object
-
Constructor Summary
ConstructorDescriptionRestProperties
(String[] allowedOrigins, boolean optimisticLockingEnabled, boolean responseFetchPlanEnabled, int defaultMaxFetchSize, Map<String, Integer> entityMaxFetchSize) -
Method Summary
Modifier and TypeMethodDescriptionString[]
Deprecated.int
getEntityMaxFetchSize
(String entityName) boolean
boolean
-
Constructor Details
-
RestProperties
-
-
Method Details
-
isOptimisticLockingEnabled
public boolean isOptimisticLockingEnabled()- See Also:
-
optimisticLockingEnabled
-
isResponseFetchPlanEnabled
public boolean isResponseFetchPlanEnabled()- See Also:
-
responseFetchPlanEnabled
-
getAllowedOrigins
Deprecated.- See Also:
-
allowedOrigins
-
getEntityMaxFetchSize
-
CorsProperties.getAllowedOrigins()