Add a put route to routes

@param path    your route path
@param handler route implement
@return return blade instance
@see #put(String, RouteHandler)
18309
@Deprecated
    public Blade put(@NonNull String path, @NonNull RouteHandler0 handler) {
        this.routeMatcher.addRoute(path, handler, HttpMethod.PUT);
        return this;
    }
947502
public function get($route, $handler)
    {
        return $this->addRoute(new Route($this->router, ['GET','HEAD'], $route, $handler, $this->name));
    }
1363075
public SimpleUriRouter<I, O> addUri(String uri, RequestHandler<I, O> handler) {
        routes.add(new Route(new ServletStyleUriConstraintKey<I>(uri, ""), handler));
        return this;
    }
885193
public function put(
        string $definition,
        RequestHandlerInterface $handler,
        ?string $name = null,
        $data = null
    ): Route {
        return $this->route(Method::PUT, $definition, $handler, $name, $data);
    }
1102266
public Javalin put(@NotNull String path, @NotNull Handler handler, @NotNull Set<Role> permittedRoles) {
        return addHandler(HandlerType.PUT, path, handler, permittedRoles);
    }
468022
public function put(String $path, Callable $callback) : Route {

		return $this->collectRoute('PUT', $path, $callback);

	}
524504
public Blade delete(@NonNull String path, @NonNull RouteHandler handler) {
        this.routeMatcher.addRoute(path, handler, HttpMethod.DELETE);
        return this;
    }
851443
public function route(Route $route, $handler) 
  {
    if (!is_callable($handler)) {
      throw new \InvalidArgumentException('Route handler must be callable.');
    }

    $this->currentContext->addRoute($route, $handler);
    return $this;
  }
730312
public function middleware($path, $handler = null)
    {
        if ($handler === null) {
            $handler = $path;
            $path = '/';
        }

        $path = $this->normalizePath($path);
        $this->middleware_handlers[$path][] = $handler;

        return $this;
    }
584454
public RouteBuilder put(){

        if(!methods.contains(HttpMethod.PUT)){
            methods.add(HttpMethod.PUT);
        }
        return this;
    }
1366741
func (m *methods) Put(path string, fn handler) *Route {
	return m.add(path, fn, PUT)
}
627153
def add_options(self, path: str, handler: _WebHandler,
                    **kwargs: Any) -> AbstractRoute:
        
        return self.add_route(hdrs.METH_OPTIONS, path, handler, **kwargs)
1193805
public function put(string $path, $callback, ...$args): FrameworkHandler
    {
        return $this->route('put', $path, $callback, ...$args);
    }
79506
public Javalin head(@NotNull String path, @NotNull Handler handler) {
        return addHandler(HandlerType.HEAD, path, handler);
    }
270995
public Javalin before(@NotNull String path, @NotNull Handler handler) {
        return addHandler(HandlerType.BEFORE, path, handler);
    }
1129382
public function all(string $path, $handler, string $name = null): Route
    {
        $route = new Route($path, $handler, [], $name);

        $this->adapter->addRoute($route);

        return $route;
    }
158245
public ISO9660Directory addPath(String path) throws HandlerException {
        ISO9660Directory dir;
        if (path.indexOf(File.separator) == -1) {
            // Path is a directory - add it if not already listed
            return checkDirectory(path);
        }

        // Add path recursively
        int frontSeparatorIndex = path.indexOf(File.separator);
        String dirName = path.substring(0, frontSeparatorIndex);
        dir = checkDirectory(dirName);
        String rest = path.substring(frontSeparatorIndex + 1);
        dir = dir.addPath(rest);

        return dir;
    }