public static void put ( String url , HttpConsumer < HttpExchange > endpoint , MediaTypes ... mediaTypes ) { addResource ( Methods . PUT , url , endpoint , mediaTypes ) ; }
Define a REST endpoint mapped to HTTP PUT