Restlet Framework

Restlet Framework is the most widely used open source
solution for Java developers who want to create and use APIs.

  • restlet_icons_screen

    Select a version to download below, or view how to configure Maven or Eclipse.

    Release date: 2024-06-20

    Starting from release 2.5, the Restlet Framework is available from Maven Central repository. Prior to version 2.5 of Restlet Framework, the Maven repository for Restlet is accessible from https://maven.restlet.talend.com and contains all Restlet JARs and third party dependencies that aren’t available in the main public Maven repository.
    Here is a sample pom file illustrating how to reference Restlet JARs and third party dependencies that aren’t available in the main public Maven repository:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <project xmlns="http://maven.apache.org/POM/4.0.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.example</groupId>
        <artifactId>myapplication</artifactId>
        <version>0.0.1-SNAPSHOT</version>
    
        <properties>
            <java.version>1.8</java.version>
            <restlet.version>2.4.4</restlet.version>
        </properties>
    
        <repositories>
            <repository>
                <id>maven-restlet</id>
                <name>Restlet repository</name>
                <url>https://maven.restlet.talend.com</url>
            </repository>
        </repositories>
    
        <dependencies>
            <dependency>
                <groupId>org.restlet.jse</groupId>
                <artifactId>org.restlet</artifactId>
                <version>${restlet.version}</version>
            </dependency>
            <dependency>
                <groupId>org.restlet.jse</groupId>
                <artifactId>org.restlet.ext.jackson</artifactId>
                <version>${restlet.version}</version>
            </dependency>
        </dependencies>
    
        <build>
            <plugins>
                <plugin>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.8.0</version>
                    <configuration>
                        <release>${java.version}</release>
                    </configuration>
                </plugin>
            </plugins>
        </build>
    
    </project>