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

com.hibegin.http.server.config.ResponseConfig Maven / Gradle / Ivy

Go to download

Simple, flexible, less dependent, more extended. Less memory footprint, can quickly build Web project. Can quickly run embedded, Android devices

There is a newer version: 0.3.162
Show newest version
package com.hibegin.http.server.config;

import java.util.ArrayList;
import java.util.List;

public class ResponseConfig {

    private boolean enableGzip;
    private boolean disableCookie;
    private String charSet = "UTF-8";
    private List gzipMimeTypes = new ArrayList<>();

    public boolean isEnableGzip() {
        return enableGzip;
    }

    public void setEnableGzip(boolean enableGzip) {
        this.enableGzip = enableGzip;
    }

    public List getGzipMimeTypes() {
        return gzipMimeTypes;
    }

    public void setGzipMimeTypes(List gzipMimeTypes) {
        this.gzipMimeTypes = gzipMimeTypes;
    }

    public boolean isDisableCookie() {
        return disableCookie;
    }

    public void setDisableCookie(boolean disableCookie) {
        this.disableCookie = disableCookie;
    }

    public String getCharSet() {
        return charSet;
    }

    public void setCharSet(String charSet) {
        this.charSet = charSet;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy