Package io.jmix.rest
Class RestProperties
java.lang.Object
io.jmix.rest.RestProperties
@ConfigurationProperties(prefix="jmix.rest")
@ConstructorBinding
public class RestProperties
extends Object
- 
Constructor SummaryConstructorsConstructorDescriptionRestProperties(String[] allowedOrigins, int maxUploadSize, boolean optimisticLockingEnabled, boolean responseFetchPlanEnabled, int defaultMaxFetchSize, Map<String, Integer> entityMaxFetchSize) 
- 
Method SummaryModifier and TypeMethodDescriptionString[]Deprecated.intgetEntityMaxFetchSize(String entityName) intbooleanboolean
- 
Constructor Details- 
RestPropertiespublic RestProperties(@DefaultValue("*") String[] allowedOrigins, @DefaultValue("20971520") int maxUploadSize, @DefaultValue("false") boolean optimisticLockingEnabled, @DefaultValue("true") boolean responseFetchPlanEnabled, @DefaultValue("10000") int defaultMaxFetchSize, @Nullable Map<String, Integer> entityMaxFetchSize) 
 
- 
- 
Method Details- 
isOptimisticLockingEnabledpublic boolean isOptimisticLockingEnabled()- See Also:
- 
- optimisticLockingEnabled
 
 
- 
isResponseFetchPlanEnabledpublic boolean isResponseFetchPlanEnabled()- See Also:
- 
- responseFetchPlanEnabled
 
 
- 
getAllowedOriginsDeprecated.- See Also:
- 
- allowedOrigins
 
 
- 
getMaxUploadSizepublic int getMaxUploadSize()- See Also:
- 
- maxUploadSize
 
 
- 
getEntityMaxFetchSize
 
- 
CorsProperties.getAllowedOrigins()