org.atmosphere.config.AtmosphereHandlerConfig Maven / Gradle / Ivy
/*
* Copyright 2015 Sebastien Dionne
*
* 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 org.atmosphere.config;
import java.util.ArrayList;
import java.util.List;
/**
* @author Sebastien Dionne : [email protected]
*/
public class AtmosphereHandlerConfig {
// "" means unset
private String supportSession = "false";
private String contextRoot;
private String className;
private String broadcaster;
private String broadcasterCache;
private String cometSupport;
private List broadcastFilterClasses = new ArrayList();
private List interceptors = new ArrayList();
private List properties = new ArrayList();
private List applicationConfig = new ArrayList();
private List frameworkConfig = new ArrayList();
public String getSupportSession() {
return supportSession;
}
public void setSupportSession(String supportSession) {
this.supportSession = supportSession;
}
public String getContextRoot() {
return contextRoot;
}
public void setContextRoot(String contextRoot) {
this.contextRoot = contextRoot;
}
public String getClassName() {
return className;
}
public void setClassName(String className) {
this.className = className;
}
public String getBroadcaster() {
return broadcaster;
}
public void setBroadcaster(String broadcaster) {
this.broadcaster = broadcaster;
}
public List getProperties() {
return properties;
}
public void setProperties(List properties) {
this.properties = properties;
}
public List getApplicationConfig() {
return applicationConfig;
}
public void setApplicationConfig(List applicationConfig) {
this.applicationConfig = applicationConfig;
}
public List getFrameworkConfig() {
return frameworkConfig;
}
public void setFrameworkConfig(List frameworkConfig) {
this.frameworkConfig = frameworkConfig;
}
public String getBroadcasterCache() {
return broadcasterCache;
}
public void setBroadcasterCache(String broadcasterCache) {
this.broadcasterCache = broadcasterCache;
}
public List getBroadcastFilterClasses() {
return broadcastFilterClasses;
}
public void setAtmosphereInterceptorClasses(List interceptors) {
this.interceptors = interceptors;
}
public List getAtmosphereInterceptorClasses() {
return interceptors;
}
public void setBroadcastFilterClasses(List broadcastFilterClasses) {
this.broadcastFilterClasses = broadcastFilterClasses;
}
public String getCometSupport() {
return cometSupport;
}
public void setCometSupport(String cometSupport) {
this.cometSupport = cometSupport;
}
}