All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.persapiens.jsfboot.omnifaces.OmnifacesProperties Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2016-2016 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.github.persapiens.jsfboot.omnifaces;

import lombok.Getter;
import lombok.Setter;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Configuration properties of OmniFaces.
 * Taken from
 * http://central.maven.org/maven2/org/omnifaces/omnifaces/1.13/omnifaces-1.13-javadoc.jar
 * @author Marcelo Fernandes
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "jsf.omnifaces")
public class OmnifacesProperties {

	private String cacheProvider;

	private String defaultcache;

	private String exceptionTypesToUnwrap;

	private String facesViewsDispatchMethod;

	private Boolean facesViewsEnabled;

	private String facesViewsExtensionAction;

	private String facesViewsFilterAfterDeclaredFilters;

	private String facesViewsPathAction;

	private String facesViewsScanPaths;

	private Boolean facesViewsScannedViewsAlwaysExtensionless;

	private String facesViewsViewHandlerMode;

	private String html5RenderKitPassthroughAttributes;

	private Boolean cdnResourceHandlerDisabled;

	private String cdnResourceHandlerUrls;

	private Integer combinedResourceHandlerCacheTtl;

	private Boolean combinedResourceHandlerDisabled;

	private String combinedResourceHandlerExcludedResources;

	private Boolean combinedResourceHandlerInlineCss;

	private Boolean combinedResourceHandlerInlineJs;

	private String combinedResourceHandlerSuppressedResources;

	private Cache cache = new Cache();

	/**
	 * Cache class of applicationMaxCapacity, applicationTtl, sessionMaxCapacity
	 * and sessionTtl properties.
	 */
	@Getter
	@Setter
	public static class Cache {

		private Integer applicationMaxCapacity;

		private Integer applicationTtl;

		private Integer sessionMaxCapacity;

		private Integer sessionTtl;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy