com.hibegin.http.server.config.ResponseConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplewebserver Show documentation
Show all versions of simplewebserver Show documentation
Simple, flexible, less dependent, more extended. Less memory footprint, can quickly build Web project.
Can quickly run embedded, Android devices
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