HTTP PUT routing.

@param uriTemplate the specified request URI template
@param handler     the specified handler
@return router
494825
public static Router put(final String uriTemplate, final ContextHandler handler) {
        return route().put(uriTemplate, handler);
    }
403496
public function patch($uri, $handler, $middlewares = array())
    {
        return $this->add($this->route('PATCH', $uri, $handler, $middlewares));
    }
917179
public RouteMatcher patchWithRegEx(String regex, Handler<HttpServerRequest> handler) {
		addRegEx(regex, handler, patchBindings);
		return this;
	}
1302646
public static final ChannelInitializer<Channel> httpServer(
      final SimpleChannelInboundHandler<HttpRequest> handler) {
    Preconditions.checkArgument(handler.isSharable());
    return new ChannelInitializer<Channel>() {

      @Override
      protected void initChannel(Channel channel) throws Exception {
        ChannelPipeline pipeline = channel.pipeline();
        pipeline.addLast("httpCodec", new HttpServerCodec());
        pipeline.addLast("aggregator", new HttpObjectAggregator(10 * 1024 * 1024));
        pipeline.addLast("httpServerHandler", handler);
      }
    };
  }
536855
public static Route OPTIONS(String uriPattern, RouteHandler routeHandler) {
        return new Route(HttpConstants.Method.OPTIONS, uriPattern, routeHandler);
    }
754231
final void addHandler(final HttpHandler handler) {
    if (handler != null) {
      if (!eventHandlers.containsKey(handler.getUriSpecification().toLowerCase())) {
        eventHandlers.put(handler.getUriSpecification().toLowerCase(), handler);
      } else {
        LOG.log(Level.WARNING, "JettyHandler handle is already registered: {0} ", handler.getUriSpecification());
      }
    }
  }
885193
public function put(
        string $definition,
        RequestHandlerInterface $handler,
        ?string $name = null,
        $data = null
    ): Route {
        return $this->route(Method::PUT, $definition, $handler, $name, $data);
    }
1286207
public RouteMatcher delete(String pattern, Handler<HttpServerRequest> handler) {
		addPattern(pattern, handler, deleteBindings);
		return this;
	}
301169
function createHandler(to, except, pathFunc, protocol) {
    return function(req, res, next) {
        var host = req.hostname || '';
        var url = req.url;

        if (host in except) {
            next();
        } else {
            var target = new URIjs(pathFunc(host, url))
              .host(to)
              .protocol(protocol || '')
              .href();

            res.redirect(301, target);
        }
    };
}
328200
public Javalin addHandler(@NotNull HandlerType httpMethod, @NotNull String path, @NotNull Handler handler) {
        return addHandler(httpMethod, path, handler, new HashSet<>()); // no roles set for this route (open to everyone with default access manager)
    }
1058095
public static final ChannelInitializer<Channel> httpClient(
      final SimpleChannelInboundHandler<HttpResponse> handler) {
    return new ChannelInitializer<Channel>() {

      @Override
      protected void initChannel(Channel channel) throws Exception {
        ChannelPipeline pipeline = channel.pipeline();
        pipeline.addLast("httpCodec", new HttpClientCodec());
        pipeline.addLast("aggregator", new HttpObjectAggregator(10 * 1024 * 1024));
        pipeline.addLast("httpClientHandler", handler);
      }
    };
  }
447332
public function post($pattern, $handler)
    {

        return $this->addRoute(
            new Route([Method::POST], $pattern, $handler)
        );
    }
1135104
public static Route GET(String uriPattern, RouteHandler routeHandler) {
        return new Route(HttpConstants.Method.GET, uriPattern, routeHandler);
    }
1252494
function PushRoute (router, request, scheme, handler, limits, validate, upload) {
		let args = [scheme, limits], filt = v=>!!v;
		args = (!!validate ? args.concat([validate]).filter(filt) : args);
		args = (!!upload   ? args.concat([upload  ]).filter(filt) : args);
		args = args.concat([handler]); router[request](...args);
	}
346377
public RestTemplateBuilder uriTemplateHandler(UriTemplateHandler uriTemplateHandler) {
		Assert.notNull(uriTemplateHandler, "UriTemplateHandler must not be null");
		return new RestTemplateBuilder(this.detectRequestFactory, this.rootUri,
				this.messageConverters, this.requestFactorySupplier, uriTemplateHandler,
				this.errorHandler, this.basicAuthentication, this.restTemplateCustomizers,
				this.requestFactoryCustomizer, this.interceptors);
	}
1105049
public RouteMatcher head(String pattern, Handler<HttpServerRequest> handler) {
		addPattern(pattern, handler, headBindings);
		return this;
	}
24821
public Router all(@NotNull final String pattern, @NotNull final Middleware... handler) {
        get(pattern, handler);
        put(pattern, handler);
        post(pattern, handler);
        delete(pattern, handler);
        options(pattern, handler);
        head(pattern, handler);
        trace(pattern, handler);
        connect(pattern, handler);
        patch(pattern, handler);
        return this;
    }