Artifacts using Undertow Core (2)
Sort by:Popular

This module defines APIs for: - representing and manipulating URIs, - connecting to HTTP servers, and - defining HTTP endpoints and executing HTTP servers. The [[ceylon.net.uri::Uri]] class supports connection to an HTTP URI. A new `Uri` may be obtained using [[ceylon.net.uri::parse]]. void getit(String uriAsString) { Uri uri = parse(uriAsString); Request request = uri.get(); Response response = request.execute(); print(response.contents); } A ...
Last Release on Feb 13, 2021
This module defines APIs for defining HTTP endpoints and executing HTTP servers. A [[ceylon.http.server::Server]] represents a HTTP server. A new `Server` may be defined using [[ceylon.http.server::newServer]]. void runServer() { //create a HTTP server value server = newServer { //an endpoint, on the path /hello Endpoint { path = startsWith("/hello"); //handle requests to this path service(Request request, ...
Last Release on Feb 13, 2021
  • Prev
  • 1
  • Next