public int getPort() {
      return port;
    }
Create a servlet descriptor.

@param port    the servlet port (or 0 if system allocated)
@param path    the servlet path
@param servlet the servlet instance
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/ServletServerBuilder.java