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

org.needcoke.coke.web.config.CokeWebConfiguration Maven / Gradle / Ivy

package org.needcoke.coke.web.config;

import lombok.Data;
import org.needcoke.coke.http.CokeWebConfig;
import pers.warren.ioc.annotation.Configuration;
import pers.warren.ioc.annotation.Value;

@Data
@Configuration
public class CokeWebConfiguration implements CokeWebConfig {

    @Value("server.port:8080")
    private int serverPort;

    @Value("server.hostname:'127.0.0.1'")
    private String hostName;

    @Value("server.session.timeout:60000")
    private int session_timeout;

    @Value("server.request.character.encoding:'UTF-8'")
    private String requestCharacterEncoding;

    @Value("server.response.character.encoding:'UTF-8'")
    private String responseCharacterEncoding;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy