📄 protocol.java
字号:
package com.jeffhanson.rest.core;
public final class Protocol
{
public static final Protocol HTTP = new Protocol("http");
public static final Protocol FTP = new Protocol("ftp");
public static final Protocol SMTP = new Protocol("smtp");
private String scheme = "";
public Protocol(String scheme)
{
this.scheme = scheme;
}
public String getScheme()
{
return scheme;
}
public String toString()
{
return getScheme();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -