
io.muserver.Http2Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
The newest version!
package io.muserver;
/**
* Configuration settings for HTTP2
* @see Http2ConfigBuilder
*/
public class Http2Config {
final boolean enabled;
Http2Config(boolean enabled) {
this.enabled = enabled;
}
@Override
public String toString() {
return "Http2Config{" +
"enabled=" + enabled +
'}';
}
/**
* @return A new HTTP2 config builder based on the current settings
*/
public Http2ConfigBuilder toBuilder() {
return new Http2ConfigBuilder()
.enabled(enabled);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy