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

com.firefly.server.http2.router.handler.session.HTTPSessionConfiguration Maven / Gradle / Ivy

There is a newer version: 5.0.0-dev6
Show newest version
package com.firefly.server.http2.router.handler.session;

/**
 * @author Pengtao Qiu
 */
public class HTTPSessionConfiguration {

    private String sessionIdParameterName = "jsessionid";
    private int defaultMaxInactiveInterval = 10 * 60; //second

    public String getSessionIdParameterName() {
        return sessionIdParameterName;
    }

    public void setSessionIdParameterName(String sessionIdParameterName) {
        this.sessionIdParameterName = sessionIdParameterName;
    }

    public int getDefaultMaxInactiveInterval() {
        return defaultMaxInactiveInterval;
    }

    public void setDefaultMaxInactiveInterval(int defaultMaxInactiveInterval) {
        this.defaultMaxInactiveInterval = defaultMaxInactiveInterval;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy