Artifacts using Module Resolver (15)
Sort:
popular
|
newest
The Ceylon language module containing the core definitions
referred to by the [language specification][spec], along
with some basic functionality of use to most programs:
- The [[root package|package ceylon.language]] defines
general-purpose functionality including support for
[[numbers|Numeric]] and [[character strings|String]],
[[streams|Iterable]] and [[sequences|Sequential]],
[[exceptions|Throwable]], and [[null values|Null]].
- The Ceylon _metamodel_ is defined in
[[package ...
Last Release on Feb 13, 2021
Relocated → org.ceylon-lang »
ceylon.language
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