⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 protocol.java

📁 编写rest实例 rest分布式框架在app中的应用
💻 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 + -