org.smartboot.http.common.enums.HttpProtocolEnum Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2017-2021, org.smartboot. All rights reserved.
* project name: smart-http
* file name: HttpProtocolEnum.java
* Date: 2021-02-04
* Author: sandao ([email protected])
******************************************************************************/
package org.smartboot.http.common.enums;
/**
* @author 三刀([email protected])
* @version V1.0 , 2021/2/4
*/
public enum HttpProtocolEnum {
HTTP_11("HTTP/1.1"),
HTTP_10("HTTP/1.0"),
HTTP_2("HTTP/2.0"),
;
private final String protocol;
HttpProtocolEnum(String protocol) {
this.protocol = protocol;
}
public String getProtocol() {
return protocol;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy