setPort method

Application setPort(
  1. int port
)

setPort is a method that sets the port of server of the application. by default it's set to 8000.

Implementation

Application setPort(int port) {
  this.port = port;
  return this;
}