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

io.higgs.http.server.config.HttpConfig Maven / Gradle / Ivy

There is a newer version: 0.0.24
Show newest version
package io.higgs.http.server.config;

import io.higgs.core.ServerConfig;
import io.higgs.http.server.protocol.HttpMethod;

import java.util.HashMap;
import java.util.Map;

public class HttpConfig extends ServerConfig {
    public boolean add_form_url_decoder = true;
    public boolean add_json_decoder = true;
    public boolean enable_keep_alive_requests;
    public String index_file = "index.html";
    public boolean serve_index_file = true;
    public boolean enable_directory_listing = true;
    public String public_directory = "public";
    public String security_config_path = "classpath:shiro.ini";
    //
    private Map errors = new HashMap<>();

    public HttpConfig() {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy