diff --git a/.gitignore b/.gitignore
index 591eb6595f..393925e736 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,7 +26,6 @@
/modules/org.restlet.ext.apispark/bin
/modules/org.restlet.ext.atom/bin
/modules/org.restlet.ext.crypto/bin
-/modules/org.restlet.ext.e4/bin
/modules/org.restlet.ext.emf/bin
/modules/org.restlet.ext.fileupload/bin
/modules/org.restlet.ext.freemarker/bin
@@ -35,7 +34,6 @@
/modules/org.restlet.ext.guice/bin
/modules/org.restlet.ext.gwt/bin
/modules/org.restlet.ext.html/bin
-/modules/org.restlet.ext.httpclient/bin
/modules/org.restlet.ext.jaas/bin
/modules/org.restlet.ext.jackson/bin
/modules/org.restlet.ext.javamail/bin
@@ -46,11 +44,12 @@
/modules/org.restlet.ext.jibx/bin
/modules/org.restlet.ext.json/bin
/modules/org.restlet.ext.lucene/bin
-/modules/org.restlet.ext.nio/bin
+/modules/org.restlet.ext.netty/bin
/modules/org.restlet.ext.oauth/bin
/modules/org.restlet.ext.odata/bin
/modules/org.restlet.ext.openid/bin
/modules/org.restlet.ext.osgi/bin
+/modules/org.restlet.ext.raml/bin
/modules/org.restlet.ext.rdf/bin
/modules/org.restlet.ext.rome/bin
/modules/org.restlet.ext.sdc/bin
@@ -70,6 +69,10 @@
/modules/org.restlet.test/bin
/modules/org.restlet.test/velocity.log
/modules/org.restlet.test/velocity.log.1
+/modules/org.restlet.ext.apispark-swagger-annotations-1_2/bin/
+/modules/org.restlet.ext.apispark-swagger-annotations-2_0/bin/
/build/velocity.log
/build/build.number
+.DS_Store
*.iml
+.DS_Store
diff --git a/README.md b/README.md
index e938639495..eabb7472a7 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,28 @@
# Restlet Framework
-## The leading RESTful web API framework for Java
+## The first REST API framework for Java
-Do you want to blend your web services, web sites and web clients into unified web applications exposing and consuming RESTful web APIs?
+Thanks to Restlet Framework's powerful routing and filtering capabilities, unified client and server Java API, developers can build secure and scalable RESTful web APIs.
-Leverage the open source Restlet Framework and its unique Java API available in six consistent editions: Java SE, Java EE, OSGi, GAE, Android and GWT!
+It is available in editions for all major platforms (Java SE/EE, Google App Engine, OSGi, GWT, Android) and offers numerous extensions to fit the needs of all developers.
-http://restlet.com
+It is available under the terms of either the Apache Software License 2.0 or the Eclipse Public License 1.0.
-Copyright 2014 Restlet
+http://restlet.talend.com
-[](https://travis-ci.org/restlet/restlet-framework-java)
+## Learn more
+
+To learn more about Restlet Framework, please have a look at the following resources:
+
+* [User Guide](https://restlet.talend.com/documentation/user-guide/2.4/)
+* [Tutorials](https://restlet.talend.com/documentation/tutorials/2.4/)
+* [JavaDocs](https://restlet.talend.com/documentation/javadocs/2.4/)
+* [Change Log](https://restlet.talend.com/documentation/2.4/changelog)
+* [Download](https://restlet.talend.com/downloads/current/)
+* [Issue Tracker](https://github.com/restlet/restlet-framework-java/issues)
+* [Mailing List](https://groups.google.com/a/restlet.org/forum/#!forum/framework-discuss)
+* [Stack Overflow](http://stackoverflow.com/questions/tagged/restlet)
+
+Copyright 2024 Qlik
+
+[](https://travis-ci.org/restlet/restlet-framework-java)
diff --git a/build/bin/conf/wrapper.conf b/build/bin/conf/wrapper.conf
deleted file mode 100644
index 2ab864d539..0000000000
--- a/build/bin/conf/wrapper.conf
+++ /dev/null
@@ -1,101 +0,0 @@
-#********************************************************************
-# Wrapper Properties
-#********************************************************************
-# Java Application
-wrapper.java.command=java
-
-# Java Main class. This class must implement the WrapperListener interface
-# or guarantee that the WrapperManager class is initialized. Helper
-# classes are provided to do this for you. See the Integration section
-# of the documentation for details.
-wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
-
-# Java Classpath (include wrapper.jar) Add class path elements as
-# needed starting from 1
-wrapper.java.classpath.1=../../lib/org.tanukisoftware.wrapper_3.2/wrapper.jar
-wrapper.java.classpath.2=../../lib/org.restlet.jar
-
-# Remember to append the Restlet extensions that you need to the classpath
-# For example to use the Simple HTTP server connector:
-wrapper.java.classpath.3=../../lib/org.simpleframework_3.1/org.simpleframework.jar
-wrapper.java.classpath.4=../../lib/org.restlet.ext.simple_3.1.jar
-wrapper.java.classpath.5=../../lib/org.restlet.example.jar
-
-# Java Library Path (location of Wrapper.DLL or libwrapper.so)
-wrapper.java.library.path.1=../../lib/org.tanukisoftware.wrapper_3.2
-
-# Java Additional Parameters
-#wrapper.java.additional.1=
-
-# Initial Java Heap Size (in MB)
-#wrapper.java.initmemory=3
-
-# Maximum Java Heap Size (in MB)
-#wrapper.java.maxmemory=64
-
-# Application parameters. Add parameters as needed starting from 1
-wrapper.app.parameter.1=org.restlet.example.tutorial.Part03
-
-#********************************************************************
-# Wrapper Logging Properties
-#********************************************************************
-# Format of output for the console. (See docs for formats)
-wrapper.console.format=PM
-
-# Log Level for console output. (See docs for log levels)
-wrapper.console.loglevel=INFO
-
-# Log file to use for wrapper output logging.
-wrapper.logfile=../logs/wrapper.log
-
-# Format of output for the log file. (See docs for formats)
-wrapper.logfile.format=LPTM
-
-# Log Level for log file output. (See docs for log levels)
-wrapper.logfile.loglevel=INFO
-
-# Maximum size that the log file will be allowed to grow to before
-# the log is rolled. Size is specified in bytes. The default value
-# of 0, disables log rolling. May abbreviate with the 'k' (kb) or
-# 'm' (mb) suffix. For example: 10m = 10 megabytes.
-wrapper.logfile.maxsize=0
-
-# Maximum number of rolled log files which will be allowed before old
-# files are deleted. The default value of 0 implies no limit.
-wrapper.logfile.maxfiles=0
-
-# Log Level for sys/event log output. (See docs for log levels)
-wrapper.syslog.loglevel=NONE
-
-#********************************************************************
-# Wrapper Windows Properties
-#********************************************************************
-# Title to use when running as a console
-wrapper.console.title=Restlet site
-
-#********************************************************************
-# Wrapper Windows NT/2000/XP Service Properties
-#********************************************************************
-# WARNING - Do not modify any of these properties when an application
-# using this configuration file has been installed as a service.
-# Please uninstall the service before modifying this section. The
-# service can then be reinstalled.
-
-# Name of the service
-wrapper.ntservice.name=Restlet
-
-# Display name of the service
-wrapper.ntservice.displayname=Restlet site
-
-# Description of the service
-wrapper.ntservice.description=Restlet site
-
-# Service dependencies. Add dependencies as needed starting from 1
-wrapper.ntservice.dependency.1=
-
-# Mode in which the service is installed. AUTO_START or DEMAND_START
-wrapper.ntservice.starttype=AUTO_START
-
-# Allow the service to interact with the desktop.
-wrapper.ntservice.interactive=false
-
diff --git a/build/bin/linux/restlet.sh b/build/bin/linux/restlet.sh
deleted file mode 100644
index b998592f32..0000000000
--- a/build/bin/linux/restlet.sh
+++ /dev/null
@@ -1,530 +0,0 @@
-#! /bin/sh
-
-#
-# Copyright (c) 1999, 2006 Tanuki Software Inc.
-#
-# Java Service Wrapper sh script. Suitable for starting and stopping
-# wrapped Java applications on UNIX platforms.
-#
-
-#-----------------------------------------------------------------------------
-# These settings can be modified to fit the needs of your application
-
-# Application
-APP_NAME="restlet"
-APP_LONG_NAME="Restlet site"
-
-# Wrapper
-WRAPPER_CMD="./wrapper"
-WRAPPER_CONF="../conf/wrapper.conf"
-
-# Priority at which to run the wrapper. See "man nice" for valid priorities.
-# nice is only used if a priority is specified.
-PRIORITY=
-
-# Location of the pid file.
-PIDDIR="."
-
-# If uncommented, causes the Wrapper to be shutdown using an anchor file.
-# When launched with the 'start' command, it will also ignore all INT and
-# TERM signals.
-#IGNORE_SIGNALS=true
-
-# If specified, the Wrapper will be run as the specified user.
-# IMPORTANT - Make sure that the user has the required privileges to write
-# the PID file and wrapper.log files. Failure to be able to write the log
-# file will cause the Wrapper to exit without any way to write out an error
-# message.
-# NOTE - This will set the user which is used to run the Wrapper as well as
-# the JVM and is not useful in situations where a privileged resource or
-# port needs to be allocated prior to the user being changed.
-#RUN_AS_USER=
-
-# The following two lines are used by the chkconfig command. Change as is
-# appropriate for your application. They should remain commented.
-# chkconfig: 2345 20 80
-# description: Restlet site
-
-# Do not modify anything beyond this point
-#-----------------------------------------------------------------------------
-
-# Get the fully qualified path to the script
-case $0 in
- /*)
- SCRIPT="$0"
- ;;
- *)
- PWD=`pwd`
- SCRIPT="$PWD/$0"
- ;;
-esac
-
-# Resolve the true real path without any sym links.
-CHANGED=true
-while [ "X$CHANGED" != "X" ]
-do
- # Change spaces to ":" so the tokens can be parsed.
- SCRIPT=`echo $SCRIPT | sed -e 's; ;:;g'`
- # Get the real path to this script, resolving any symbolic links
- TOKENS=`echo $SCRIPT | sed -e 's;/; ;g'`
- REALPATH=
- for C in $TOKENS; do
- REALPATH="$REALPATH/$C"
- while [ -h "$REALPATH" ] ; do
- LS="`ls -ld "$REALPATH"`"
- LINK="`expr "$LS" : '.*-> \(.*\)$'`"
- if expr "$LINK" : '/.*' > /dev/null; then
- REALPATH="$LINK"
- else
- REALPATH="`dirname "$REALPATH"`""/$LINK"
- fi
- done
- done
- # Change ":" chars back to spaces.
- REALPATH=`echo $REALPATH | sed -e 's;:; ;g'`
-
- if [ "$REALPATH" = "$SCRIPT" ]
- then
- CHANGED=""
- else
- SCRIPT="$REALPATH"
- fi
-done
-
-# Change the current directory to the location of the script
-cd "`dirname "$REALPATH"`"
-REALDIR=`pwd`
-
-# If the PIDDIR is relative, set its value relative to the full REALPATH to avoid problems if
-# the working directory is later changed.
-FIRST_CHAR=`echo $PIDDIR | cut -c1,1`
-if [ "$FIRST_CHAR" != "/" ]
-then
- PIDDIR=$REALDIR/$PIDDIR
-fi
-# Same test for WRAPPER_CMD
-FIRST_CHAR=`echo $WRAPPER_CMD | cut -c1,1`
-if [ "$FIRST_CHAR" != "/" ]
-then
- WRAPPER_CMD=$REALDIR/$WRAPPER_CMD
-fi
-# Same test for WRAPPER_CONF
-FIRST_CHAR=`echo $WRAPPER_CONF | cut -c1,1`
-if [ "$FIRST_CHAR" != "/" ]
-then
- WRAPPER_CONF=$REALDIR/$WRAPPER_CONF
-fi
-
-# Process ID
-ANCHORFILE="$PIDDIR/$APP_NAME.anchor"
-PIDFILE="$PIDDIR/$APP_NAME.pid"
-LOCKDIR="/var/lock/subsys"
-LOCKFILE="$LOCKDIR/$APP_NAME"
-pid=""
-
-# Resolve the location of the 'ps' command
-PSEXE="/usr/bin/ps"
-if [ ! -x $PSEXE ]
-then
- PSEXE="/bin/ps"
- if [ ! -x $PSEXE ]
- then
- echo "Unable to locate 'ps'."
- echo "Please report this message along with the location of the command on your system."
- exit 1
- fi
-fi
-
-# Resolve the os
-DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]`
-case "$DIST_OS" in
- 'sunos')
- DIST_OS="solaris"
- ;;
- 'hp-ux' | 'hp-ux64')
- DIST_OS="hpux"
- ;;
- 'darwin')
- DIST_OS="macosx"
- ;;
- 'unix_sv')
- DIST_OS="unixware"
- ;;
-esac
-
-# Resolve the architecture
-DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`
-if [ "$DIST_ARCH" = "unknown" ]
-then
- DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
-fi
-case "$DIST_ARCH" in
- 'amd64' | 'ia32' | 'ia64' | 'i386' | 'i486' | 'i586' | 'i686' | 'x86_64')
- DIST_ARCH="x86"
- ;;
- 'ip27')
- DIST_ARCH="mips"
- ;;
- 'power' | 'powerpc' | 'power_pc' | 'ppc64')
- DIST_ARCH="ppc"
- ;;
- 'pa_risc' | 'pa-risc')
- DIST_ARCH="parisc"
- ;;
- 'sun4u' | 'sparcv9')
- DIST_ARCH="sparc"
- ;;
- '9000/800')
- DIST_ARCH="parisc"
- ;;
-esac
-
-# Decide on the wrapper binary to use.
-# If a 32-bit wrapper binary exists then it will work on 32 or 64 bit
-# platforms, if the 64-bit binary exists then the distribution most
-# likely wants to use long names. Otherwise, look for the default.
-# For macosx, we also want to look for universal binaries.
-WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-32"
-if [ -x $WRAPPER_TEST_CMD ]
-then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
-else
- if [ "$DIST_OS" = "macosx" ]
- then
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-universal-32"
- if [ -x $WRAPPER_TEST_CMD ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- if [ -x $WRAPPER_TEST_CMD ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-universal-64"
- if [ -x $WRAPPER_TEST_CMD ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- if [ ! -x $WRAPPER_CMD ]
- then
- echo "Unable to locate any of the following binaries:"
- echo " $WRAPPER_CMD-$DIST_OS-$DIST_ARCH-32"
- echo " $WRAPPER_CMD-$DIST_OS-universal-32"
- echo " $WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- echo " $WRAPPER_CMD-$DIST_OS-universal-64"
- echo " $WRAPPER_CMD"
- exit 1
- fi
- fi
- fi
- fi
- else
- WRAPPER_TEST_CMD="$WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- if [ -x $WRAPPER_TEST_CMD ]
- then
- WRAPPER_CMD="$WRAPPER_TEST_CMD"
- else
- if [ ! -x $WRAPPER_CMD ]
- then
- echo "Unable to locate any of the following binaries:"
- echo " $WRAPPER_CMD-$DIST_OS-$DIST_ARCH-32"
- echo " $WRAPPER_CMD-$DIST_OS-$DIST_ARCH-64"
- echo " $WRAPPER_CMD"
- exit 1
- fi
- fi
- fi
-fi
-
-# Build the nice clause
-if [ "X$PRIORITY" = "X" ]
-then
- CMDNICE=""
-else
- CMDNICE="nice -$PRIORITY"
-fi
-
-# Build the anchor file clause.
-if [ "X$IGNORE_SIGNALS" = "X" ]
-then
- ANCHORPROP=
- IGNOREPROP=
-else
- ANCHORPROP=wrapper.anchorfile=$ANCHORFILE
- IGNOREPROP=wrapper.ignore_signals=TRUE
-fi
-
-# Build the lock file clause. Only create a lock file if the lock directory exists on this platform.
-if [ -d $LOCKDIR ]
-then
- LOCKPROP=wrapper.lockfile=$LOCKFILE
-else
- LOCKPROP=
-fi
-
-checkUser() {
- # Check the configured user. If necessary rerun this script as the desired user.
- if [ "X$RUN_AS_USER" != "X" ]
- then
- # Resolve the location of the 'id' command
- IDEXE="/usr/xpg4/bin/id"
- if [ ! -x $IDEXE ]
- then
- IDEXE="/usr/bin/id"
- if [ ! -x $IDEXE ]
- then
- echo "Unable to locate 'id'."
- echo "Please report this message along with the location of the command on your system."
- exit 1
- fi
- fi
-
- if [ "`$IDEXE -u -n`" = "$RUN_AS_USER" ]
- then
- # Already running as the configured user. Avoid password prompts by not calling su.
- RUN_AS_USER=""
- fi
- fi
- if [ "X$RUN_AS_USER" != "X" ]
- then
- # If LOCKPROP and $RUN_AS_USER are defined then the new user will most likely not be
- # able to create the lock file. The Wrapper will be able to update this file once it
- # is created but will not be able to delete it on shutdown. If $2 is defined then
- # the lock file should be created for the current command
- if [ "X$LOCKPROP" != "X" ]
- then
- if [ "X$2" != "X" ]
- then
- # Resolve the primary group
- RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
- if [ "X$RUN_AS_GROUP" = "X" ]
- then
- RUN_AS_GROUP=RUN_AS_USER
- fi
- touch $LOCKFILE
- chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE
- fi
- fi
-
- # Still want to change users, recurse. This means that the user will only be
- # prompted for a password once.
- su -m $RUN_AS_USER -c "$REALPATH $1"
-
- # Now that we are the original user again, we may need to clean up the lock file.
- if [ "X$LOCKPROP" != "X" ]
- then
- getpid
- if [ "X$pid" = "X" ]
- then
- # Wrapper is not running so make sure the lock file is deleted.
- if [ -f $LOCKFILE ]
- then
- rm $LOCKFILE
- fi
- fi
- fi
-
- exit 0
- fi
-}
-
-getpid() {
- if [ -f $PIDFILE ]
- then
- if [ -r $PIDFILE ]
- then
- pid=`cat $PIDFILE`
- if [ "X$pid" != "X" ]
- then
- # It is possible that 'a' process with the pid exists but that it is not the
- # correct process. This can happen in a number of cases, but the most
- # common is during system startup after an unclean shutdown.
- # The ps statement below looks for the specific wrapper command running as
- # the pid. If it is not found then the pid file is considered to be stale.
- pidtest=`$PSEXE -p $pid -o args | grep $WRAPPER_CMD | tail -1`
- if [ "X$pidtest" = "X" ]
- then
- # This is a stale pid file.
- rm -f $PIDFILE
- echo "Removed stale pid file: $PIDFILE"
- pid=""
- fi
- fi
- else
- echo "Cannot read $PIDFILE."
- exit 1
- fi
- fi
-}
-
-testpid() {
- pid=`$PSEXE -p $pid | grep $pid | grep -v grep | awk '{print $1}' | tail -1`
- if [ "X$pid" = "X" ]
- then
- # Process is gone so remove the pid file.
- rm -f $PIDFILE
- pid=""
- fi
-}
-
-console() {
- echo "Running $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- COMMAND_LINE="$CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.syslog.ident=$APP_NAME wrapper.pidfile=$PIDFILE $ANCHORPROP $LOCKPROP"
- exec $COMMAND_LINE
- else
- echo "$APP_LONG_NAME is already running."
- exit 1
- fi
-}
-
-start() {
- echo "Starting $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- COMMAND_LINE="$CMDNICE $WRAPPER_CMD $WRAPPER_CONF wrapper.syslog.ident=$APP_NAME wrapper.pidfile=$PIDFILE wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCKPROP"
- exec $COMMAND_LINE
- else
- echo "$APP_LONG_NAME is already running."
- exit 1
- fi
-}
-
-stopit() {
- echo "Stopping $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- echo "$APP_LONG_NAME was not running."
- else
- if [ "X$IGNORE_SIGNALS" = "X" ]
- then
- # Running so try to stop it.
- kill $pid
- if [ $? -ne 0 ]
- then
- # An explanation for the failure should have been given
- echo "Unable to stop $APP_LONG_NAME."
- exit 1
- fi
- else
- rm -f $ANCHORFILE
- if [ -f $ANCHORFILE ]
- then
- # An explanation for the failure should have been given
- echo "Unable to stop $APP_LONG_NAME."
- exit 1
- fi
- fi
-
- # We can not predict how long it will take for the wrapper to
- # actually stop as it depends on settings in wrapper.conf.
- # Loop until it does.
- savepid=$pid
- CNT=0
- TOTCNT=0
- while [ "X$pid" != "X" ]
- do
- # Show a waiting message every 5 seconds.
- if [ "$CNT" -lt "5" ]
- then
- CNT=`expr $CNT + 1`
- else
- echo "Waiting for $APP_LONG_NAME to exit..."
- CNT=0
- fi
- TOTCNT=`expr $TOTCNT + 1`
-
- sleep 1
-
- testpid
- done
-
- pid=$savepid
- testpid
- if [ "X$pid" != "X" ]
- then
- echo "Failed to stop $APP_LONG_NAME."
- exit 1
- else
- echo "Stopped $APP_LONG_NAME."
- fi
- fi
-}
-
-status() {
- getpid
- if [ "X$pid" = "X" ]
- then
- echo "$APP_LONG_NAME is not running."
- exit 1
- else
- echo "$APP_LONG_NAME is running ($pid)."
- exit 0
- fi
-}
-
-dump() {
- echo "Dumping $APP_LONG_NAME..."
- getpid
- if [ "X$pid" = "X" ]
- then
- echo "$APP_LONG_NAME was not running."
-
- else
- kill -3 $pid
-
- if [ $? -ne 0 ]
- then
- echo "Failed to dump $APP_LONG_NAME."
- exit 1
- else
- echo "Dumped $APP_LONG_NAME."
- fi
- fi
-}
-
-case "$1" in
-
- 'console')
- checkUser $1 touchlock
- console
- ;;
-
- 'start')
- checkUser $1 touchlock
- start
- ;;
-
- 'stop')
- checkUser $1
- stopit
- ;;
-
- 'restart')
- checkUser $1 touchlock
- stopit
- start
- ;;
-
- 'status')
- checkUser $1
- status
- ;;
-
- 'dump')
- checkUser $1
- dump
- ;;
-
- *)
- echo "Usage: $0 { console | start | stop | restart | status | dump }"
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/build/bin/linux/wrapper b/build/bin/linux/wrapper
deleted file mode 100644
index 7e0064596e..0000000000
Binary files a/build/bin/linux/wrapper and /dev/null differ
diff --git a/build/bin/readme.txt b/build/bin/readme.txt
deleted file mode 100644
index 7a6a0f0baa..0000000000
--- a/build/bin/readme.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-
-====================
-Running applications
-====================
-
-
-A common requirement for server-side Restlet applications is the ability to run
-as a system service. For this purpose, the Restlet project recommmands the use
-of the powerful Java Service Wrapper project developped by Tanuki Software:
-http://wrapper.tanukisoftware.org
-
-This wrapper is based on a single multi-platform configuration file, a wrapper
-JAR file and a set of platform-specific binary files to launch, install and
-uninstall your service. See the Java Service Wrapper web site for details.
-
-A sample configuration file can be found under "./conf/wrapper.conf". This
-file must be customized to provided your application's main class, its
-parameters and all the classpath entries.
-
-Java Service Wrapper binaries are provided for the Windows x86-32 (see ./win)
-and Linux x86-32 (see ./linux) platforms but several other platforms are
-supported as well. See the Java Service Wrapper web site for details.
-
-Thanks to Malcolm Sparks for suggesting the use of this great wrapper tool and
-to Daniel Einspanjer for the feed-back.
diff --git a/build/bin/win/InstallRestlet-NT.bat b/build/bin/win/InstallRestlet-NT.bat
deleted file mode 100644
index db23bd1b81..0000000000
--- a/build/bin/win/InstallRestlet-NT.bat
+++ /dev/null
@@ -1,50 +0,0 @@
-@echo off
-setlocal
-
-rem Copyright (c) 1999, 2006 Tanuki Software Inc.
-rem
-rem Java Service Wrapper general NT service install script
-rem
-
-if "%OS%"=="Windows_NT" goto nt
-echo This script only works with NT-based versions of Windows.
-goto :eof
-
-:nt
-rem
-rem Find the application home.
-rem
-rem %~dp0 is location of current script under NT
-set _REALPATH=%~dp0
-
-rem Decide on the wrapper binary.
-set _WRAPPER_BASE=wrapper
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
-if exist %_WRAPPER_EXE% goto conf
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
-if exist %_WRAPPER_EXE% goto conf
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%.exe
-if exist %_WRAPPER_EXE% goto conf
-echo Unable to locate a Wrapper executable using any of the following names:
-echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
-echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
-echo %_REALPATH%%_WRAPPER_BASE%.exe
-pause
-goto :eof
-
-rem
-rem Find the wrapper.conf
-rem
-:conf
-set _WRAPPER_CONF="%~f1"
-if not %_WRAPPER_CONF%=="" goto startup
-set _WRAPPER_CONF="%_REALPATH%..\conf\wrapper.conf"
-
-rem
-rem Install the Wrapper as an NT service.
-rem
-:startup
-"%_WRAPPER_EXE%" -i %_WRAPPER_CONF%
-if not errorlevel 1 goto :eof
-pause
-
diff --git a/build/bin/win/Restlet.bat b/build/bin/win/Restlet.bat
deleted file mode 100644
index 25c74b5b89..0000000000
--- a/build/bin/win/Restlet.bat
+++ /dev/null
@@ -1,55 +0,0 @@
-@echo off
-setlocal
-
-rem Copyright (c) 1999, 2006 Tanuki Software Inc.
-rem
-rem Java Service Wrapper general startup script
-rem
-
-rem
-rem Resolve the real path of the wrapper.exe
-rem For non NT systems, the _REALPATH and _WRAPPER_CONF values
-rem can be hard-coded below and the following test removed.
-rem
-if "%OS%"=="Windows_NT" goto nt
-echo This script only works with NT-based versions of Windows.
-goto :eof
-
-:nt
-rem
-rem Find the application home.
-rem
-rem %~dp0 is location of current script under NT
-set _REALPATH=%~dp0
-
-rem Decide on the wrapper binary.
-set _WRAPPER_BASE=wrapper
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
-if exist %_WRAPPER_EXE% goto conf
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
-if exist %_WRAPPER_EXE% goto conf
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%.exe
-if exist %_WRAPPER_EXE% goto conf
-echo Unable to locate a Wrapper executable using any of the following names:
-echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
-echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
-echo %_REALPATH%%_WRAPPER_BASE%.exe
-pause
-goto :eof
-
-rem
-rem Find the wrapper.conf
-rem
-:conf
-set _WRAPPER_CONF="%~f1"
-if not %_WRAPPER_CONF%=="" goto startup
-set _WRAPPER_CONF="%_REALPATH%..\conf\wrapper.conf"
-
-rem
-rem Start the Wrapper
-rem
-:startup
-"%_WRAPPER_EXE%" -c %_WRAPPER_CONF%
-if not errorlevel 1 goto :eof
-pause
-
diff --git a/build/bin/win/UninstallRestlet-NT.bat b/build/bin/win/UninstallRestlet-NT.bat
deleted file mode 100644
index 38497a3bf1..0000000000
--- a/build/bin/win/UninstallRestlet-NT.bat
+++ /dev/null
@@ -1,50 +0,0 @@
-@echo off
-setlocal
-
-rem Copyright (c) 1999, 2006 Tanuki Software Inc.
-rem
-rem Java Service Wrapper general NT service uninstall script
-rem
-
-if "%OS%"=="Windows_NT" goto nt
-echo This script only works with NT-based versions of Windows.
-goto :eof
-
-:nt
-rem
-rem Find the application home.
-rem
-rem %~dp0 is location of current script under NT
-set _REALPATH=%~dp0
-
-rem Decide on the wrapper binary.
-set _WRAPPER_BASE=wrapper
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
-if exist %_WRAPPER_EXE% goto conf
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
-if exist %_WRAPPER_EXE% goto conf
-set _WRAPPER_EXE=%_REALPATH%%_WRAPPER_BASE%.exe
-if exist %_WRAPPER_EXE% goto conf
-echo Unable to locate a Wrapper executable using any of the following names:
-echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-32.exe
-echo %_REALPATH%%_WRAPPER_BASE%-windows-x86-64.exe
-echo %_REALPATH%%_WRAPPER_BASE%.exe
-pause
-goto :eof
-
-rem
-rem Find the wrapper.conf
-rem
-:conf
-set _WRAPPER_CONF="%~f1"
-if not %_WRAPPER_CONF%=="" goto startup
-set _WRAPPER_CONF="%_REALPATH%..\conf\wrapper.conf"
-
-rem
-rem Uninstall the Wrapper as an NT service.
-rem
-:startup
-"%_WRAPPER_EXE%" -r %_WRAPPER_CONF%
-if not errorlevel 1 goto :eof
-pause
-
diff --git a/build/bin/win/wrapper.exe b/build/bin/win/wrapper.exe
deleted file mode 100644
index b4cfc557c0..0000000000
Binary files a/build/bin/win/wrapper.exe and /dev/null differ
diff --git a/build/build.properties b/build/build.properties
index 56553ffee7..951fbae4c0 100644
--- a/build/build.properties
+++ b/build/build.properties
@@ -3,8 +3,8 @@
# =======================================================================
# The version numbers
-major-number: 2
-minor-number: 3
+major-number: 3
+minor-number: 0
# the last figure of the real release number: e.g. 1 in "2.2m1", "2.3rc1", "2.4.1"
release-number:
# choose among: final, snapshot, rc, milestone
diff --git a/build/build.xml b/build/build.xml
index 7a087ff629..502db2eb98 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -1,4 +1,4 @@
-
+
-
+
+-->
@@ -200,7 +200,7 @@
@@ -223,7 +223,7 @@
diff --git a/build/tmpl/bundles/bndModule.tmpl b/build/tmpl/bundles/bndModule.tmpl
old mode 100755
new mode 100644
diff --git a/build/tmpl/eclipse/eclipseproject.tmpl b/build/tmpl/eclipse/eclipseproject.tmpl
old mode 100755
new mode 100644
diff --git a/build/tmpl/eclipse/formatter.xml b/build/tmpl/eclipse/formatter.xml
index 0e6cc196c0..fc90288947 100644
--- a/build/tmpl/eclipse/formatter.xml
+++ b/build/tmpl/eclipse/formatter.xml
@@ -1,264 +1,291 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
diff --git a/build/tmpl/eclipse/library.build.properties.tmpl b/build/tmpl/eclipse/library.build.properties.tmpl
old mode 100755
new mode 100644
diff --git a/build/tmpl/eclipse/library.classpath.tmpl b/build/tmpl/eclipse/library.classpath.tmpl
old mode 100755
new mode 100644
diff --git a/build/tmpl/eclipse/library.project.tmpl b/build/tmpl/eclipse/library.project.tmpl
old mode 100755
new mode 100644
diff --git a/build/tmpl/eclipse/module.project.tmpl b/build/tmpl/eclipse/module.project.tmpl
old mode 100755
new mode 100644
diff --git a/build/tmpl/editions/build.xml b/build/tmpl/editions/build.xml
index 7b4391ed02..bd875a3722 100644
--- a/build/tmpl/editions/build.xml
+++ b/build/tmpl/editions/build.xml
@@ -1,4 +1,4 @@
-
+
+
+
@@ -825,16 +831,29 @@
- See the JUnit log file for more details: ${temp}/test/TEST-org.restlet.test.RestletTestSuite.txt.
-
+ See the JUnit log file for more details: ${temp}/test/TEST-org.restlet.test.RestletTestSuite.xml.
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -875,17 +894,6 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/build/tmpl/editions/gaeJdkClassesWhiteList.txt b/build/tmpl/editions/gaeJdkClassesWhiteList.txt
index bbf1d4db4c..7050454d31 100644
--- a/build/tmpl/editions/gaeJdkClassesWhiteList.txt
+++ b/build/tmpl/editions/gaeJdkClassesWhiteList.txt
@@ -31,6 +31,7 @@ java.beans.PropertyEditorManager
java.beans.PropertyEditorSupport
java.beans.PropertyVetoException
java.beans.SimpleBeanInfo
+java.beans.Transient
java.beans.VetoableChangeListener
java.beans.VetoableChangeListenerProxy
java.beans.VetoableChangeSupport
@@ -137,7 +138,9 @@ java.lang.ArithmeticException
java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayStoreException
java.lang.AssertionError
+java.lang.AutoCloseable
java.lang.Boolean
+java.lang.BootstrapMethodError
java.lang.Byte
java.lang.CharSequence
java.lang.Character
@@ -147,6 +150,7 @@ java.lang.ClassCircularityError
java.lang.ClassFormatError
java.lang.ClassLoader
java.lang.ClassNotFoundException
+java.lang.ClassValue
java.lang.CloneNotSupportedException
java.lang.Cloneable
java.lang.Comparable
@@ -191,10 +195,12 @@ java.lang.Override
java.lang.Package
java.lang.Process
java.lang.Readable
+java.lang.ReflectiveOperationException
java.lang.Runnable
java.lang.Runtime
java.lang.RuntimeException
java.lang.RuntimePermission
+java.lang.SafeVarargs
java.lang.SecurityException
java.lang.SecurityManager
java.lang.Short
@@ -230,6 +236,16 @@ java.lang.annotation.Inherited
java.lang.annotation.Retention
java.lang.annotation.RetentionPolicy
java.lang.annotation.Target
+java.lang.invoke.CallSite
+java.lang.invoke.ConstantCallSite
+java.lang.invoke.MethodHandle
+java.lang.invoke.MethodHandleProxies
+java.lang.invoke.MethodHandles
+java.lang.invoke.MethodType
+java.lang.invoke.MutableCallSite
+java.lang.invoke.SwitchPoint
+java.lang.invoke.VolatileCallSite
+java.lang.invoke.WrongMethodTypeException
java.lang.ref.PhantomReference
java.lang.ref.Reference
java.lang.ref.ReferenceQueue
@@ -268,6 +284,9 @@ java.net.ConnectException
java.net.ContentHandler
java.net.ContentHandlerFactory
java.net.CookieHandler
+java.net.DatagramPacket
+java.net.DatagramSocket
+java.net.DatagramSocketImpl
java.net.DatagramSocketImplFactory
java.net.FileNameMap
java.net.HttpCookie
@@ -277,6 +296,7 @@ java.net.IDN
java.net.Inet4Address
java.net.Inet6Address
java.net.InetAddress
+java.net.InetSocketAddress
java.net.JarURLConnection
java.net.MalformedURLException
java.net.NetPermission
@@ -285,11 +305,19 @@ java.net.NoRouteToHostException
java.net.PasswordAuthentication
java.net.PortUnreachableException
java.net.ProtocolException
+java.net.ProtocolFamily
+java.net.Proxy
+java.net.Socket
+java.net.SocketAddress
java.net.SocketException
+java.net.SocketImpl
java.net.SocketImplFactory
+java.net.SocketOption
java.net.SocketOptions
java.net.SocketPermission
java.net.SocketTimeoutException
+java.net.StandardProtocolFamily
+java.net.StandardSocketOptions
java.net.URI
java.net.URISyntaxException
java.net.URL
@@ -297,7 +325,6 @@ java.net.URLClassLoader
java.net.URLConnection
java.net.URLDecoder
java.net.URLEncoder
-java.net.URLStreamHandler
java.net.URLStreamHandlerFactory
java.net.UnknownHostException
java.net.UnknownServiceException
@@ -338,6 +365,7 @@ java.nio.channels.NotYetConnectedException
java.nio.channels.OverlappingFileLockException
java.nio.channels.ReadableByteChannel
java.nio.channels.ScatteringByteChannel
+java.nio.channels.SeekableByteChannel
java.nio.channels.SelectableChannel
java.nio.channels.SelectionKey
java.nio.channels.Selector
@@ -357,6 +385,7 @@ java.nio.charset.CoderResult
java.nio.charset.CodingErrorAction
java.nio.charset.IllegalCharsetNameException
java.nio.charset.MalformedInputException
+java.nio.charset.StandardCharsets
java.nio.charset.UnmappableCharacterException
java.nio.charset.UnsupportedCharsetException
java.nio.charset.spi.CharsetProvider
@@ -441,6 +470,7 @@ java.security.acl.Owner
java.security.acl.Permission
java.security.cert.CRL
java.security.cert.CRLException
+java.security.cert.CRLReason
java.security.cert.CRLSelector
java.security.cert.CertPath
java.security.cert.CertPathBuilder
@@ -465,13 +495,16 @@ java.security.cert.CertificateFactory
java.security.cert.CertificateFactorySpi
java.security.cert.CertificateNotYetValidException
java.security.cert.CertificateParsingException
+java.security.cert.CertificateRevokedException
java.security.cert.CollectionCertStoreParameters
+java.security.cert.Extension
java.security.cert.LDAPCertStoreParameters
java.security.cert.PKIXBuilderParameters
java.security.cert.PKIXCertPathBuilderResult
java.security.cert.PKIXCertPathChecker
java.security.cert.PKIXCertPathValidatorResult
java.security.cert.PKIXParameters
+java.security.cert.PKIXReason
java.security.cert.PolicyNode
java.security.cert.PolicyQualifierInfo
java.security.cert.TrustAnchor
@@ -537,6 +570,7 @@ java.sql.DriverPropertyInfo
java.sql.NClob
java.sql.ParameterMetaData
java.sql.PreparedStatement
+java.sql.PseudoColumnUsage
java.sql.Ref
java.sql.ResultSet
java.sql.ResultSetMetaData
@@ -636,6 +670,7 @@ java.util.IllegalFormatException
java.util.IllegalFormatFlagsException
java.util.IllegalFormatPrecisionException
java.util.IllegalFormatWidthException
+java.util.IllformedLocaleException
java.util.InputMismatchException
java.util.InvalidPropertiesFormatException
java.util.Iterator
@@ -653,6 +688,7 @@ java.util.MissingResourceException
java.util.NavigableMap
java.util.NavigableSet
java.util.NoSuchElementException
+java.util.Objects
java.util.Observable
java.util.Observer
java.util.PriorityQueue
@@ -692,6 +728,7 @@ java.util.concurrent.Callable
java.util.concurrent.CancellationException
java.util.concurrent.CompletionService
java.util.concurrent.ConcurrentHashMap
+java.util.concurrent.ConcurrentLinkedDeque
java.util.concurrent.ConcurrentLinkedQueue
java.util.concurrent.ConcurrentMap
java.util.concurrent.ConcurrentNavigableMap
@@ -709,11 +746,18 @@ java.util.concurrent.Executor
java.util.concurrent.ExecutorCompletionService
java.util.concurrent.ExecutorService
java.util.concurrent.Executors
+java.util.concurrent.ForkJoinPool
+java.util.concurrent.ForkJoinTask
+java.util.concurrent.ForkJoinWorkerThread
java.util.concurrent.Future
java.util.concurrent.FutureTask
java.util.concurrent.LinkedBlockingDeque
java.util.concurrent.LinkedBlockingQueue
+java.util.concurrent.LinkedTransferQueue
+java.util.concurrent.Phaser
java.util.concurrent.PriorityBlockingQueue
+java.util.concurrent.RecursiveAction
+java.util.concurrent.RecursiveTask
java.util.concurrent.RejectedExecutionException
java.util.concurrent.RejectedExecutionHandler
java.util.concurrent.RunnableFuture
@@ -724,9 +768,11 @@ java.util.concurrent.ScheduledThreadPoolExecutor
java.util.concurrent.Semaphore
java.util.concurrent.SynchronousQueue
java.util.concurrent.ThreadFactory
+java.util.concurrent.ThreadLocalRandom
java.util.concurrent.ThreadPoolExecutor
java.util.concurrent.TimeUnit
java.util.concurrent.TimeoutException
+java.util.concurrent.TransferQueue
java.util.concurrent.atomic.AtomicBoolean
java.util.concurrent.atomic.AtomicInteger
java.util.concurrent.atomic.AtomicIntegerArray
@@ -764,7 +810,6 @@ java.util.logging.LogRecord
java.util.logging.Logger
java.util.logging.LoggingMXBean
java.util.logging.LoggingPermission
-java.util.logging.LogManager
java.util.logging.MemoryHandler
java.util.logging.SimpleFormatter
java.util.logging.StreamHandler
@@ -903,7 +948,19 @@ javax.crypto.spec.PSource
javax.crypto.spec.RC2ParameterSpec
javax.crypto.spec.RC5ParameterSpec
javax.crypto.spec.SecretKeySpec
+javax.jws.HandlerChain
+javax.jws.Oneway
+javax.jws.WebMethod
+javax.jws.WebParam
+javax.jws.WebResult
+javax.jws.WebService
+javax.jws.soap.InitParam
+javax.jws.soap.SOAPBinding
+javax.jws.soap.SOAPMessageHandler
+javax.jws.soap.SOAPMessageHandlers
+javax.lang.model.AnnotatedConstruct
javax.lang.model.SourceVersion
+javax.lang.model.UnknownEntityException
javax.lang.model.element.AnnotationMirror
javax.lang.model.element.AnnotationValue
javax.lang.model.element.AnnotationValueVisitor
@@ -915,6 +972,8 @@ javax.lang.model.element.Modifier
javax.lang.model.element.Name
javax.lang.model.element.NestingKind
javax.lang.model.element.PackageElement
+javax.lang.model.element.Parameterizable
+javax.lang.model.element.QualifiedNameable
javax.lang.model.element.TypeElement
javax.lang.model.element.TypeParameterElement
javax.lang.model.element.UnknownAnnotationValueException
@@ -934,20 +993,67 @@ javax.lang.model.type.TypeKind
javax.lang.model.type.TypeMirror
javax.lang.model.type.TypeVariable
javax.lang.model.type.TypeVisitor
+javax.lang.model.type.UnionType
javax.lang.model.type.UnknownTypeException
javax.lang.model.type.WildcardType
javax.lang.model.util.AbstractAnnotationValueVisitor6
+javax.lang.model.util.AbstractAnnotationValueVisitor7
javax.lang.model.util.AbstractElementVisitor6
+javax.lang.model.util.AbstractElementVisitor7
javax.lang.model.util.AbstractTypeVisitor6
+javax.lang.model.util.AbstractTypeVisitor7
javax.lang.model.util.ElementFilter
javax.lang.model.util.ElementKindVisitor6
+javax.lang.model.util.ElementKindVisitor7
javax.lang.model.util.ElementScanner6
+javax.lang.model.util.ElementScanner7
javax.lang.model.util.Elements
javax.lang.model.util.SimpleAnnotationValueVisitor6
+javax.lang.model.util.SimpleAnnotationValueVisitor7
javax.lang.model.util.SimpleElementVisitor6
+javax.lang.model.util.SimpleElementVisitor7
javax.lang.model.util.SimpleTypeVisitor6
+javax.lang.model.util.SimpleTypeVisitor7
javax.lang.model.util.TypeKindVisitor6
+javax.lang.model.util.TypeKindVisitor7
javax.lang.model.util.Types
+javax.net.DefaultSocketFactory
+javax.net.SocketFactory
+javax.net.ssl.CertPathTrustManagerParameters
+javax.net.ssl.DefaultSSLServerSocketFactory
+javax.net.ssl.DefaultSSLSocketFactory
+javax.net.ssl.HandshakeCompletedEvent
+javax.net.ssl.HandshakeCompletedListener
+javax.net.ssl.HostnameVerifier
+javax.net.ssl.HttpsURLConnection
+javax.net.ssl.KeyManager
+javax.net.ssl.KeyManagerFactory
+javax.net.ssl.KeyManagerFactorySpi
+javax.net.ssl.KeyStoreBuilderParameters
+javax.net.ssl.ManagerFactoryParameters
+javax.net.ssl.SSLContext
+javax.net.ssl.SSLContextSpi
+javax.net.ssl.SSLEngine
+javax.net.ssl.SSLEngineResult
+javax.net.ssl.SSLException
+javax.net.ssl.SSLHandshakeException
+javax.net.ssl.SSLKeyException
+javax.net.ssl.SSLParameters
+javax.net.ssl.SSLPeerUnverifiedException
+javax.net.ssl.SSLPermission
+javax.net.ssl.SSLProtocolException
+javax.net.ssl.SSLSession
+javax.net.ssl.SSLSessionBindingEvent
+javax.net.ssl.SSLSessionBindingListener
+javax.net.ssl.SSLSessionContext
+javax.net.ssl.SSLSocket
+javax.net.ssl.SSLSocketFactory
+javax.net.ssl.TrustManager
+javax.net.ssl.TrustManagerFactory
+javax.net.ssl.TrustManagerFactorySpi
+javax.net.ssl.X509ExtendedKeyManager
+javax.net.ssl.X509KeyManager
+javax.net.ssl.X509TrustManager
javax.script.AbstractScriptEngine
javax.script.Bindings
javax.script.Compilable
@@ -1041,6 +1147,7 @@ javax.sql.rowset.JdbcRowSet
javax.sql.rowset.JoinRowSet
javax.sql.rowset.Joinable
javax.sql.rowset.Predicate
+javax.sql.rowset.RowSetFactory
javax.sql.rowset.RowSetMetaDataImpl
javax.sql.rowset.RowSetWarning
javax.sql.rowset.WebRowSet
@@ -1079,6 +1186,7 @@ javax.xml.bind.JAXBContext
javax.xml.bind.JAXBElement
javax.xml.bind.JAXBException
javax.xml.bind.JAXBIntrospector
+javax.xml.bind.JAXBPermission
javax.xml.bind.MarshalException
javax.xml.bind.Marshaller
javax.xml.bind.NotIdentifiableEvent
@@ -1149,6 +1257,61 @@ javax.xml.bind.helpers.ValidationEventLocatorImpl
javax.xml.bind.util.JAXBResult
javax.xml.bind.util.JAXBSource
javax.xml.bind.util.ValidationEventCollector
+javax.xml.crypto.AlgorithmMethod
+javax.xml.crypto.Data
+javax.xml.crypto.KeySelector
+javax.xml.crypto.KeySelectorException
+javax.xml.crypto.KeySelectorResult
+javax.xml.crypto.MarshallException
+javax.xml.crypto.NoSuchMechanismException
+javax.xml.crypto.NodeSetData
+javax.xml.crypto.OctetStreamData
+javax.xml.crypto.URIDereferencer
+javax.xml.crypto.URIReference
+javax.xml.crypto.URIReferenceException
+javax.xml.crypto.XMLCryptoContext
+javax.xml.crypto.XMLStructure
+javax.xml.crypto.dom.DOMCryptoContext
+javax.xml.crypto.dom.DOMStructure
+javax.xml.crypto.dom.DOMURIReferecne
+javax.xml.crypto.dsig.CanonicalizationMethod
+javax.xml.crypto.dsig.DigestMethod
+javax.xml.crypto.dsig.Manifest
+javax.xml.crypto.dsig.Reference
+javax.xml.crypto.dsig.SignatureMethod
+javax.xml.crypto.dsig.SignatureProperties
+javax.xml.crypto.dsig.SignatureProperty
+javax.xml.crypto.dsig.SignedInfo
+javax.xml.crypto.dsig.Transform
+javax.xml.crypto.dsig.TransformException
+javax.xml.crypto.dsig.TransformService
+javax.xml.crypto.dsig.XMLObject
+javax.xml.crypto.dsig.XMLSignContext
+javax.xml.crypto.dsig.XMLSignature
+javax.xml.crypto.dsig.XMLSignatureException
+javax.xml.crypto.dsig.XMLSignatureFactory
+javax.xml.crypto.dsig.XMLValidateContext
+javax.xml.crypto.dsig.dom.DOMSignContext
+javax.xml.crypto.dsig.dom.DOMValidateContext
+javax.xml.crypto.dsig.keyinfo.KeyInfo
+javax.xml.crypto.dsig.keyinfo.KeyInfoFactory
+javax.xml.crypto.dsig.keyinfo.KeyName
+javax.xml.crypto.dsig.keyinfo.KeyValue
+javax.xml.crypto.dsig.keyinfo.PGPData
+javax.xml.crypto.dsig.keyinfo.RetrievalMethod
+javax.xml.crypto.dsig.keyinfo.X509Data
+javax.xml.crypto.dsig.keyinfo.X509IssuerSerial
+javax.xml.crypto.dsig.spec.C14NMethodParameterSpec
+javax.xml.crypto.dsig.spec.DigestMethodParameterSpec
+javax.xml.crypto.dsig.spec.ExcC14NParameterSpec
+javax.xml.crypto.dsig.spec.HMACParameterSpec
+javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec
+javax.xml.crypto.dsig.spec.TransformParameterSpec
+javax.xml.crypto.dsig.spec.XPathFilter2ParameterSpec
+javax.xml.crypto.dsig.spec.XPathFilterParameterSpec
+javax.xml.crypto.dsig.spec.XPathType
+javax.xml.crypto.dsig.spec.XPathType.Filter
+javax.xml.crypto.dsig.spec.XSLTTransformParameterSpec
javax.xml.datatype.DatatypeConfigurationException
javax.xml.datatype.DatatypeConstants
javax.xml.datatype.DatatypeFactory
@@ -1252,6 +1415,60 @@ javax.xml.validation.SchemaFactoryLoader
javax.xml.validation.TypeInfoProvider
javax.xml.validation.Validator
javax.xml.validation.ValidatorHandler
+javax.xml.ws.Action
+javax.xml.ws.AsyncHandler
+javax.xml.ws.Binding
+javax.xml.ws.BindingProvider
+javax.xml.ws.BindingType
+javax.xml.ws.Dispatch
+javax.xml.ws.Endpoint
+javax.xml.ws.EndpointContext
+javax.xml.ws.EndpointReference
+javax.xml.ws.FaultAction
+javax.xml.ws.Holder
+javax.xml.ws.LogicalMessage
+javax.xml.ws.ProtocolException
+javax.xml.ws.Provider
+javax.xml.ws.RequestWrapper
+javax.xml.ws.RespectBinding
+javax.xml.ws.RespectBindingFeature
+javax.xml.ws.Response
+javax.xml.ws.ResponseWrapper
+javax.xml.ws.Service
+javax.xml.ws.ServiceMode
+javax.xml.ws.WebEndpoint
+javax.xml.ws.WebFault
+javax.xml.ws.WebServiceClient
+javax.xml.ws.WebServiceContext
+javax.xml.ws.WebServiceException
+javax.xml.ws.WebServiceFeature
+javax.xml.ws.WebServicePermission
+javax.xml.ws.WebServiceProvider
+javax.xml.ws.WebServiceRef
+javax.xml.ws.WebServiceRefs
+javax.xml.ws.handler.Handler
+javax.xml.ws.handler.HandlerResolver
+javax.xml.ws.handler.LogicalHandler
+javax.xml.ws.handler.LogicalMessageContext
+javax.xml.ws.handler.MessageContext
+javax.xml.ws.handler.PortInfo
+javax.xml.ws.handler.soap.SOAPHandler
+javax.xml.ws.handler.soap.SOAPMessageContext
+javax.xml.ws.soap.Addressing
+javax.xml.ws.soap.AddressingFeature
+javax.xml.ws.soap.MTOM
+javax.xml.ws.soap.MTOMFeature
+javax.xml.ws.soap.SOAPBinding
+javax.xml.ws.soap.SOAPFaultException
+javax.xml.ws.spi.Invoker
+javax.xml.ws.spi.Provider
+javax.xml.ws.spi.ServiceDelegate
+javax.xml.ws.spi.WebServiceFeatureAnnotation
+javax.xml.ws.spi.http.HttpContext
+javax.xml.ws.spi.http.HttpExchange
+javax.xml.ws.spi.http.HttpHandler
+javax.xml.ws.wsaddressing.W3CEndpointReference
+javax.xml.ws.wsaddressing.W3CEndpointReferenceBuilder
javax.xml.xpath.XPath
javax.xml.xpath.XPathConstants
javax.xml.xpath.XPathException
@@ -1438,3 +1655,4 @@ org.xml.sax.helpers.ParserFactory
org.xml.sax.helpers.XMLFilterImpl
org.xml.sax.helpers.XMLReaderAdapter
org.xml.sax.helpers.XMLReaderFactory
+
diff --git a/build/tmpl/editions/libraries.properties b/build/tmpl/editions/libraries.properties
index 3516844992..0704e9f90f 100644
--- a/build/tmpl/editions/libraries.properties
+++ b/build/tmpl/editions/libraries.properties
@@ -13,7 +13,7 @@ lib-${package.id}-version: ${library.minorVersion}
<#if library.homeUri??>lib-${package.id}-home-uri: ${library.homeUri}#if>
<#if library.downloadUri??>lib-${package.id}-download-uri: ${library.downloadUri}#if>
lib-${package.id}-maven-groupId: org.restlet.${edition.id}
-lib-${package.id}-maven-artifactId: <#if library.distributions?seq_contains("maven")>org.restlet.lib.#if><#if package.mavenArtifactId??>${package.mavenArtifactId}<#else>${package.name}#if>
+lib-${package.id}-maven-artifactId: ${package.mavenArtifactId}
lib-${package.id}-maven-version: <#if package.mavenVersion??>${package.mavenVersion}<#else>${library.minorVersion}<#if library.versionSuffix??>.${library.versionSuffix}#if>#if>
#list>
#list>
diff --git a/build/tmpl/editions/org.restlet.parent.pom.tmpl b/build/tmpl/editions/org.restlet.parent.pom.tmpl
index 972f7a272e..5a7e5ed59a 100644
--- a/build/tmpl/editions/org.restlet.parent.pom.tmpl
+++ b/build/tmpl/editions/org.restlet.parent.pom.tmpl
@@ -38,11 +38,6 @@
Restlet repositoryhttp://maven.restlet.org
-
- maven-db4o
- Db4o repository
- https://source.db4o.com/maven/
-
@@ -111,4 +106,4 @@
-
\ No newline at end of file
+
diff --git a/build/tmpl/editions/pom.tmpl b/build/tmpl/editions/pom.tmpl
index cf63d937e7..25cb69749a 100644
--- a/build/tmpl/editions/pom.tmpl
+++ b/build/tmpl/editions/pom.tmpl
@@ -7,7 +7,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0org.restlet.${edition.id}
- org.restlet.lib.<#if package.mavenArtifactId??>${package.mavenArtifactId}<#else>${package.name}#if>
+ ${package.mavenArtifactId}
<#if package.mavenVersion??>
${package.mavenVersion}
<#else>
@@ -30,7 +30,7 @@
<#if dependency.library.distributions?contains("maven")>
org.restlet.${edition.id}
- org.restlet.lib.<#if package.mavenArtifactId??>${package.mavenArtifactId}<#else>${package.name}#if>
+ ${package.mavenArtifactId}${dependency.library.minorVersion}<#if dependency.library.versionSuffix??>.${dependency.library.versionSuffix}#if>
<#else>
${package.mavenGroupId}
@@ -82,16 +82,12 @@
${package.name}
#if>
#if>
- <#if dependency.library.distributions?contains("maven")>org.restlet.lib.#if><#if package.mavenArtifactId??>${package.mavenArtifactId}<#else>${package.name}#if>
- <#if dependency.library.distributions?contains("maven")>
- <#noparse>${lib-#noparse>${dependency.library.id}-version}
- <#else>
- <#if package.mavenVersion??>
+ ${package.mavenArtifactId}
+ <#if package.mavenVersion??>
${package.mavenVersion}
- <#else>
+ <#else>
${dependency.library.minorVersion}<#if dependency.library.versionSuffix??>.${dependency.library.versionSuffix}#if>
- #if>
- #if>
+ #if>
<#if dependency.mavenScope??>${dependency.mavenScope}#if>
#list>
diff --git a/build/tmpl/poms/org.restlet.parent.pom b/build/tmpl/poms/org.restlet.parent.pom
index cf31eb53aa..f9a5ab56bf 100644
--- a/build/tmpl/poms/org.restlet.parent.pom
+++ b/build/tmpl/poms/org.restlet.parent.pom
@@ -64,11 +64,6 @@
Restlet repositoryhttp://maven.restlet.org
-
- maven-db4o
- Db4o repository
- https://source.db4o.com/maven/
-
@@ -160,4 +155,4 @@
-
\ No newline at end of file
+
diff --git a/build/tmpl/poms/org.restlet.parent.pom.tmpl b/build/tmpl/poms/org.restlet.parent.pom.tmpl
index bd3e61c9a7..65a66fe795 100644
--- a/build/tmpl/poms/org.restlet.parent.pom.tmpl
+++ b/build/tmpl/poms/org.restlet.parent.pom.tmpl
@@ -60,11 +60,6 @@
Restlet repositoryhttp://maven.restlet.org
-
- maven-db4o
- Db4o repository
- https://source.db4o.com/maven/
-
@@ -124,4 +119,4 @@
-
\ No newline at end of file
+
diff --git a/build/tmpl/poms/pom.tmpl b/build/tmpl/poms/pom.tmpl
index 910e14bfb9..a61c1f56b3 100644
--- a/build/tmpl/poms/pom.tmpl
+++ b/build/tmpl/poms/pom.tmpl
@@ -31,7 +31,7 @@
${package.name}
#if>
#if>
- <#if dependency.library.distributions?contains("maven")>org.restlet.lib.#if><#if package.mavenArtifactId??>${package.mavenArtifactId}<#else>${package.name}#if>
+ ${package.mavenArtifactId}
<#if dependency.library.distributions?contains("maven")>
<#noparse>${lib-#noparse>${dependency.library.id}-version}
<#else>
@@ -63,4 +63,4 @@
@pp.nestOutputFile>
-#list>
\ No newline at end of file
+#list>
diff --git a/build/tmpl/text/changes.txt b/build/tmpl/text/changes.txt
index 08ad3005e8..61843176aa 100644
--- a/build/tmpl/text/changes.txt
+++ b/build/tmpl/text/changes.txt
@@ -4,96 +4,43 @@ Changes log
===========
- @version-full@ (@release-date@)
- - New features
- -
-
- - Enhancements
- - Updated agent.properties file with recent Opera user agent signature.
- - Added Resource#toRepresentation(Object, MediaType) convenience method.
- - Added ConverterService#toRepresentation(Object, MediaType) convenience method.
- - Added ConverterService#toRepresentation(Object, Variant) convenience method.
- - Added static Resource#toInteger, toFloat, toByte, toLong, toDouble, toBoolean
- methods accepting 'null' string values to facilitate the processing of path
- variables and query parameters.
- - Renamed StatusService methods from getRepresentation(...) and getStatus(...) to
- toRepresentation(...) and toStatus(...), added additional parameters to allow
- access to throwable and converter service if available.
- - Aligned behavior of StatusService (underlying StatusFilter) with the behavior of
- the ServerResource#doCatch() method in case a throwable is intercepted.
- - Added org.restlet.resource.@Status annotation type to automatically convert
- Throwable Java classes between HTTP statuses and error response entities.
- NOTE: implementation is in progress.
- - StatusService.toStatus(Throwable, ...) methods now support @Status annotations
- to set the proper code.
-
- - Bug fixed
- - ObjectRepresentation wasn't closing a Decoder in case reading exceptions occured.
- - ServerResource#doCatch() method wasn't invoking StatusService to set the error
- representation if empty.
-
-- 2.3 Milestone 2 (05/06/2014)
- - New features
- - APISpark extension now includes an Introspector service (see main method) that
- can analyze a Restlet Application, introspect its web API definition and push
- it to APISpark.com PaaS for online and intuive documentation. Added user guide
- page to describe the process and parameters. API contract can be created or
- updated (replaced) remotely.
-
+ - API changes
+ - Enhanced HTML extension (moved StatusInfoConverter). Issue #1005.
+ - Reference scheme reverts to http when using https. Issue #998.
+ Reported by Stephen C. Pope.
+ - Removed previous attempts to add asynchronous representation
+ handling to make room for simpler solution based on Netty.
+ - Removed WebDAV methods in Method class and engine.
+ - Removed deprecated StatusService from Component. Please use the
+ StatusService in Application instead.
+ - Added bytes array support in DefaultConverter and Representation
+ (via getBytes() method).
- Enhancements
- - Added HTTPS support to Jetty connector. Issue #793.
- Contributed by Tal Liron.
- - ServletWarEntity and ZipEntryEntity ignore the timeToLive parameter. Issue #866.
- Reported and contributed by Jeremy Gustie.
- - ServletWarEntity is limited to file system modification dates. Issue #868.
- Reported and contributed by Jeremy Gustie.
-
- - Bug fixed
- - Added copy of Servlet request parameters to the Restlet request attributes. Issue #741.
- Reported by Steve Rowe and contributed by Jeremy Gustie.
- - Stripped Servlet container generated "jsessionid" matrix parameter. Issue #770
- Reported and contributed by Jeremy Gustie.
- - Fixed CompositeHelper.handle fails when Component has no inbound filters. Issue #865.
- Reported and contributed by Jeremy Gustie.
- - Fixed missing internal FTP client connector registration.
- - Fixed missing internal HTTPS server isn't properly registered.
- Reported by Roy Olsen.
- - Fixed forgotten traces to the console #911, #905, #904.
- Reported by Emanuele Massara.
- - Fixed missing default values for DefaultSslContextFactory attributes, issue #903.
- - Prevented NPE in org.httpclient.internal.HttpMethodCall.getStatusCode, issue #871.
- Reported by Claus Ibsen.
- - Stabilized Swagger documentation for JAX-RS applications. Issue #827.
-
+ - Added Netty connector.
+ - Bugs
+ - Reintroduced registration by default of the internal HTTP server
+ connectors in JEE edition.
+ - FormDataSet not properly serializing text/plain files. Issue #1006.
+ Reported by John Aylward.
+ - Fixed fileupload extension for GAE and JEE editions.
+ - Fixed potential NPE. Issue #1004.
+ Reported by Philippe Perrault.
+ - Fixed malformed JSON in the JsonpRepresentation.
+ Reported by Wagner Correa Ramos.
+ - Fixed NPE when OAuth refresh token request when no scope is provided.
+ Issue #1080. Reported by Gernot Pansy.
- Misc
- - Removed unecessary ".properties" files from the distributions, issue #892.
- - Added mention of edition and version in Javadoc header.
- - Lowered trace level from 'info' to 'fine' for OBAP pseudo client.
+ - Completed the Javadocs for query parameter declarations inside
+ HTTP method annotations such as @Get("json?param=val).
+ - Removed lesser used/maintained extensions (e4, XDB)
+ - Removed connectors that will be replaced by the Netty connector
+ (Apache HTTP Client, Simple, NIO).
+ - Removed NIO related classes from Restlet Engine packages to save
+ space (we will now rely on Netty).
+ - Removed deprecated XML configuration classes.
-- 2.3 Milestone 1 (03/27/2014)
- - New features
- - Added initial APISpark extension. Issue #875.
- - Added Jetty client for HTTP and HTTPS. Issue #512.
- Contributed by Tal Liron.
-
- - Enhancements
- - Upgraded project to Java 7. Issue #874.
- - Upgraded Jetty connector to version 9.1.3. Issue #793.
- Contributed by Tal Liron.
- - Upgraded Servlet API to version 3.1.
- - Upgraded JAX-RS API to version 2.0.
- - Added JBoss RESTEasy library version 3.0.6.
- - Added Reference constructor taking two URI instances.
- - Added Message#getHeaders() method to facilitate raw HTTP
- headers manipulation. Issue #879.
- Suggested by Robert Fischer, Jack Jones and others.
- - Moved Header class to org.restlet.util package.
- - Integration of new Guice extension, issue #489.
- Reported and contributed by Tim Peierls.
+- 3.0 M1 (12/19/2014)
+ - API changes
+ - Removed lesser used/maintained extensions (JDBC, JiBX, jSSLUtils,
+ ROME, SIP, WebDAV, XStream).
- - Misc
- - Refactored test cases to test all combinations of connectors
- including server (Internal, Jetty, NIO, Simple) and
- client (Apache, Internal, Jetty, NIO)
- - Started integration of Restlet JAX-RS extension with RESTEasy.
- - Removed AJP (Tomcat protocol) support from the Jetty extension.
- Not supported anymore by Eclipse Jetty 9.1.
diff --git a/build/tmpl/text/editionsMatrix.txt b/build/tmpl/text/editionsMatrix.txt
old mode 100755
new mode 100644
diff --git a/build/tmpl/text/license.txt b/build/tmpl/text/license.txt
index a53b04eaf0..b764ef00f1 100644
--- a/build/tmpl/text/license.txt
+++ b/build/tmpl/text/license.txt
@@ -6,10 +6,9 @@ License agreement
Version 6.3, January 2012
-This software distribution, including the "Restlet API" and the "Restlet Framework",
-is provided to you under either the Apache license version 2.0 or the LGPL license
-version 3.0 or the LGPL license version 2.1 or the CDDL license version 1.0 or the
-EPL license version 1.0.
+This software distribution, including the "Restlet API" and the "Restlet Framework",
+is provided to you under either the Apache license version 2.0 or the EPL license
+version 1.0.
In addition, we want to expressly mention that Restlet, the only
copyright holder of the whole source code, has no intention to release future
@@ -199,1024 +198,6 @@ not on behalf of any other Contributor, and only if You agree to indemnify, defe
and hold each Contributor harmless for any liability incurred by, or claims asserted
against, such Contributor by reason of your accepting any such warranty or additional
liability.
-_______________________________________________________________________
-
-
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-
- This version of the GNU Lesser General Public License incorporates
-the terms and conditions of version 3 of the GNU General Public
-License, supplemented by the additional permissions listed below.
-
- 0. Additional Definitions.
-
- As used herein, "this License" refers to version 3 of the GNU Lesser
-General Public License, and the "GNU GPL" refers to version 3 of the GNU
-General Public License.
-
- "The Library" refers to a covered work governed by this License,
-other than an Application or a Combined Work as defined below.
-
- An "Application" is any work that makes use of an interface provided
-by the Library, but which is not otherwise based on the Library.
-Defining a subclass of a class defined by the Library is deemed a mode
-of using an interface provided by the Library.
-
- A "Combined Work" is a work produced by combining or linking an
-Application with the Library. The particular version of the Library
-with which the Combined Work was made is also called the "Linked
-Version".
-
- The "Minimal Corresponding Source" for a Combined Work means the
-Corresponding Source for the Combined Work, excluding any source code
-for portions of the Combined Work that, considered in isolation, are
-based on the Application, and not on the Linked Version.
-
- The "Corresponding Application Code" for a Combined Work means the
-object code and/or source code for the Application, including any data
-and utility programs needed for reproducing the Combined Work from the
-Application, but excluding the System Libraries of the Combined Work.
-
- 1. Exception to Section 3 of the GNU GPL.
-
- You may convey a covered work under sections 3 and 4 of this License
-without being bound by section 3 of the GNU GPL.
-
- 2. Conveying Modified Versions.
-
- If you modify a copy of the Library, and, in your modifications, a
-facility refers to a function or data to be supplied by an Application
-that uses the facility (other than as an argument passed when the
-facility is invoked), then you may convey a copy of the modified
-version:
-
- a) under this License, provided that you make a good faith effort to
- ensure that, in the event an Application does not supply the
- function or data, the facility still operates, and performs
- whatever part of its purpose remains meaningful, or
-
- b) under the GNU GPL, with none of the additional permissions of
- this License applicable to that copy.
-
- 3. Object Code Incorporating Material from Library Header Files.
-
- The object code form of an Application may incorporate material from
-a header file that is part of the Library. You may convey such object
-code under terms of your choice, provided that, if the incorporated
-material is not limited to numerical parameters, data structure
-layouts and accessors, or small macros, inline functions and templates
-(ten or fewer lines in length), you do both of the following:
-
- a) Give prominent notice with each copy of the object code that the
- Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the object code with a copy of the GNU GPL and this license
- document.
-
- 4. Combined Works.
-
- You may convey a Combined Work under terms of your choice that,
-taken together, effectively do not restrict modification of the
-portions of the Library contained in the Combined Work and reverse
-engineering for debugging such modifications, if you also do each of
-the following:
-
- a) Give prominent notice with each copy of the Combined Work that
- the Library is used in it and that the Library and its use are
- covered by this License.
-
- b) Accompany the Combined Work with a copy of the GNU GPL and this license
- document.
-
- c) For a Combined Work that displays copyright notices during
- execution, include the copyright notice for the Library among
- these notices, as well as a reference directing the user to the
- copies of the GNU GPL and this license document.
-
- d) Do one of the following:
-
- 0) Convey the Minimal Corresponding Source under the terms of this
- License, and the Corresponding Application Code in a form
- suitable for, and under terms that permit, the user to
- recombine or relink the Application with a modified version of
- the Linked Version to produce a modified Combined Work, in the
- manner specified by section 6 of the GNU GPL for conveying
- Corresponding Source.
-
- 1) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (a) uses at run time
- a copy of the Library already present on the user's computer
- system, and (b) will operate properly with a modified version
- of the Library that is interface-compatible with the Linked
- Version.
-
- e) Provide Installation Information, but only if you would otherwise
- be required to provide such information under section 6 of the
- GNU GPL, and only to the extent that such information is
- necessary to install and execute a modified version of the
- Combined Work produced by recombining or relinking the
- Application with a modified version of the Linked Version. (If
- you use option 4d0, the Installation Information must accompany
- the Minimal Corresponding Source and Corresponding Application
- Code. If you use option 4d1, you must provide the Installation
- Information in the manner specified by section 6 of the GNU GPL
- for conveying Corresponding Source.)
-
- 5. Combined Libraries.
-
- You may place library facilities that are a work based on the
-Library side by side in a single library together with other library
-facilities that are not Applications and are not covered by this
-License, and convey such a combined library under terms of your
-choice, if you do both of the following:
-
- a) Accompany the combined library with a copy of the same work based
- on the Library, uncombined with any other library facilities,
- conveyed under the terms of this License.
-
- b) Give prominent notice with the combined library that part of it
- is a work based on the Library, and explaining where to find the
- accompanying uncombined form of the same work.
-
- 6. Revised Versions of the GNU Lesser General Public License.
-
- The Free Software Foundation may publish revised and/or new versions
-of the GNU Lesser General Public License from time to time. Such new
-versions will be similar in spirit to the present version, but may
-differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Library as you received it specifies that a certain numbered version
-of the GNU Lesser General Public License "or any later version"
-applies to it, you have the option of following the terms and
-conditions either of that published version or of any later version
-published by the Free Software Foundation. If the Library as you
-received it does not specify a version number of the GNU Lesser
-General Public License, you may choose any version of the GNU Lesser
-General Public License ever published by the Free Software Foundation.
-
- If the Library as you received it specifies that a proxy can decide
-whether future versions of the GNU Lesser General Public License shall
-apply, that proxy's public statement of acceptance of any version is
-permanent authorization for you to choose that version for the
-Library.
-
-_______________________________________________________________________
-
-
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it. You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
- When we speak of free software, we are referring to freedom of use,
-not price. Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
- To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights. These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
- To protect each distributor, we want to make it very clear that
-there is no warranty for the free library. Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
- Finally, software patents pose a constant threat to the existence of
-any free program. We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder. Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
- Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License. This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License. We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
- When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library. The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom. The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
- We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License. It also provides other free software developers Less
-of an advantage over competing non-free programs. These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries. However, the Lesser license provides advantages in certain
-special circumstances.
-
- For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard. To achieve this, non-free programs must be
-allowed to use the library. A more frequent case is that a free
-library does the same job as widely used non-free libraries. In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
- In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software. For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
- Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
- GNU LESSER GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-writing it). Whether that is true depends on what the Library does
-and what the program that uses the Library does.
-
- 1. You may copy and distribute verbatim copies of the Library's
-complete source code as you receive it, in any medium, provided that
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library. To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License. (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.) Do not make any other change in
-these notices.
-
- Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
- This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
- 4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
- If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library". Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
- However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library". The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
- When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library. The
-threshold for this to be true is not precisely defined by law.
-
- If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work. (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
- Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
- 6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
- You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License. You must supply a copy of this License. If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License. Also, you must do one
-of these things:
-
- a) Accompany the work with the complete corresponding
- machine-readable source code for the Library including whatever
- changes were used in the work (which must be distributed under
- Sections 1 and 2 above); and, if the work is an executable linked
- with the Library, with the complete machine-readable "work that
- uses the Library", as object code and/or source code, so that the
- user can modify the Library and then relink to produce a modified
- executable containing the modified Library. (It is understood
- that the user who changes the contents of definitions files in the
- Library will not necessarily be able to recompile the application
- to use the modified definitions.)
-
- b) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (1) uses at run time a
- copy of the library already present on the user's computer system,
- rather than copying library functions into the executable, and (2)
- will operate properly with a modified version of the library, if
- the user installs one, as long as the modified version is
- interface-compatible with the version that the work was made with.
-
- c) Accompany the work with a written offer, valid for at
- least three years, to give the same user the materials
- specified in Subsection 6a, above, for a charge no more
- than the cost of performing this distribution.
-
- d) If distribution of the work is made by offering access to copy
- from a designated place, offer equivalent access to copy the above
- specified materials from the same place.
-
- e) Verify that the user has already received a copy of these
- materials or that you have already sent this user a copy.
-
- For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it. However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
- It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system. Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
- 7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
- a) Accompany the combined library with a copy of the same work
- based on the Library, uncombined with any other library
- facilities. This must be distributed under the terms of the
- Sections above.
-
- b) Give prominent notice with the combined library of the fact
- that part of it is a work based on the Library, and explaining
- where to find the accompanying uncombined form of the same work.
-
- 8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License. Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License. However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
- 9. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Library or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
- 10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
- 11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all. For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded. In such case, this License incorporates the limitation as if
-written in the body of this License.
-
- 13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation. If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
- 14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission. For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this. Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
- NO WARRANTY
-
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
-_______________________________________________________________________
-
-
-COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
-
-
- 1. Definitions.
-
- 1.1. "Contributor" means each individual or entity that
- creates or contributes to the creation of Modifications.
-
- 1.2. "Contributor Version" means the combination of the
- Original Software, prior Modifications used by a
- Contributor (if any), and the Modifications made by that
- particular Contributor.
-
- 1.3. "Covered Software" means (a) the Original Software, or
- (b) Modifications, or (c) the combination of files
- containing Original Software with files containing
- Modifications, in each case including portions thereof.
-
- 1.4. "Executable" means the Covered Software in any form
- other than Source Code.
-
- 1.5. "Initial Developer" means the individual or entity
- that first makes Original Software available under this
- License.
-
- 1.6. "Larger Work" means a work which combines Covered
- Software or portions thereof with code not governed by the
- terms of this License.
-
- 1.7. "License" means this document.
-
- 1.8. "Licensable" means having the right to grant, to the
- maximum extent possible, whether at the time of the initial
- grant or subsequently acquired, any and all of the rights
- conveyed herein.
-
- 1.9. "Modifications" means the Source Code and Executable
- form of any of the following:
-
- A. Any file that results from an addition to,
- deletion from or modification of the contents of a
- file containing Original Software or previous
- Modifications;
-
- B. Any new file that contains any part of the
- Original Software or previous Modification; or
-
- C. Any new file that is contributed or otherwise made
- available under the terms of this License.
-
- 1.10. "Original Software" means the Source Code and
- Executable form of computer software code that is
- originally released under this License.
-
- 1.11. "Patent Claims" means any patent claim(s), now owned
- or hereafter acquired, including without limitation,
- method, process, and apparatus claims, in any patent
- Licensable by grantor.
-
- 1.12. "Source Code" means (a) the common form of computer
- software code in which modifications are made and (b)
- associated documentation included in or with such code.
-
- 1.13. "You" (or "Your") means an individual or a legal
- entity exercising rights under, and complying with all of
- the terms of, this License. For legal entities, "You"
- includes any entity which controls, is controlled by, or is
- under common control with You. For purposes of this
- definition, "control" means (a) the power, direct or
- indirect, to cause the direction or management of such
- entity, whether by contract or otherwise, or (b) ownership
- of more than fifty percent (50%) of the outstanding shares
- or beneficial ownership of such entity.
-
- 2. License Grants.
-
- 2.1. The Initial Developer Grant.
-
- Conditioned upon Your compliance with Section 3.1 below and
- subject to third party intellectual property claims, the
- Initial Developer hereby grants You a world-wide,
- royalty-free, non-exclusive license:
-
- (a) under intellectual property rights (other than
- patent or trademark) Licensable by Initial Developer,
- to use, reproduce, modify, display, perform,
- sublicense and distribute the Original Software (or
- portions thereof), with or without Modifications,
- and/or as part of a Larger Work; and
-
- (b) under Patent Claims infringed by the making,
- using or selling of Original Software, to make, have
- made, use, practice, sell, and offer for sale, and/or
- otherwise dispose of the Original Software (or
- portions thereof).
-
- (c) The licenses granted in Sections 2.1(a) and (b)
- are effective on the date Initial Developer first
- distributes or otherwise makes the Original Software
- available to a third party under the terms of this
- License.
-
- (d) Notwithstanding Section 2.1(b) above, no patent
- license is granted: (1) for code that You delete from
- the Original Software, or (2) for infringements
- caused by: (i) the modification of the Original
- Software, or (ii) the combination of the Original
- Software with other software or devices.
-
- 2.2. Contributor Grant.
-
- Conditioned upon Your compliance with Section 3.1 below and
- subject to third party intellectual property claims, each
- Contributor hereby grants You a world-wide, royalty-free,
- non-exclusive license:
-
- (a) under intellectual property rights (other than
- patent or trademark) Licensable by Contributor to
- use, reproduce, modify, display, perform, sublicense
- and distribute the Modifications created by such
- Contributor (or portions thereof), either on an
- unmodified basis, with other Modifications, as
- Covered Software and/or as part of a Larger Work; and
-
-
- (b) under Patent Claims infringed by the making,
- using, or selling of Modifications made by that
- Contributor either alone and/or in combination with
- its Contributor Version (or portions of such
- combination), to make, use, sell, offer for sale,
- have made, and/or otherwise dispose of: (1)
- Modifications made by that Contributor (or portions
- thereof); and (2) the combination of Modifications
- made by that Contributor with its Contributor Version
- (or portions of such combination).
-
- (c) The licenses granted in Sections 2.2(a) and
- 2.2(b) are effective on the date Contributor first
- distributes or otherwise makes the Modifications
- available to a third party.
-
- (d) Notwithstanding Section 2.2(b) above, no patent
- license is granted: (1) for any code that Contributor
- has deleted from the Contributor Version; (2) for
- infringements caused by: (i) third party
- modifications of Contributor Version, or (ii) the
- combination of Modifications made by that Contributor
- with other software (except as part of the
- Contributor Version) or other devices; or (3) under
- Patent Claims infringed by Covered Software in the
- absence of Modifications made by that Contributor.
-
- 3. Distribution Obligations.
-
- 3.1. Availability of Source Code.
-
- Any Covered Software that You distribute or otherwise make
- available in Executable form must also be made available in
- Source Code form and that Source Code form must be
- distributed only under the terms of this License. You must
- include a copy of this License with every copy of the
- Source Code form of the Covered Software You distribute or
- otherwise make available. You must inform recipients of any
- such Covered Software in Executable form as to how they can
- obtain such Covered Software in Source Code form in a
- reasonable manner on or through a medium customarily used
- for software exchange.
-
- 3.2. Modifications.
-
- The Modifications that You create or to which You
- contribute are governed by the terms of this License. You
- represent that You believe Your Modifications are Your
- original creation(s) and/or You have sufficient rights to
- grant the rights conveyed by this License.
-
- 3.3. Required Notices.
-
- You must include a notice in each of Your Modifications
- that identifies You as the Contributor of the Modification.
- You may not remove or alter any copyright, patent or
- trademark notices contained within the Covered Software, or
- any notices of licensing or any descriptive text giving
- attribution to any Contributor or the Initial Developer.
-
- 3.4. Application of Additional Terms.
-
- You may not offer or impose any terms on any Covered
- Software in Source Code form that alters or restricts the
- applicable version of this License or the recipients?
- rights hereunder. You may choose to offer, and to charge a
- fee for, warranty, support, indemnity or liability
- obligations to one or more recipients of Covered Software.
- However, you may do so only on Your own behalf, and not on
- behalf of the Initial Developer or any Contributor. You
- must make it absolutely clear that any such warranty,
- support, indemnity or liability obligation is offered by
- You alone, and You hereby agree to indemnify the Initial
- Developer and every Contributor for any liability incurred
- by the Initial Developer or such Contributor as a result of
- warranty, support, indemnity or liability terms You offer.
-
-
- 3.5. Distribution of Executable Versions.
-
- You may distribute the Executable form of the Covered
- Software under the terms of this License or under the terms
- of a license of Your choice, which may contain terms
- different from this License, provided that You are in
- compliance with the terms of this License and that the
- license for the Executable form does not attempt to limit
- or alter the recipient?s rights in the Source Code form
- from the rights set forth in this License. If You
- distribute the Covered Software in Executable form under a
- different license, You must make it absolutely clear that
- any terms which differ from this License are offered by You
- alone, not by the Initial Developer or Contributor. You
- hereby agree to indemnify the Initial Developer and every
- Contributor for any liability incurred by the Initial
- Developer or such Contributor as a result of any such terms
- You offer.
-
- 3.6. Larger Works.
-
- You may create a Larger Work by combining Covered Software
- with other code not governed by the terms of this License
- and distribute the Larger Work as a single product. In such
- a case, You must make sure the requirements of this License
- are fulfilled for the Covered Software.
-
- 4. Versions of the License.
-
- 4.1. New Versions.
-
- Sun Microsystems, Inc. is the initial license steward and
- may publish revised and/or new versions of this License
- from time to time. Each version will be given a
- distinguishing version number. Except as provided in
- Section 4.3, no one other than the license steward has the
- right to modify this License.
-
- 4.2. Effect of New Versions.
-
- You may always continue to use, distribute or otherwise
- make the Covered Software available under the terms of the
- version of the License under which You originally received
- the Covered Software. If the Initial Developer includes a
- notice in the Original Software prohibiting it from being
- distributed or otherwise made available under any
- subsequent version of the License, You must distribute and
- make the Covered Software available under the terms of the
- version of the License under which You originally received
- the Covered Software. Otherwise, You may also choose to
- use, distribute or otherwise make the Covered Software
- available under the terms of any subsequent version of the
- License published by the license steward.
-
- 4.3. Modified Versions.
-
- When You are an Initial Developer and You want to create a
- new license for Your Original Software, You may create and
- use a modified version of this License if You: (a) rename
- the license and remove any references to the name of the
- license steward (except to note that the license differs
- from this License); and (b) otherwise make it clear that
- the license contains terms which differ from this License.
-
-
- 5. DISCLAIMER OF WARRANTY.
-
- COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
- BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
- INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
- SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
- PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND
- PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU. SHOULD ANY
- COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
- INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF
- ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF
- WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
- ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
- DISCLAIMER.
-
- 6. TERMINATION.
-
- 6.1. This License and the rights granted hereunder will
- terminate automatically if You fail to comply with terms
- herein and fail to cure such breach within 30 days of
- becoming aware of the breach. Provisions which, by their
- nature, must remain in effect beyond the termination of
- this License shall survive.
-
- 6.2. If You assert a patent infringement claim (excluding
- declaratory judgment actions) against Initial Developer or
- a Contributor (the Initial Developer or Contributor against
- whom You assert such claim is referred to as "Participant")
- alleging that the Participant Software (meaning the
- Contributor Version where the Participant is a Contributor
- or the Original Software where the Participant is the
- Initial Developer) directly or indirectly infringes any
- patent, then any and all rights granted directly or
- indirectly to You by such Participant, the Initial
- Developer (if the Initial Developer is not the Participant)
- and all Contributors under Sections 2.1 and/or 2.2 of this
- License shall, upon 60 days notice from Participant
- terminate prospectively and automatically at the expiration
- of such 60 day notice period, unless if within such 60 day
- period You withdraw Your claim with respect to the
- Participant Software against such Participant either
- unilaterally or pursuant to a written agreement with
- Participant.
-
- 6.3. In the event of termination under Sections 6.1 or 6.2
- above, all end user licenses that have been validly granted
- by You or any distributor hereunder prior to termination
- (excluding licenses granted to You by any distributor)
- shall survive termination.
-
- 7. LIMITATION OF LIABILITY.
-
- UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
- (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
- INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
- COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
- LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
- CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
- LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
- STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
- COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
- INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
- LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
- INJURY RESULTING FROM SUCH PARTY?S NEGLIGENCE TO THE EXTENT
- APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO
- NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
- CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
- APPLY TO YOU.
-
- 8. U.S. GOVERNMENT END USERS.
-
- The Covered Software is a "commercial item," as that term is
- defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
- computer software" (as that term is defined at 48 C.F.R. ?
- 252.227-7014(a)(1)) and "commercial computer software
- documentation" as such terms are used in 48 C.F.R. 12.212 (Sept.
- 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
- through 227.7202-4 (June 1995), all U.S. Government End Users
- acquire Covered Software with only those rights set forth herein.
- This U.S. Government Rights clause is in lieu of, and supersedes,
- any other FAR, DFAR, or other clause or provision that addresses
- Government rights in computer software under this License.
-
- 9. MISCELLANEOUS.
-
- This License represents the complete agreement concerning subject
- matter hereof. If any provision of this License is held to be
- unenforceable, such provision shall be reformed only to the
- extent necessary to make it enforceable. This License shall be
- governed by the law of the jurisdiction specified in a notice
- contained within the Original Software (except to the extent
- applicable law, if any, provides otherwise), excluding such
- jurisdiction?s conflict-of-law provisions. Any litigation
- relating to this License shall be subject to the jurisdiction of
- the courts located in the jurisdiction and venue specified in a
- notice contained within the Original Software, with the losing
- party responsible for costs, including, without limitation, court
- costs and reasonable attorneys? fees and expenses. The
- application of the United Nations Convention on Contracts for the
- International Sale of Goods is expressly excluded. Any law or
- regulation which provides that the language of a contract shall
- be construed against the drafter shall not apply to this License.
- You agree that You alone are responsible for compliance with the
- United States export administration regulations (and the export
- control laws and regulation of any other countries) when You use,
- distribute or otherwise make available any Covered Software.
-
- 10. RESPONSIBILITY FOR CLAIMS.
-
- As between Initial Developer and the Contributors, each party is
- responsible for claims and damages arising, directly or
- indirectly, out of its utilization of rights under this License
- and You agree to work with Initial Developer and Contributors to
- distribute such responsibility on an equitable basis. Nothing
- herein is intended or shall be deemed to constitute any admission
- of liability.
_______________________________________________________________________
diff --git a/build/tools/bnd/biz.aQute.bnd.jar b/build/tools/bnd/biz.aQute.bnd.jar
old mode 100755
new mode 100644
diff --git a/build/tools/bnd/biz.aQute.bndlib.jar b/build/tools/bnd/biz.aQute.bndlib.jar
old mode 100755
new mode 100644
diff --git a/build/tools/findbugs/bin/findbugs.bat b/build/tools/findbugs/bin/findbugs.bat
old mode 100644
new mode 100755
diff --git a/build/tools/forge/forge.jar b/build/tools/forge/forge.jar
index 0e581bf857..d2e4d66580 100644
Binary files a/build/tools/forge/forge.jar and b/build/tools/forge/forge.jar differ
diff --git a/incubator/org.restlet.ext.webdav/.classpath b/incubator/org.restlet.ext.webdav/.classpath
deleted file mode 100644
index bef28e3828..0000000000
--- a/incubator/org.restlet.ext.webdav/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/incubator/org.restlet.ext.webdav/.project b/incubator/org.restlet.ext.webdav/.project
deleted file mode 100644
index b26c199065..0000000000
--- a/incubator/org.restlet.ext.webdav/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- org.restlet.ext.webdav
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/incubator/org.restlet.ext.webdav/export.jardesc b/incubator/org.restlet.ext.webdav/export.jardesc
deleted file mode 100644
index 2b7ada48dc..0000000000
--- a/incubator/org.restlet.ext.webdav/export.jardesc
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/incubator/org.restlet.ext.webdav/module.xml b/incubator/org.restlet.ext.webdav/module.xml
deleted file mode 100644
index 555ab23922..0000000000
--- a/incubator/org.restlet.ext.webdav/module.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
- Restlet Extension - WebDAV
-
- Support for Web-based Distributed Authoring and Versioning (WebDAV).
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/incubator/org.restlet.ext.webdav/pom.xml b/incubator/org.restlet.ext.webdav/pom.xml
deleted file mode 100644
index cb34592e68..0000000000
--- a/incubator/org.restlet.ext.webdav/pom.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- 4.0.0
-
- org.restlet.dev
- org.restlet.incubator
- 2.2-SNAPSHOT
-
-
- org.restlet.ext.webdav
- Restlet Extension: WebDAV
- Support for WebDAV.
-
-
- org.restlet.dev
- org.restlet
- ${project.version}
-
-
-
diff --git a/incubator/org.restlet.ext.webdav/src/META-INF/services/org.restlet.engine.ProtocolHelper b/incubator/org.restlet.ext.webdav/src/META-INF/services/org.restlet.engine.ProtocolHelper
deleted file mode 100644
index 5aee9e0e35..0000000000
--- a/incubator/org.restlet.ext.webdav/src/META-INF/services/org.restlet.engine.ProtocolHelper
+++ /dev/null
@@ -1 +0,0 @@
-org.restlet.ext.webdav.internal.WebDavProtocolHelper
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Copy.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Copy.java
deleted file mode 100644
index 3949e1ad35..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Copy.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.restlet.engine.connector.Method;
-import org.restlet.service.MetadataService;
-
-/**
- * Annotation for methods that copy a resource from one URI to another. Its
- * semantics is equivalent to a WebDAV COPY method.
- *
- * @author Jerome Louvel
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Method("COPY")
-public @interface Copy {
-
- /**
- * Specifies the media type extension of the response entity. If several
- * media types are supported, their extension can be specified separated by
- * "|" characters. Note that this isn't the full MIME type value, just the
- * extension name declared in {@link MetadataService}. For a list of all
- * predefined extensions, please check
- * {@link MetadataService#addCommonExtensions()}. New extension can be
- * registered using
- * {@link MetadataService#addExtension(String, org.restlet.data.Metadata)}
- * method.
- *
- * @return The result media types.
- */
- String value() default "";
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Lock.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Lock.java
deleted file mode 100644
index 67b849d3d2..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Lock.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.restlet.engine.connector.Method;
-import org.restlet.service.MetadataService;
-
-/**
- * Annotation for methods that put a lock on a resource. Its semantics is
- * equivalent to a WebDAV LOCK method.
- *
- * @author Jerome Louvel
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Method("LOCK")
-public @interface Lock {
-
- /**
- * Specifies the media type extension of the response entity. If several
- * media types are supported, their extension can be specified separated by
- * "|" characters. Note that this isn't the full MIME type value, just the
- * extension name declared in {@link MetadataService}. For a list of all
- * predefined extensions, please check
- * {@link MetadataService#addCommonExtensions()}. New extension can be
- * registered using
- * {@link MetadataService#addExtension(String, org.restlet.data.Metadata)}
- * method.
- *
- * @return The result media types.
- */
- String value() default "";
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/MkCol.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/MkCol.java
deleted file mode 100644
index 58223d8745..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/MkCol.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.restlet.engine.connector.Method;
-import org.restlet.service.MetadataService;
-
-/**
- * Annotation for methods that create collections. Its semantics is equivalent
- * to a WebDAV MKCOL method.
- *
- * @author Jerome Louvel
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Method("MKCOL")
-public @interface MkCol {
-
- /**
- * Specifies the media type extension of the response entity. If several
- * media types are supported, their extension can be specified separated by
- * "|" characters. Note that this isn't the full MIME type value, just the
- * extension name declared in {@link MetadataService}. For a list of all
- * predefined extensions, please check
- * {@link MetadataService#addCommonExtensions()}. New extension can be
- * registered using
- * {@link MetadataService#addExtension(String, org.restlet.data.Metadata)}
- * method.
- *
- * @return The result media types.
- */
- String value() default "";
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Move.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Move.java
deleted file mode 100644
index 3f39ce27a6..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Move.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.restlet.engine.connector.Method;
-import org.restlet.service.MetadataService;
-
-/**
- * Annotation for methods that create collections. Its semantics is equivalent
- * to a WebDAV MKCOL method.
- *
- * @author Jerome Louvel
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Method("MKCOL")
-public @interface Move {
-
- /**
- * Specifies the media type extension of the response entity. If several
- * media types are supported, their extension can be specified separated by
- * "|" characters. Note that this isn't the full MIME type value, just the
- * extension name declared in {@link MetadataService}. For a list of all
- * predefined extensions, please check
- * {@link MetadataService#addCommonExtensions()}. New extension can be
- * registered using
- * {@link MetadataService#addExtension(String, org.restlet.data.Metadata)}
- * method.
- *
- * @return The result media types.
- */
- String value() default "";
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/PropFind.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/PropFind.java
deleted file mode 100644
index 4bf5bf7777..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/PropFind.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.restlet.engine.connector.Method;
-import org.restlet.service.MetadataService;
-
-/**
- * Annotation for methods that retrieve properties. Its semantics is equivalent
- * to a WebDAV PROPFIND method.
- *
- * @author Jerome Louvel
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Method("PROPFIND")
-public @interface PropFind {
-
- /**
- * Specifies the media type extension of the response entity. If several
- * media types are supported, their extension can be specified separated by
- * "|" characters. Note that this isn't the full MIME type value, just the
- * extension name declared in {@link MetadataService}. For a list of all
- * predefined extensions, please check
- * {@link MetadataService#addCommonExtensions()}. New extension can be
- * registered using
- * {@link MetadataService#addExtension(String, org.restlet.data.Metadata)}
- * method.
- *
- * @return The result media types.
- */
- String value() default "";
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/PropPatch.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/PropPatch.java
deleted file mode 100644
index ebdd0e37bd..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/PropPatch.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.restlet.engine.connector.Method;
-import org.restlet.service.MetadataService;
-
-/**
- * Annotation for methods that change and delete multiple properties on a
- * resource at the same time. Its semantics is equivalent to a WebDAV PROPPATCH
- * method.
- *
- * @author Jerome Louvel
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Method("PROPPATCH")
-public @interface PropPatch {
-
- /**
- * Specifies the media type extension of the response entity. If several
- * media types are supported, their extension can be specified separated by
- * "|" characters. Note that this isn't the full MIME type value, just the
- * extension name declared in {@link MetadataService}. For a list of all
- * predefined extensions, please check
- * {@link MetadataService#addCommonExtensions()}. New extension can be
- * registered using
- * {@link MetadataService#addExtension(String, org.restlet.data.Metadata)}
- * method.
- *
- * @return The result media types.
- */
- String value() default "";
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Unlock.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Unlock.java
deleted file mode 100644
index 5f92f3932d..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/Unlock.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-import org.restlet.engine.connector.Method;
-import org.restlet.service.MetadataService;
-
-/**
- * Annotation for methods that remove a lock on a resource. Its semantics is
- * equivalent to a WebDAV UNLOCK method.
- *
- * @author Jerome Louvel
- */
-@Documented
-@Retention(RetentionPolicy.RUNTIME)
-@Target(ElementType.METHOD)
-@Method("UNLOCK")
-public @interface Unlock {
-
- /**
- * Specifies the media type extension of the response entity. If several
- * media types are supported, their extension can be specified separated by
- * "|" characters. Note that this isn't the full MIME type value, just the
- * extension name declared in {@link MetadataService}. For a list of all
- * predefined extensions, please check
- * {@link MetadataService#addCommonExtensions()}. New extension can be
- * registered using
- * {@link MetadataService#addExtension(String, org.restlet.data.Metadata)}
- * method.
- *
- * @return The result media types.
- */
- String value() default "";
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/WebDavMethod.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/WebDavMethod.java
deleted file mode 100644
index 44230d33fe..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/WebDavMethod.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav;
-
-import org.restlet.data.Method;
-
-/**
- * Constants for WebDAV methods.
- *
- * @author Jerome Louvel
- */
-public final class WebDavMethod {
-
- private static final String BASE_WEBDAV = "http://tools.ietf.org/html/rfc4918";
-
- /**
- * Retrieves the properties defined on the resource.
- *
- * @see WebDAV RFC
- * - 9.1 PROPFIND
- */
- public static final Method PROPFIND = new Method("PROPFIND",
- "Retrieve properties", BASE_WEBDAV + "#section-9.1", true, true);
-
- /**
- * Sets and/or removes properties defined on the resource.
- *
- * @see WebDAV RFC
- * - 9.2 PROPPATCH
- */
- public static final Method PROPPATCH = new Method("PROPPATCH",
- "Sets and/or removes properties", BASE_WEBDAV + "#section-9.2",
- false, true);
-
- /**
- * Creates a new collection resource.
- *
- * @see WebDAV RFC
- * - 9.3 MKCOL
- */
- public static final Method MKCOL = new Method("MKCOL",
- "Creates a new collection resource", BASE_WEBDAV + "#section-9.3",
- false, true);
-
- /**
- * Creates a duplicate of the source resource identified in the destination
- * resource.
- *
- * @see WebDAV RFC
- * - 9.8 COPY
- */
- public static final Method COPY = new Method("COPY",
- "Creates a duplicate resource", BASE_WEBDAV + "#section-9.8",
- false, true);
-
- /**
- * Moves the source resource identified in the destination resource.
- *
- * @see WebDAV RFC
- * - 9.9 MOVE
- */
- public static final Method MOVE = new Method("MOVE", "Moves the resource",
- BASE_WEBDAV + "#section-9.9", false, true);
-
- /**
- * Takes out a lock of any access type or refreshes an existing lock.
- *
- * @see WebDAV RFC
- * - 9.10 LOCK
- */
- public static final Method LOCK = new Method("LOCK",
- "Takes out or refreshes a lock", BASE_WEBDAV + "#section-9.10",
- false, false);
-
- /**
- * Removes the lock on the resource.
- *
- * @see WebDAV RFC
- * - 9.11 UNLOCK
- */
- public static final Method UNLOCK = new Method("UNLOCK",
- "Removes the lock", BASE_WEBDAV + "#section-9.11", false, true);
-
- /**
- * Returns the method associated to a given method name. If an existing
- * constant exists then it is returned, otherwise a new instance is created.
- *
- * @param name
- * The method name.
- * @return The associated method.
- */
- public static Method valueOf(final String name) {
- Method result = null;
-
- if ((name != null) && !name.equals("")) {
- if (name.equalsIgnoreCase(PROPFIND.getName())) {
- result = PROPFIND;
- } else if (name.equalsIgnoreCase(PROPPATCH.getName())) {
- result = PROPPATCH;
- } else if (name.equalsIgnoreCase(MKCOL.getName())) {
- result = MKCOL;
- } else if (name.equalsIgnoreCase(COPY.getName())) {
- result = COPY;
- } else if (name.equalsIgnoreCase(MOVE.getName())) {
- result = MOVE;
- } else if (name.equalsIgnoreCase(LOCK.getName())) {
- result = LOCK;
- } else if (name.equalsIgnoreCase(UNLOCK.getName())) {
- result = UNLOCK;
- } else {
- result = new Method(name);
- }
- }
-
- return result;
- }
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/internal/WebDavProtocolHelper.java b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/internal/WebDavProtocolHelper.java
deleted file mode 100644
index 3f06946392..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/internal/WebDavProtocolHelper.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * Copyright 2005-2011 Noelios Technologies.
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
- *
- * Restlet is a registered trademark of Noelios Technologies.
- */
-
-package org.restlet.ext.webdav.internal;
-
-import org.restlet.data.Method;
-import org.restlet.engine.connector.ProtocolHelper;
-import org.restlet.ext.webdav.WebDavMethod;
-
-/**
- * Protocol helper for the WebDAV protocol.
- *
- * @author Jerome Louvel
- */
-public class WebDavProtocolHelper extends ProtocolHelper {
-
- @Override
- public void registerMethods() {
- Method.register(WebDavMethod.COPY);
- Method.register(WebDavMethod.LOCK);
- Method.register(WebDavMethod.MKCOL);
- Method.register(WebDavMethod.MOVE);
- Method.register(WebDavMethod.PROPFIND);
- Method.register(WebDavMethod.PROPPATCH);
- Method.register(WebDavMethod.UNLOCK);
- }
-
-}
diff --git a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/package.html b/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/package.html
deleted file mode 100644
index 3ffb5b4bd9..0000000000
--- a/incubator/org.restlet.ext.webdav/src/org/restlet/ext/webdav/package.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-Support for Web-based Distributed Authoring and Versioning (WebDAV).
-
-
-@since Restlet 2.0
-@see WebDAV
-@see User Guide - WebDAV extension
-
-
diff --git a/libraries/com.db4o_7.12/.classpath b/libraries/com.db4o_7.12/.classpath
deleted file mode 100644
index 009ac37878..0000000000
--- a/libraries/com.db4o_7.12/.classpath
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/libraries/com.db4o_7.12/com.db4o.instrumentation.jar b/libraries/com.db4o_7.12/com.db4o.instrumentation.jar
deleted file mode 100644
index 0ec438cfff..0000000000
Binary files a/libraries/com.db4o_7.12/com.db4o.instrumentation.jar and /dev/null differ
diff --git a/libraries/com.db4o_7.12/com.db4o.jar b/libraries/com.db4o_7.12/com.db4o.jar
deleted file mode 100644
index e7d2c16cf4..0000000000
Binary files a/libraries/com.db4o_7.12/com.db4o.jar and /dev/null differ
diff --git a/libraries/com.db4o_7.12/com.db4o.nativequery.jar b/libraries/com.db4o_7.12/com.db4o.nativequery.jar
deleted file mode 100644
index ec65bf48c7..0000000000
Binary files a/libraries/com.db4o_7.12/com.db4o.nativequery.jar and /dev/null differ
diff --git a/libraries/com.db4o_7.12/com.db4o.optional.jar b/libraries/com.db4o_7.12/com.db4o.optional.jar
deleted file mode 100644
index 112e1a8dd5..0000000000
Binary files a/libraries/com.db4o_7.12/com.db4o.optional.jar and /dev/null differ
diff --git a/libraries/com.db4o_7.12/com.db4o.ta.jar b/libraries/com.db4o_7.12/com.db4o.ta.jar
deleted file mode 100644
index 5e0809ccc3..0000000000
Binary files a/libraries/com.db4o_7.12/com.db4o.ta.jar and /dev/null differ
diff --git a/libraries/com.db4o_7.12/com.db4o.tools.jar b/libraries/com.db4o_7.12/com.db4o.tools.jar
deleted file mode 100644
index 32e5f8904c..0000000000
Binary files a/libraries/com.db4o_7.12/com.db4o.tools.jar and /dev/null differ
diff --git a/libraries/com.db4o_7.12/library.xml b/libraries/com.db4o_7.12/library.xml
deleted file mode 100644
index ccb9177ad6..0000000000
--- a/libraries/com.db4o_7.12/library.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
- Db4o - object database framework
- Db4o - object database framework.
- 7.12
- 132
- http://www.db4o.com/
- http://developer.db4o.com/Downloads.aspx
- Versant
-
-
-
- com.db4o
-
-
-
-
- com.db4o
-
-
-
-
- com.db4o
-
-
-
-
- com.db4o
-
-
-
-
- com.db4o
-
-
-
-
- com.db4o
-
-
-
-
-
-
-
diff --git a/libraries/com.db4o_7.12/license.txt b/libraries/com.db4o_7.12/license.txt
deleted file mode 100644
index daef9efc37..0000000000
--- a/libraries/com.db4o_7.12/license.txt
+++ /dev/null
@@ -1,341 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- , 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
-Public License instead of this License.
-
diff --git a/libraries/com.db4o_7.12/readme.txt b/libraries/com.db4o_7.12/readme.txt
deleted file mode 100644
index e6ce2ac7a6..0000000000
--- a/libraries/com.db4o_7.12/readme.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-------------------------------------
-db4o - Native object database engine
-------------------------------------
-
-"db4o is the open source object database that enables Java and .NET developers
-to slash development time and costs and achieve unprecedented levels of
-performance. The unique design of db4o's native object database engine makes
-it the ideal choice to be embedded in equipment and devices, in packaged
-software running on mobile or desktop platforms, or in real-time control
-systems - in short: in all Java and .NET environments, where no database
-administrator (DBA) is present."
-
-Distributed under a dual license: GPL or commercial.
-
-For more information:
-http://www.db4o.com/
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.annotations.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.annotations.jar
deleted file mode 100644
index b62c87d7ed..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.annotations.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.core.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.core.jar
deleted file mode 100644
index 24318a4640..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.core.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.csv.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.csv.jar
deleted file mode 100644
index 7a46918a6a..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.csv.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.databind.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.databind.jar
deleted file mode 100644
index 8545084786..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.databind.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.jaxb.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.jaxb.jar
deleted file mode 100644
index 946de9f68b..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.jaxb.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.smile.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.smile.jar
deleted file mode 100644
index 0e4986a3dd..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.smile.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.xml.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.xml.jar
deleted file mode 100644
index 34067f1e2f..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.xml.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.yaml.jar b/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.yaml.jar
deleted file mode 100644
index e1efd310f5..0000000000
Binary files a/libraries/com.fasterxml.jackson_2.2/com.fasterxml.jackson.yaml.jar and /dev/null differ
diff --git a/libraries/com.fasterxml.jackson_2.2/.classpath b/libraries/com.fasterxml.jackson_2.4/.classpath
similarity index 84%
rename from libraries/com.fasterxml.jackson_2.2/.classpath
rename to libraries/com.fasterxml.jackson_2.4/.classpath
index e10c5be0c5..f4b11c9948 100644
--- a/libraries/com.fasterxml.jackson_2.2/.classpath
+++ b/libraries/com.fasterxml.jackson_2.4/.classpath
@@ -9,5 +9,7 @@
+
+
diff --git a/libraries/org.json4s_2.10/.gitignore b/libraries/com.fasterxml.jackson_2.4/.gitignore
similarity index 100%
rename from libraries/org.json4s_2.10/.gitignore
rename to libraries/com.fasterxml.jackson_2.4/.gitignore
diff --git a/libraries/com.fasterxml.jackson_2.2/.project b/libraries/com.fasterxml.jackson_2.4/.project
similarity index 100%
rename from libraries/com.fasterxml.jackson_2.2/.project
rename to libraries/com.fasterxml.jackson_2.4/.project
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.annotations.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.annotations.jar
new file mode 100644
index 0000000000..4779188a9f
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.annotations.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.cbor.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.cbor.jar
new file mode 100644
index 0000000000..8a536d2b80
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.cbor.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.core.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.core.jar
new file mode 100644
index 0000000000..da2a877f18
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.core.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.csv.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.csv.jar
new file mode 100644
index 0000000000..f561dc10ff
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.csv.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.databind.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.databind.jar
new file mode 100644
index 0000000000..e945e5e800
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.databind.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.jaxb.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.jaxb.jar
new file mode 100644
index 0000000000..96955b099f
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.jaxb.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.jsonschema.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.jsonschema.jar
new file mode 100644
index 0000000000..25a3a306da
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.jsonschema.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.smile.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.smile.jar
new file mode 100644
index 0000000000..2a6b285190
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.smile.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.xml.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.xml.jar
new file mode 100644
index 0000000000..8f0fa34d09
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.xml.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.yaml.jar b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.yaml.jar
new file mode 100644
index 0000000000..7770cb9184
Binary files /dev/null and b/libraries/com.fasterxml.jackson_2.4/com.fasterxml.jackson.yaml.jar differ
diff --git a/libraries/com.fasterxml.jackson_2.2/library.xml b/libraries/com.fasterxml.jackson_2.4/library.xml
similarity index 82%
rename from libraries/com.fasterxml.jackson_2.2/library.xml
rename to libraries/com.fasterxml.jackson_2.4/library.xml
index d850eb072f..6a1033b360 100644
--- a/libraries/com.fasterxml.jackson_2.2/library.xml
+++ b/libraries/com.fasterxml.jackson_2.4/library.xml
@@ -1,8 +1,8 @@
High-performance JSON processorHigh-performance JSON processor
- 2.2
- 3
+ 2.4
+ 4http://jackson.codehaus.org/http://wiki.fasterxml.com/JacksonDownloadThe Codehaus foundation
@@ -37,6 +37,12 @@
jackson-dataformat-smile
+
+
+ com.fasterxml.jackson.dataformat
+ jackson-dataformat-cbor
+
+ com.fasterxml.jackson.dataformat
@@ -55,6 +61,12 @@
jackson-module-jaxb-annotations
+
+
+ com.fasterxml.jackson.module
+ jackson-module-jsonSchema
+
+
diff --git a/libraries/com.fasterxml.jackson_2.2/license.txt b/libraries/com.fasterxml.jackson_2.4/license.txt
similarity index 100%
rename from libraries/com.fasterxml.jackson_2.2/license.txt
rename to libraries/com.fasterxml.jackson_2.4/license.txt
diff --git a/libraries/com.fasterxml.jackson_2.2/readme.txt b/libraries/com.fasterxml.jackson_2.4/readme.txt
similarity index 100%
rename from libraries/com.fasterxml.jackson_2.2/readme.txt
rename to libraries/com.fasterxml.jackson_2.4/readme.txt
diff --git a/libraries/com.google.appengine_1.4/.classpath b/libraries/com.google.appengine_1.9/.classpath
similarity index 100%
rename from libraries/com.google.appengine_1.4/.classpath
rename to libraries/com.google.appengine_1.9/.classpath
diff --git a/libraries/com.google.appengine_1.4/.project b/libraries/com.google.appengine_1.9/.project
similarity index 100%
rename from libraries/com.google.appengine_1.4/.project
rename to libraries/com.google.appengine_1.9/.project
diff --git a/libraries/com.google.appengine_1.4/com.google.appengine.jar b/libraries/com.google.appengine_1.9/com.google.appengine.jar
similarity index 52%
rename from libraries/com.google.appengine_1.4/com.google.appengine.jar
rename to libraries/com.google.appengine_1.9/com.google.appengine.jar
index 9fbb3a28e5..d7cb68954d 100644
Binary files a/libraries/com.google.appengine_1.4/com.google.appengine.jar and b/libraries/com.google.appengine_1.9/com.google.appengine.jar differ
diff --git a/libraries/com.google.appengine_1.4/library.xml b/libraries/com.google.appengine_1.9/library.xml
similarity index 91%
rename from libraries/com.google.appengine_1.4/library.xml
rename to libraries/com.google.appengine_1.9/library.xml
index 4a6fe254a1..de8445a040 100644
--- a/libraries/com.google.appengine_1.4/library.xml
+++ b/libraries/com.google.appengine_1.9/library.xml
@@ -1,8 +1,8 @@
Google App Engine APIGoogle App Engine API.
- 1.4
- 3
+ 1.9
+ 15http://code.google.com/appengine/http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_JavaGoogle Inc.
diff --git a/libraries/com.google.appengine_1.4/license.txt b/libraries/com.google.appengine_1.9/license.txt
similarity index 100%
rename from libraries/com.google.appengine_1.4/license.txt
rename to libraries/com.google.appengine_1.9/license.txt
diff --git a/libraries/com.google.appengine_1.4/readme.txt b/libraries/com.google.appengine_1.9/readme.txt
similarity index 100%
rename from libraries/com.google.appengine_1.4/readme.txt
rename to libraries/com.google.appengine_1.9/readme.txt
diff --git a/libraries/com.google.collections_1.0/.project b/libraries/com.google.collections_1.0/.project
deleted file mode 100644
index a17f5e593d..0000000000
--- a/libraries/com.google.collections_1.0/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- com.google.collections
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/com.google.collections_1.0/com.google.collections.jar b/libraries/com.google.collections_1.0/com.google.collections.jar
deleted file mode 100644
index 9f971b011c..0000000000
Binary files a/libraries/com.google.collections_1.0/com.google.collections.jar and /dev/null differ
diff --git a/libraries/com.google.collections_1.0/library.xml b/libraries/com.google.collections_1.0/library.xml
deleted file mode 100644
index ffb6127381..0000000000
--- a/libraries/com.google.collections_1.0/library.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
- Google Collections
- Google collections.
- 1.0
- http://code.google.com/p/google-collections/
- Google Inc.
-
-
-
- com.google.collections
- google-collections
-
-
-
-
-
-
diff --git a/libraries/com.google.collections_1.0/readme.txt b/libraries/com.google.collections_1.0/readme.txt
deleted file mode 100644
index 229289706d..0000000000
--- a/libraries/com.google.collections_1.0/readme.txt
+++ /dev/null
@@ -1,10 +0,0 @@
------------------------------------------------------------
-Google-collections - Google Collections Library
------------------------------------------------------------
-
-"The Google Collections Library 1.0 is a set of new collection
-types, implementations and related goodness for Java 5
-and higher, brought to you by Google."
-
-For more information:
-http://code.google.com/p/google-collections/
\ No newline at end of file
diff --git a/libraries/com.google.gson_2.2/com.google.gson.jar b/libraries/com.google.gson_2.2/com.google.gson.jar
deleted file mode 100644
index 9478253e8c..0000000000
Binary files a/libraries/com.google.gson_2.2/com.google.gson.jar and /dev/null differ
diff --git a/libraries/com.google.gson_2.2/.classpath b/libraries/com.google.gson_2.3/.classpath
similarity index 100%
rename from libraries/com.google.gson_2.2/.classpath
rename to libraries/com.google.gson_2.3/.classpath
diff --git a/libraries/com.google.gson_2.2/.project b/libraries/com.google.gson_2.3/.project
similarity index 95%
rename from libraries/com.google.gson_2.2/.project
rename to libraries/com.google.gson_2.3/.project
index d855f368a5..cf54f47192 100644
--- a/libraries/com.google.gson_2.2/.project
+++ b/libraries/com.google.gson_2.3/.project
@@ -1,17 +1,17 @@
-
-
- com.google.gson
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
+
+
+ com.google.gson
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/libraries/com.google.gson_2.3/com.google.gson.jar b/libraries/com.google.gson_2.3/com.google.gson.jar
new file mode 100644
index 0000000000..250132c197
Binary files /dev/null and b/libraries/com.google.gson_2.3/com.google.gson.jar differ
diff --git a/libraries/com.google.gson_2.2/library.xml b/libraries/com.google.gson_2.3/library.xml
similarity index 83%
rename from libraries/com.google.gson_2.2/library.xml
rename to libraries/com.google.gson_2.3/library.xml
index 50038b14e0..fcea404fee 100644
--- a/libraries/com.google.gson_2.2/library.xml
+++ b/libraries/com.google.gson_2.3/library.xml
@@ -1,8 +1,8 @@
Google GSonGoogle GSon.
- 2.2
- 4
+ 2.3
+ 1http://code.google.com/p/google-gson/http://code.google.com/p/google-gson/downloads/listGoogle Inc.
@@ -10,7 +10,7 @@
com.google.code.gson
- gson
+ gson
diff --git a/libraries/com.google.collections_1.0/license.txt b/libraries/com.google.gson_2.3/license.txt
similarity index 100%
rename from libraries/com.google.collections_1.0/license.txt
rename to libraries/com.google.gson_2.3/license.txt
diff --git a/libraries/com.google.gson_2.2/readme.txt b/libraries/com.google.gson_2.3/readme.txt
similarity index 97%
rename from libraries/com.google.gson_2.2/readme.txt
rename to libraries/com.google.gson_2.3/readme.txt
index 7f27e4cb91..794621f764 100644
--- a/libraries/com.google.gson_2.2/readme.txt
+++ b/libraries/com.google.gson_2.3/readme.txt
@@ -1,13 +1,13 @@
------------------------------------------------------------
-GSon - A Java library to convert JSON to Java objects
- and vice-versa
------------------------------------------------------------
-
-"Gson is a Java library that can be used to convert Java
-Objects into their JSON representation. It can also be used
- to convert a JSON string to an equivalent Java object.
-Gson can work with arbitrary Java objects including
-pre-existing objects that you do not have source-code of. "
-
-For more information:
+-----------------------------------------------------------
+GSon - A Java library to convert JSON to Java objects
+ and vice-versa
+-----------------------------------------------------------
+
+"Gson is a Java library that can be used to convert Java
+Objects into their JSON representation. It can also be used
+ to convert a JSON string to an equivalent Java object.
+Gson can work with arbitrary Java objects including
+pre-existing objects that you do not have source-code of. "
+
+For more information:
http://code.google.com/p/google-gson/
\ No newline at end of file
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/.classpath b/libraries/com.google.guava_16.0/.classpath
similarity index 77%
rename from libraries/org.tanukisoftware.wrapper_3.2/.classpath
rename to libraries/com.google.guava_16.0/.classpath
index 3baa1eb709..c978188e37 100644
--- a/libraries/org.tanukisoftware.wrapper_3.2/.classpath
+++ b/libraries/com.google.guava_16.0/.classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/libraries/com.google.guava_16.0/.gitignore b/libraries/com.google.guava_16.0/.gitignore
new file mode 100644
index 0000000000..5e56e040ec
--- /dev/null
+++ b/libraries/com.google.guava_16.0/.gitignore
@@ -0,0 +1 @@
+/bin
diff --git a/libraries/com.sun.rowset_1.0/.project b/libraries/com.google.guava_16.0/.project
similarity index 87%
rename from libraries/com.sun.rowset_1.0/.project
rename to libraries/com.google.guava_16.0/.project
index 10ae2380ec..c914e26eea 100644
--- a/libraries/com.sun.rowset_1.0/.project
+++ b/libraries/com.google.guava_16.0/.project
@@ -1,6 +1,6 @@
- com.sun.rowset
+ com.google.guava
diff --git a/libraries/com.google.guava_16.0/build.properties b/libraries/com.google.guava_16.0/build.properties
new file mode 100644
index 0000000000..86a2a7bf67
--- /dev/null
+++ b/libraries/com.google.guava_16.0/build.properties
@@ -0,0 +1,2 @@
+bin.includes = META-INF/,\
+ com.google.guava.jar
diff --git a/libraries/com.google.guava_16.0/com.google.guava.jar b/libraries/com.google.guava_16.0/com.google.guava.jar
new file mode 100644
index 0000000000..2c8127d164
Binary files /dev/null and b/libraries/com.google.guava_16.0/com.google.guava.jar differ
diff --git a/libraries/com.google.guava_16.0/library.xml b/libraries/com.google.guava_16.0/library.xml
new file mode 100644
index 0000000000..80558a22ac
--- /dev/null
+++ b/libraries/com.google.guava_16.0/library.xml
@@ -0,0 +1,18 @@
+
+ Google Guava
+ Google Guava.
+ 16.0
+ 1
+ http://code.google.com/p/guava/
+ Google Inc.
+
+
+
+ com.google.guava
+ guava
+
+
+
+
+
+
diff --git a/libraries/com.google.gson_2.2/license.txt b/libraries/com.google.guava_16.0/license.txt
similarity index 100%
rename from libraries/com.google.gson_2.2/license.txt
rename to libraries/com.google.guava_16.0/license.txt
diff --git a/libraries/com.google.guava_16.0/readme.txt b/libraries/com.google.guava_16.0/readme.txt
new file mode 100644
index 0000000000..a09802f138
--- /dev/null
+++ b/libraries/com.google.guava_16.0/readme.txt
@@ -0,0 +1,11 @@
+-------------------------------------------
+Guava - Google Core Libraries for Java 1.6+
+-------------------------------------------
+
+"The Guava project contains several of Google's core libraries that we rely on
+in our Java-based projects: collections, caching, primitives support,
+concurrency libraries, common annotations, string processing, I/O, and so
+forth."
+
+For more information:
+https://code.google.com/p/guava-libraries/
\ No newline at end of file
diff --git a/libraries/com.google.gwt.server_2.3/.classpath b/libraries/com.google.gwt.server_2.3/.classpath
old mode 100755
new mode 100644
diff --git a/libraries/com.google.gwt.server_2.3/.project b/libraries/com.google.gwt.server_2.3/.project
old mode 100755
new mode 100644
diff --git a/libraries/com.google.gwt.server_2.3/library.xml b/libraries/com.google.gwt.server_2.3/library.xml
old mode 100755
new mode 100644
diff --git a/libraries/com.google.gwt.server_2.3/license.txt b/libraries/com.google.gwt.server_2.3/license.txt
old mode 100755
new mode 100644
diff --git a/libraries/com.google.gwt.server_2.3/readme.txt b/libraries/com.google.gwt.server_2.3/readme.txt
old mode 100755
new mode 100644
diff --git a/libraries/com.google.sdc_1.3/library.xml b/libraries/com.google.sdc_1.3/library.xml
index d85411a40c..461fb35972 100644
--- a/libraries/com.google.sdc_1.3/library.xml
+++ b/libraries/com.google.sdc_1.3/library.xml
@@ -19,7 +19,7 @@
-
+
diff --git a/libraries/com.sun.rowset_1.0/com.sun.rowset.jar b/libraries/com.sun.rowset_1.0/com.sun.rowset.jar
deleted file mode 100644
index 91bca8893a..0000000000
Binary files a/libraries/com.sun.rowset_1.0/com.sun.rowset.jar and /dev/null differ
diff --git a/libraries/com.sun.rowset_1.0/library.xml b/libraries/com.sun.rowset_1.0/library.xml
deleted file mode 100644
index fc26c788b2..0000000000
--- a/libraries/com.sun.rowset_1.0/library.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
- JDBC Rowset Implementation
- JDBC Rowset Implementation.
- 1.0
- http://www.oracle.com/technetwork/java/javase/tech/index-jsp-136101.html
- http://java.sun.com/products/jdbc/download.html
- Sun Microsystems Inc.
-
-
-
-
-
-
diff --git a/libraries/com.sun.rowset_1.0/license.txt b/libraries/com.sun.rowset_1.0/license.txt
deleted file mode 100644
index f2bbf0e67f..0000000000
--- a/libraries/com.sun.rowset_1.0/license.txt
+++ /dev/null
@@ -1,201 +0,0 @@
-Sun Microsystems, Inc. Binary Code License Agreement
-
-READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED
-SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT")
-CAREFULLY BEFORE OPENING THE SOFTWARE MEDIA PACKAGE. BY
-OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS
-OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
-ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY
-SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT.
-IF YOU DO NOT AGREE TO ALL THESE TERMS, PROMPTLY RETURN THE
-UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR,
-IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE
-"DECLINE" BUTTON AT THE END OF THIS AGREEMENT.
-
-1. LICENSE TO USE. Sun grants you a non-exclusive and
-non-transferable license for the internal use only of the
-accompanying software and documentation and any error
-corrections provided by Sun (collectively "Software"), by
-the number of users and the class of computer hardware for
-which the corresponding fee has been paid.
-
-2. RESTRICTIONS. Software is confidential and copyrighted.
-Title to Software and all associated intellectual property
-rights is retained by Sun and/or its licensors. Except as
-specifically authorized in any Supplemental License Terms,
-you may not make copies of Software, other than a single
-copy of Software for archival purposes. Unless enforcement
-is prohibited by applicable law, you may not modify,
-decompile, or reverse engineer Software. Licensee
-acknowledges that Licensed Software is not designed or
-intended for use in the design, construction, operation or
-maintenance of any nuclear facility. Sun Microsystems, Inc.
-disclaims any express or implied warranty of fitness for
-such uses. No right, title or interest in or to any
-trademark, service mark, logo or trade name of Sun or its
-licensors is granted under this Agreement.
-
-3. LIMITED WARRANTY. Sun warrants to you that for a period
-of ninety (90) days from the date of purchase, as evidenced
-by a copy of the receipt, the media on which Software is
-furnished (if any) will be free of defects in materials and
-workmanship under normal use. Except for the foregoing,
-Software is provided "AS IS". Your exclusive remedy and
-Sun's entire liability under this limited warranty will be
-at Sun's option to replace Software media or refund the fee
-paid for Software.
-
-4. DISCLAIMER OF WARRANTY. UNLESS SPECIFIED IN THIS
-AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS,
-REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED
-WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
-PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE
-EXTENT THAT THESE DISCLAIMERS ARE HELD TO BE LEGALLY
-INVALID.
-
-5. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY
-LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR
-ANY LOST REVENUE, PROFIT OR DATA, OR FOR SPECIAL, INDIRECT,
-CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
-CAUSED REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT
-OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE,
-EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES. In no event will Sun's liability to you, whether
-in contract, tort (including negligence), or otherwise,
-exceed the amount paid by you for Software under this
-Agreement. The foregoing limitations will apply even if the
-above stated warranty fails of its essential purpose.
-
-6. Termination. This Agreement is effective until
-terminated. You may terminate this Agreement at any time by
-destroying all copies of Software. This Agreement will
-terminate immediately without notice from Sun if you fail
-to comply with any provision of this Agreement. Upon
-Termination, you must destroy all copies of Software.
-
-7. Export Regulations. All Software and technical data
-delivered under this Agreement are subject to US export
-control laws and may be subject to export or import
-regulations in other countries. You agree to comply
-strictly with all such laws and regulations and acknowledge
-that you have the responsibility to obtain such licenses to
-export, re-export, or import as may be required after
-delivery to you.
-
-8. U.S. Government Restricted Rights. If Software is being
-acquired by or on behalf of the U.S. Government or by a
-U.S. Government prime contractor or subcontractor (at any
-tier), then the Government's rights in Software and
-accompanying documentation will be only as set forth in
-this Agreement; this is in accordance with 48 CFR 227.7201
-through 227.7202-4 (for Department of Defense (DOD)
-acquisitions) and with 48 CFR 2.101 and 12.212 (for non-DOD
-acquisitions).
-
-9. Governing Law. Any action related to this Agreement will
-be governed by California law and controlling U.S. federal
-law. No choice of law rules of any jurisdiction will
-apply.
-
-10. Severability. If any provision of this Agreement is
-held to be unenforceable, this Agreement will remain in
-effect with the provision omitted, unless omission would
-frustrate the intent of the parties, in which case this
-Agreement will immediately terminate.
-
-11. Integration. This Agreement is the entire agreement
-between you and Sun relating to its subject matter. It
-supersedes all prior or contemporaneous oral or written
-communications, proposals, representations and warranties
-and prevails over any conflicting or additional terms of
-any quote, order, acknowledgment, or other communication
-between the parties relating to its subject matter during
-the term of this Agreement. No modification of this
-Agreement will be binding, unless in writing and signed by
-an authorized representative of each party.
-
-JAVA(TM) INTERFACE CLASSES JDBC(TM) ROWSET IMPLEMENTATIONS
-1.0.1 SUPPLEMENTAL LICENSE TERMS
-
-These supplemental license terms ("Supplemental Terms") add
-to or modify the terms of the Binary Code License Agreement
-(collectively, the "Agreement"). Capitalized terms not
-defined in these Supplemental Terms shall have the same
-meanings ascribed to them in the Agreement. These
-Supplemental Terms shall supersede any inconsistent or
-conflicting terms in the Agreement, or in any license
-contained within the Software.
-
-1. Software Internal Use and Development License Grant.
-Subject to the terms and conditions of this Agreement,
-including, but not limited to Section 3 (Java(TM)
-Technology Restrictions) of these Supplemental Terms, Sun
-grants you a non-exclusive, non-transferable, limited
-license to reproduce internally and use internally the
-binary form of the Software, complete and unmodified, for
-the sole purpose of designing, developing and testing your
-Java applets and applications ("Programs").
-
-2. License to Distribute Software. In addition to the
-license granted in Section 1 (Software Internal Use and
-Development License Grant) of these Supplemental Terms,
-subject to the terms and conditions of this Agreement,
-including but not limited to Section 3 (Java Technology
-Restrictions), Sun grants you a non-exclusive,
-non-transferable, limited license to reproduce and
-distribute the Software in binary form only, provided that
-you (i) distribute the Software complete and unmodified and
-only bundled as part of your Programs, (ii) do not
-distribute additional software intended to replace any
-component(s) of the Software, (iii) do not remove or alter
-any proprietary legends or notices contained in the
-Software, (iv) only distribute the Software subject to a
-license agreement that protects Sun's interests consistent
-with the terms contained in this Agreement, and (v) agree
-to defend and indemnify Sun and its licensors from and
-against any damages, costs, liabilities, settlement amounts
-and/or expenses (includ
-
-3. Java Technology Restrictions. You may not modify the
-Java Platform Interface ("JPI", identified as classes
-contained within the "java" package or any subpackages of
-the "java" package), by creating additional classes within
-the JPI or otherwise causing the addition to or
-modification of the classes in the JPI. In the event that
-you create an additional class and associated API(s) which
-(i) extends the functionality of the Java Platform, and
-(ii) is exposed to third party software developers for the
-purpose of developing additional software which invokes
-such additional API, you must promptly publish broadly an
-accurate specification for such API for free use by all
-developers. You may not create, or authorize your licensees
-to create additional classes, interfaces, or subpackages
-that are in any way identified as "java", "javax", "sun" or
-similar convention as specified by Sun in any naming
-convention designation.
-
-4. Trademarks and Logos. You acknowledge and agree as
-between you and Sun that Sun owns the SUN, SOLARIS, JAVA,
-JINI, FORTE, and iPLANET trademarks and all SUN, SOLARIS,
-JAVA, JINI, FORTE, and iPLANET-related trademarks, service
-marks, logos and other brand designations ("Sun Marks"),
-and you agree to comply with the Sun Trademark and Logo
-Usage Requirements currently located at
-http://www.sun.com/policies/trademarks. Any use you make of
-the Sun Marks inures to Sun's benefit.
-
-5. Source Code. Software may contain source code that is
-provided solely for reference purposes pursuant to the
-terms of this Agreement. Source code may not be
-redistributed unless expressly provided for in this
-Agreement.
-
-6.Termination for Infringement. Either party may terminate
-this Agreement immediately should any Software become, or
-in either party's opinion be likely to become, the subject
-of a claim of infringement of any intellectual property
-right.
-
-For inquiries please contact: Sun Microsystems, Inc. 4150
-Network Circle, Santa Clara, California 95054.
-(LFI#141263/Form ID#011801)
\ No newline at end of file
diff --git a/libraries/com.sun.rowset_1.0/readme.txt b/libraries/com.sun.rowset_1.0/readme.txt
deleted file mode 100644
index 5065379b68..0000000000
--- a/libraries/com.sun.rowset_1.0/readme.txt
+++ /dev/null
@@ -1,16 +0,0 @@
---------------------------------------
-JDBC Rowset - Reference Implementation
---------------------------------------
-
-"A RowSet object is a container for tabular data, encapsulating
-a set of zero or more rows that have been retrieved from a data
-source. In a basic implementation of the RowSet interface, the
-rows are retrieved from a JDBC data source, but a rowset may be
-customized so that its data can also be from a spreadsheet, a flat
-file, or any other data source with a tabular format. A RowSet
-object extends the ResultSet interface, which means that it can be
-scrollable, can be updatable, and can do anything a ResultSet
-object can do."
-
-For more information:
-http://java.sun.com/products/jdbc/download.html
diff --git a/libraries/com.sun.syndication_1.0/.project b/libraries/com.sun.syndication_1.0/.project
deleted file mode 100644
index b4583d31a5..0000000000
--- a/libraries/com.sun.syndication_1.0/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- com.sun.syndication
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/com.sun.syndication_1.0/com.sun.syndication.jar b/libraries/com.sun.syndication_1.0/com.sun.syndication.jar
deleted file mode 100644
index 7138baaca1..0000000000
Binary files a/libraries/com.sun.syndication_1.0/com.sun.syndication.jar and /dev/null differ
diff --git a/libraries/com.sun.syndication_1.0/library.xml b/libraries/com.sun.syndication_1.0/library.xml
deleted file mode 100644
index 792866980b..0000000000
--- a/libraries/com.sun.syndication_1.0/library.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
- Rome
- Rome.
- 1.0
- http://java.net/projects/rome/
- http://java.net/projects/rome/downloads
- Sun Microsystems Inc.
-
-
-
- rome
- rome
-
-
-
diff --git a/libraries/com.sun.syndication_1.0/license.txt b/libraries/com.sun.syndication_1.0/license.txt
deleted file mode 100644
index f43cdb1cbc..0000000000
--- a/libraries/com.sun.syndication_1.0/license.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-Copyright 2004 Sun Microsystems, Inc.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
diff --git a/libraries/com.sun.syndication_1.0/readme.txt b/libraries/com.sun.syndication_1.0/readme.txt
deleted file mode 100644
index 4ec2160814..0000000000
--- a/libraries/com.sun.syndication_1.0/readme.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-------------------------------------------------------------
-ROME - Parsing, generating and publishing RSS and Atom feeds
-------------------------------------------------------------
-
-"ROME is an set of open source Java tools for parsing, generating and
-publishing RSS and Atom feeds. The core ROME library depends only on the
-JDOM XML parser and supports parsing, generating and converting all of
-the popular RSS and Atom formats including RSS 0.90, RSS 0.91 Netscape,
-RSS 0.91 Userland, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0,
-Atom 0.3, and Atom 1.0. You can parse to an RSS object model, an Atom
-object model or an abstract SyndFeed model that can model either family
-of formats."
-
-For more information:
-https://rome.dev.java.net/
\ No newline at end of file
diff --git a/libraries/org.apache.httpclient_4.3/.classpath b/libraries/com.wordnik.swagger.annotations_1.3/.classpath
similarity index 74%
rename from libraries/org.apache.httpclient_4.3/.classpath
rename to libraries/com.wordnik.swagger.annotations_1.3/.classpath
index ba8fc0c4ec..29ed17d0ea 100644
--- a/libraries/org.apache.httpclient_4.3/.classpath
+++ b/libraries/com.wordnik.swagger.annotations_1.3/.classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/libraries/com.wordnik.swagger.annotations_1.3/.gitignore b/libraries/com.wordnik.swagger.annotations_1.3/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/libraries/com.wordnik.swagger.annotations_1.3/.project b/libraries/com.wordnik.swagger.annotations_1.3/.project
new file mode 100644
index 0000000000..fc3a82607e
--- /dev/null
+++ b/libraries/com.wordnik.swagger.annotations_1.3/.project
@@ -0,0 +1,17 @@
+
+
+ com.wordnik.swagger.annotations_1.3
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/libraries/com.wordnik.swagger.annotations_1.3/com.wordnik.swagger.annotations.jar b/libraries/com.wordnik.swagger.annotations_1.3/com.wordnik.swagger.annotations.jar
new file mode 100644
index 0000000000..cea562c1a0
Binary files /dev/null and b/libraries/com.wordnik.swagger.annotations_1.3/com.wordnik.swagger.annotations.jar differ
diff --git a/libraries/com.wordnik.swagger.annotations_1.3/library.xml b/libraries/com.wordnik.swagger.annotations_1.3/library.xml
new file mode 100644
index 0000000000..9a8fdeaf5f
--- /dev/null
+++ b/libraries/com.wordnik.swagger.annotations_1.3/library.xml
@@ -0,0 +1,20 @@
+
+ Swagger
+ Swagger document your API with style. Swagger spec compatibility: 1.2
+ 1.3
+ https://helloreverb.com/developers/swagger
+ https://github.com/wordnik/swagger-core/wiki/Downloads
+
+ Reverb Technologies, Inc
+
+
+
+ com.wordnik
+ swagger-annotations
+ 1.3.10
+
+
+
+
+
+
diff --git a/libraries/com.wordnik.swagger_2.9/license.txt b/libraries/com.wordnik.swagger.annotations_1.3/license.txt
similarity index 100%
rename from libraries/com.wordnik.swagger_2.9/license.txt
rename to libraries/com.wordnik.swagger.annotations_1.3/license.txt
diff --git a/libraries/com.wordnik.swagger_2.9/readme.txt b/libraries/com.wordnik.swagger.annotations_1.3/readme.txt
similarity index 81%
rename from libraries/com.wordnik.swagger_2.9/readme.txt
rename to libraries/com.wordnik.swagger.annotations_1.3/readme.txt
index 1c9993c61e..cc92a82c58 100644
--- a/libraries/com.wordnik.swagger_2.9/readme.txt
+++ b/libraries/com.wordnik.swagger.annotations_1.3/readme.txt
@@ -2,12 +2,14 @@
Swagger - Document your API with style
--------------------------------------
-"Swagger is a specification and complete framework implementation for
-describing, producing, consuming, and visualizing RESTful web services.
-The overarching goal of Swagger is to enable client and documentation systems
-to update at the same pace as the server. The documentation of methods,
-parameters and models are tightly integrated into the server code,
+"Swagger is a specification and complete framework implementation for
+describing, producing, consuming, and visualizing RESTful web services.
+The overarching goal of Swagger is to enable client and documentation systems
+to update at the same pace as the server. The documentation of methods,
+parameters and models are tightly integrated into the server code,
allowing APIs to always stay in sync."
For more information:
-https://helloreverb.com/developers/swagger
\ No newline at end of file
+https://helloreverb.com/developers/swagger
+
+Swagger spec compatibility: 1.2
diff --git a/libraries/com.sun.syndication_1.0/.classpath b/libraries/com.wordnik.swagger.annotations_1.5/.classpath
similarity index 74%
rename from libraries/com.sun.syndication_1.0/.classpath
rename to libraries/com.wordnik.swagger.annotations_1.5/.classpath
index acc4b36939..29ed17d0ea 100644
--- a/libraries/com.sun.syndication_1.0/.classpath
+++ b/libraries/com.wordnik.swagger.annotations_1.5/.classpath
@@ -1,6 +1,6 @@
-
+
diff --git a/libraries/com.wordnik.swagger.annotations_1.5/.gitignore b/libraries/com.wordnik.swagger.annotations_1.5/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/libraries/com.wordnik.swagger.annotations_1.5/.project b/libraries/com.wordnik.swagger.annotations_1.5/.project
new file mode 100644
index 0000000000..a543b7f19c
--- /dev/null
+++ b/libraries/com.wordnik.swagger.annotations_1.5/.project
@@ -0,0 +1,17 @@
+
+
+ com.wordnik.swagger.annotations_1.5
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/libraries/com.wordnik.swagger.annotations_1.5/com.wordnik.swagger.annotations.jar b/libraries/com.wordnik.swagger.annotations_1.5/com.wordnik.swagger.annotations.jar
new file mode 100644
index 0000000000..af7d12bc5f
Binary files /dev/null and b/libraries/com.wordnik.swagger.annotations_1.5/com.wordnik.swagger.annotations.jar differ
diff --git a/libraries/com.wordnik.swagger.annotations_1.5/library.xml b/libraries/com.wordnik.swagger.annotations_1.5/library.xml
new file mode 100644
index 0000000000..0f850d5d6f
--- /dev/null
+++ b/libraries/com.wordnik.swagger.annotations_1.5/library.xml
@@ -0,0 +1,21 @@
+
+ Swagger
+ Swagger document your API with style. Swagger spec compatibility: 2.0
+ 1.5
+ 3-M1
+ https://helloreverb.com/developers/swagger
+ https://github.com/wordnik/swagger-core/wiki/Downloads
+
+ Reverb Technologies, Inc
+
+
+
+ com.wordnik
+ swagger-annotations
+
+
+
+
+
+
+
diff --git a/libraries/org.eclipse.jetty_9.1/license.txt b/libraries/com.wordnik.swagger.annotations_1.5/license.txt
similarity index 100%
rename from libraries/org.eclipse.jetty_9.1/license.txt
rename to libraries/com.wordnik.swagger.annotations_1.5/license.txt
diff --git a/libraries/com.wordnik.swagger.annotations_1.5/readme.txt b/libraries/com.wordnik.swagger.annotations_1.5/readme.txt
new file mode 100644
index 0000000000..10f827fadb
--- /dev/null
+++ b/libraries/com.wordnik.swagger.annotations_1.5/readme.txt
@@ -0,0 +1,15 @@
+--------------------------------------
+Swagger - Document your API with style
+--------------------------------------
+
+"Swagger is a specification and complete framework implementation for
+describing, producing, consuming, and visualizing RESTful web services.
+The overarching goal of Swagger is to enable client and documentation systems
+to update at the same pace as the server. The documentation of methods,
+parameters and models are tightly integrated into the server code,
+allowing APIs to always stay in sync."
+
+For more information:
+https://helloreverb.com/developers/swagger
+
+Swagger spec compatibility: 2.0
diff --git a/libraries/com.sun.rowset_1.0/.classpath b/libraries/com.wordnik.swagger.core_1.5/.classpath
similarity index 75%
rename from libraries/com.sun.rowset_1.0/.classpath
rename to libraries/com.wordnik.swagger.core_1.5/.classpath
index 8d24fcf59d..61702f7d5f 100644
--- a/libraries/com.sun.rowset_1.0/.classpath
+++ b/libraries/com.wordnik.swagger.core_1.5/.classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/libraries/com.wordnik.swagger.core_1.5/.gitignore b/libraries/com.wordnik.swagger.core_1.5/.gitignore
new file mode 100644
index 0000000000..5e56e040ec
--- /dev/null
+++ b/libraries/com.wordnik.swagger.core_1.5/.gitignore
@@ -0,0 +1 @@
+/bin
diff --git a/libraries/com.db4o_7.12/.project b/libraries/com.wordnik.swagger.core_1.5/.project
similarity index 88%
rename from libraries/com.db4o_7.12/.project
rename to libraries/com.wordnik.swagger.core_1.5/.project
index 7b7e983936..98a7e39993 100644
--- a/libraries/com.db4o_7.12/.project
+++ b/libraries/com.wordnik.swagger.core_1.5/.project
@@ -1,17 +1,17 @@
-
-
- com.db4o
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
+
+
+ com.wordnik.swagger.core_1.5
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/libraries/com.wordnik.swagger.core_1.5/com.wordnik.swagger.core.jar b/libraries/com.wordnik.swagger.core_1.5/com.wordnik.swagger.core.jar
new file mode 100644
index 0000000000..c035ae761e
Binary files /dev/null and b/libraries/com.wordnik.swagger.core_1.5/com.wordnik.swagger.core.jar differ
diff --git a/libraries/com.wordnik.swagger.core_1.5/library.xml b/libraries/com.wordnik.swagger.core_1.5/library.xml
new file mode 100644
index 0000000000..e6ca1d8bc2
--- /dev/null
+++ b/libraries/com.wordnik.swagger.core_1.5/library.xml
@@ -0,0 +1,20 @@
+
+ Swagger
+ Swagger document your API with style. Swagger spec compatibility: 2.0
+ 1.5
+ 3-M1
+ https://helloreverb.com/developers/swagger
+ https://github.com/wordnik/swagger-core/wiki/Downloads
+
+ Reverb Technologies, Inc
+
+
+
+ com.wordnik
+ swagger-core
+
+
+
+
+
+
diff --git a/libraries/org.apache.httpmime_4.3/license.txt b/libraries/com.wordnik.swagger.core_1.5/license.txt
similarity index 98%
rename from libraries/org.apache.httpmime_4.3/license.txt
rename to libraries/com.wordnik.swagger.core_1.5/license.txt
index 75b52484ea..d645695673 100644
--- a/libraries/org.apache.httpmime_4.3/license.txt
+++ b/libraries/com.wordnik.swagger.core_1.5/license.txt
@@ -1,202 +1,202 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/libraries/com.wordnik.swagger.core_1.5/readme.txt b/libraries/com.wordnik.swagger.core_1.5/readme.txt
new file mode 100644
index 0000000000..524a5debef
--- /dev/null
+++ b/libraries/com.wordnik.swagger.core_1.5/readme.txt
@@ -0,0 +1,17 @@
+--------------------------------------
+Swagger - Document your API with style
+--------------------------------------
+
+"Swagger is a specification and complete framework implementation for
+describing, producing, consuming, and visualizing RESTful web services.
+The overarching goal of Swagger is to enable client and documentation systems
+to update at the same pace as the server. The documentation of methods,
+parameters and models are tightly integrated into the server code,
+allowing APIs to always stay in sync."
+
+For more information:
+https://helloreverb.com/developers/swagger
+
+Swagger spec compatibility: 2.0
+
+Built from tag v1.5.3-M1
diff --git a/libraries/com.google.collections_1.0/.classpath b/libraries/com.wordnik.swagger.models_1.5/.classpath
similarity index 75%
rename from libraries/com.google.collections_1.0/.classpath
rename to libraries/com.wordnik.swagger.models_1.5/.classpath
index 6b3103c0a6..78078bbe07 100644
--- a/libraries/com.google.collections_1.0/.classpath
+++ b/libraries/com.wordnik.swagger.models_1.5/.classpath
@@ -1,6 +1,6 @@
-
+
diff --git a/libraries/com.wordnik.swagger.models_1.5/.gitignore b/libraries/com.wordnik.swagger.models_1.5/.gitignore
new file mode 100644
index 0000000000..5e56e040ec
--- /dev/null
+++ b/libraries/com.wordnik.swagger.models_1.5/.gitignore
@@ -0,0 +1 @@
+/bin
diff --git a/libraries/org.jibx_1.2/.project b/libraries/com.wordnik.swagger.models_1.5/.project
similarity index 88%
rename from libraries/org.jibx_1.2/.project
rename to libraries/com.wordnik.swagger.models_1.5/.project
index ed4655e973..aede7c4578 100644
--- a/libraries/org.jibx_1.2/.project
+++ b/libraries/com.wordnik.swagger.models_1.5/.project
@@ -1,17 +1,17 @@
-
-
- org.jibx
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
+
+
+ com.wordnik.swagger.models_1.5
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/libraries/com.wordnik.swagger.models_1.5/com.wordnik.swagger.models.jar b/libraries/com.wordnik.swagger.models_1.5/com.wordnik.swagger.models.jar
new file mode 100644
index 0000000000..f98b5ca8a8
Binary files /dev/null and b/libraries/com.wordnik.swagger.models_1.5/com.wordnik.swagger.models.jar differ
diff --git a/libraries/com.wordnik.swagger.models_1.5/library.xml b/libraries/com.wordnik.swagger.models_1.5/library.xml
new file mode 100644
index 0000000000..063ae84678
--- /dev/null
+++ b/libraries/com.wordnik.swagger.models_1.5/library.xml
@@ -0,0 +1,20 @@
+
+ Swagger
+ Swagger document your API with style. Swagger spec compatibility: 2.0
+ 1.5
+ 3-M1
+ https://helloreverb.com/developers/swagger
+ https://github.com/wordnik/swagger-core/wiki/Downloads
+
+ Reverb Technologies, Inc
+
+
+
+ com.wordnik
+ swagger-models
+
+
+
+
+
+
diff --git a/libraries/org.json4s_2.10/license.txt b/libraries/com.wordnik.swagger.models_1.5/license.txt
similarity index 98%
rename from libraries/org.json4s_2.10/license.txt
rename to libraries/com.wordnik.swagger.models_1.5/license.txt
index 75b52484ea..d645695673 100644
--- a/libraries/org.json4s_2.10/license.txt
+++ b/libraries/com.wordnik.swagger.models_1.5/license.txt
@@ -1,202 +1,202 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/libraries/com.wordnik.swagger.models_1.5/readme.txt b/libraries/com.wordnik.swagger.models_1.5/readme.txt
new file mode 100644
index 0000000000..524a5debef
--- /dev/null
+++ b/libraries/com.wordnik.swagger.models_1.5/readme.txt
@@ -0,0 +1,17 @@
+--------------------------------------
+Swagger - Document your API with style
+--------------------------------------
+
+"Swagger is a specification and complete framework implementation for
+describing, producing, consuming, and visualizing RESTful web services.
+The overarching goal of Swagger is to enable client and documentation systems
+to update at the same pace as the server. The documentation of methods,
+parameters and models are tightly integrated into the server code,
+allowing APIs to always stay in sync."
+
+For more information:
+https://helloreverb.com/developers/swagger
+
+Swagger spec compatibility: 2.0
+
+Built from tag v1.5.3-M1
diff --git a/libraries/com.wordnik.swagger_2.9/.classpath b/libraries/com.wordnik.swagger_2.9/.classpath
deleted file mode 100644
index 4a7feb9208..0000000000
--- a/libraries/com.wordnik.swagger_2.9/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/libraries/com.wordnik.swagger_2.9/com.wordnik.swagger.annotations.jar b/libraries/com.wordnik.swagger_2.9/com.wordnik.swagger.annotations.jar
deleted file mode 100644
index e128d0a5ae..0000000000
Binary files a/libraries/com.wordnik.swagger_2.9/com.wordnik.swagger.annotations.jar and /dev/null differ
diff --git a/libraries/com.wordnik.swagger_2.9/com.wordnik.swagger.jar b/libraries/com.wordnik.swagger_2.9/com.wordnik.swagger.jar
deleted file mode 100644
index 128dd18a79..0000000000
Binary files a/libraries/com.wordnik.swagger_2.9/com.wordnik.swagger.jar and /dev/null differ
diff --git a/libraries/com.wordnik.swagger_2.9/library.xml b/libraries/com.wordnik.swagger_2.9/library.xml
deleted file mode 100644
index c4d3df5571..0000000000
--- a/libraries/com.wordnik.swagger_2.9/library.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
- Swagger
- Swagger document your API with style.
- 2.9
- https://helloreverb.com/developers/swagger
- https://github.com/wordnik/swagger-core/wiki/Downloads
-
- Reverb Technologies, Inc
-
-
-
- com.wordnik
- swagger-core_2.9.1
- 1.2.5
-
-
-
-
- com.wordnik
- swagger-annotations_2.9.1
- 1.2.5
-
-
-
-
diff --git a/libraries/org.apache.httpcore_4.3/.classpath b/libraries/io.netty_4.1/.classpath
similarity index 75%
rename from libraries/org.apache.httpcore_4.3/.classpath
rename to libraries/io.netty_4.1/.classpath
index 54e1b04664..ad0f92db2e 100644
--- a/libraries/org.apache.httpcore_4.3/.classpath
+++ b/libraries/io.netty_4.1/.classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/libraries/org.json4s_2.10/.project b/libraries/io.netty_4.1/.project
similarity index 93%
rename from libraries/org.json4s_2.10/.project
rename to libraries/io.netty_4.1/.project
index 9e53857a03..9fd915e0a1 100644
--- a/libraries/org.json4s_2.10/.project
+++ b/libraries/io.netty_4.1/.project
@@ -1,6 +1,6 @@
- org.json4s
+ io.netty
diff --git a/libraries/io.netty_4.1/io.netty.jar b/libraries/io.netty_4.1/io.netty.jar
new file mode 100644
index 0000000000..e534aab7b0
Binary files /dev/null and b/libraries/io.netty_4.1/io.netty.jar differ
diff --git a/libraries/io.netty_4.1/library.xml b/libraries/io.netty_4.1/library.xml
new file mode 100644
index 0000000000..d10ea51b2a
--- /dev/null
+++ b/libraries/io.netty_4.1/library.xml
@@ -0,0 +1,22 @@
+
+ Netty
+ Netty project.
+ 4.1
+ http://netty.io
+ http://netty.io/downloads.html
+ The Netty project
+
+
+
+ io.netty
+ netty-all
+ 4.1.0.Beta4
+
+
+
+
+
+
+
+
+
diff --git a/libraries/org.apache.httpcore_4.3/license.txt b/libraries/io.netty_4.1/license.txt
similarity index 98%
rename from libraries/org.apache.httpcore_4.3/license.txt
rename to libraries/io.netty_4.1/license.txt
index 75b52484ea..d645695673 100644
--- a/libraries/org.apache.httpcore_4.3/license.txt
+++ b/libraries/io.netty_4.1/license.txt
@@ -1,202 +1,202 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/libraries/io.netty_4.1/readme.txt b/libraries/io.netty_4.1/readme.txt
new file mode 100644
index 0000000000..927bd9270d
--- /dev/null
+++ b/libraries/io.netty_4.1/readme.txt
@@ -0,0 +1,20 @@
+---------------------------------------------------------------
+Netty - Asynchronous event-driven network application framework
+---------------------------------------------------------------
+
+"Netty is a NIO client server framework which enables quick and
+easy development of network applications such as protocol
+servers and clients. It greatly simplifies and streamlines
+network programming such as TCP and UDP socket server.
+
+'Quick and easy' doesn't mean that a resulting application will
+suffer from a maintainability or a performance issue. Netty has
+been designed carefully with the experiences earned from the
+implementation of a lot of protocols such as FTP, SMTP, HTTP,
+and various binary and text-based legacy protocols. As a
+result, Netty has succeeded to find a way to achieve ease of
+development, performance, stability, and flexibility without a
+compromise."
+
+For more information:
+http://netty.io/
diff --git a/libraries/javax.inject_1.0/.classpath b/libraries/javax.inject_1.0/.classpath
index 2ce85fc979..9fb9646eb1 100644
--- a/libraries/javax.inject_1.0/.classpath
+++ b/libraries/javax.inject_1.0/.classpath
@@ -1,6 +1,6 @@
-
+
diff --git a/libraries/javax.ws.rs_2.0/javax.ws.rs-api-2.0-sources.jar b/libraries/javax.ws.rs_2.0/javax.ws.rs-api-2.0-sources.jar
new file mode 100644
index 0000000000..b3c6a7076c
Binary files /dev/null and b/libraries/javax.ws.rs_2.0/javax.ws.rs-api-2.0-sources.jar differ
diff --git a/libraries/javax.ws.rs_2.0/library.xml b/libraries/javax.ws.rs_2.0/library.xml
index e91a553f1f..b598e3f875 100644
--- a/libraries/javax.ws.rs_2.0/library.xml
+++ b/libraries/javax.ws.rs_2.0/library.xml
@@ -2,7 +2,6 @@
JAX-RS APIJAX-RS (JSR 339) API2.0
- 0https://jax-rs-spec.java.net/http://download.java.net/maven/2/javax/ws/rs/jsr311-api/Oracle Inc.
diff --git a/libraries/org.aopalliance_1.0/.classpath b/libraries/org.aopalliance_1.0/.classpath
index 4a202a21ca..a5c131fdf8 100644
--- a/libraries/org.aopalliance_1.0/.classpath
+++ b/libraries/org.aopalliance_1.0/.classpath
@@ -1,6 +1,6 @@
-
+
diff --git a/libraries/org.apache.httpclient_4.3/.project b/libraries/org.apache.httpclient_4.3/.project
deleted file mode 100644
index af8a2659b6..0000000000
--- a/libraries/org.apache.httpclient_4.3/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- org.apache.httpclient
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/org.apache.httpclient_4.3/library.xml b/libraries/org.apache.httpclient_4.3/library.xml
deleted file mode 100644
index 5b45d23f9d..0000000000
--- a/libraries/org.apache.httpclient_4.3/library.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
- Apache HTTP Components Client
- Apache HTTP Components Client
- 4.3
- 2
- http://hc.apache.org/httpcomponents-client/
- http://hc.apache.org/httpcomponents-client/download.html
- Apache Software Foundation
-
-
-
- org.apache.httpcomponents
- httpclient
-
-
-
-
-
-
-
-
-
diff --git a/libraries/org.apache.httpclient_4.3/org.apache.httpclient.jar b/libraries/org.apache.httpclient_4.3/org.apache.httpclient.jar
deleted file mode 100644
index 904409dac8..0000000000
Binary files a/libraries/org.apache.httpclient_4.3/org.apache.httpclient.jar and /dev/null differ
diff --git a/libraries/org.apache.httpclient_4.3/readme.txt b/libraries/org.apache.httpclient_4.3/readme.txt
deleted file mode 100644
index 8d4efd8bd8..0000000000
--- a/libraries/org.apache.httpclient_4.3/readme.txt
+++ /dev/null
@@ -1,13 +0,0 @@
------------------------------
-Apache HTTP Components Client
------------------------------
-
-"HttpClient is a HTTP/1.1 compliant HTTP agent implementation based on
-HttpCore. It also provides reusable components for client-side
-authentication, HTTP state management, and HTTP connection management.
-HttpComponents Client is a successor of and replacement for Commons
-HttpClient 3.x. Users of Commons HttpClient are strongly encouraged to
-upgrade."
-
-For more information:
-http://hc.apache.org/httpcomponents-client/
diff --git a/libraries/org.apache.httpcore_4.3/.project b/libraries/org.apache.httpcore_4.3/.project
deleted file mode 100644
index 0afaee32dc..0000000000
--- a/libraries/org.apache.httpcore_4.3/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- org.apache.httpcore
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/org.apache.httpcore_4.3/library.xml b/libraries/org.apache.httpcore_4.3/library.xml
deleted file mode 100644
index b9843b0d24..0000000000
--- a/libraries/org.apache.httpcore_4.3/library.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
- Apache HTTP Components Core
- Apache HTTP Components Core
- 4.3
- 1
- http://hc.apache.org/httpcomponents-core/
- http://hc.apache.org/httpcomponents-core/download.html
- Apache Software Foundation
-
-
-
- org.apache.httpcomponents
- httpcore
-
-
-
-
-
-
-
-
-
diff --git a/libraries/org.apache.httpcore_4.3/org.apache.httpcore.jar b/libraries/org.apache.httpcore_4.3/org.apache.httpcore.jar
deleted file mode 100644
index c2b043b08b..0000000000
Binary files a/libraries/org.apache.httpcore_4.3/org.apache.httpcore.jar and /dev/null differ
diff --git a/libraries/org.apache.httpcore_4.3/readme.txt b/libraries/org.apache.httpcore_4.3/readme.txt
deleted file mode 100644
index e0c9f3ad9d..0000000000
--- a/libraries/org.apache.httpcore_4.3/readme.txt
+++ /dev/null
@@ -1,12 +0,0 @@
----------------------------
-Apache HTTP Components Core
----------------------------
-
-"HttpCore is a set of low level HTTP transport components that can
-be used to build custom client and server side HTTP services with a
-minimal footprint. HttpCore supports two I/O models: blocking I/O
-model based on the classic Java I/O and non-blocking, event driven
-I/O model based on Java NIO."
-
-For more information:
-http://hc.apache.org/httpcomponents-core/
diff --git a/libraries/org.apache.httpmime_4.3/.classpath b/libraries/org.apache.httpmime_4.3/.classpath
deleted file mode 100644
index 1acd478650..0000000000
--- a/libraries/org.apache.httpmime_4.3/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/libraries/org.apache.httpmime_4.3/.project b/libraries/org.apache.httpmime_4.3/.project
deleted file mode 100644
index 438d2d7903..0000000000
--- a/libraries/org.apache.httpmime_4.3/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- org.apache.httpmime
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/org.apache.httpmime_4.3/library.xml b/libraries/org.apache.httpmime_4.3/library.xml
deleted file mode 100644
index 970a34185c..0000000000
--- a/libraries/org.apache.httpmime_4.3/library.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
- Apache HTTP Components MIME
- Apache HTTP Components MIME
- 4.3
- http://hc.apache.org/httpcomponents-client/httpmime/
- http://hc.apache.org/httpcomponents-client/download.html
- Apache Software Foundation
-
-
-
- org.apache.httpcomponents
- httpmime
-
-
-
-
-
-
-
-
-
diff --git a/libraries/org.apache.httpmime_4.3/org.apache.httpmime.jar b/libraries/org.apache.httpmime_4.3/org.apache.httpmime.jar
deleted file mode 100644
index f562d56458..0000000000
Binary files a/libraries/org.apache.httpmime_4.3/org.apache.httpmime.jar and /dev/null differ
diff --git a/libraries/org.apache.httpmime_4.3/readme.txt b/libraries/org.apache.httpmime_4.3/readme.txt
deleted file mode 100644
index edff498b1a..0000000000
--- a/libraries/org.apache.httpmime_4.3/readme.txt
+++ /dev/null
@@ -1,10 +0,0 @@
----------------------------
-Apache HTTP Components MIME
----------------------------
-
-"This library extends Apache James Mime4j library with some HTTP
-specific functionality and integrates it with the HttpComponents
-framework."
-
-For more information:
-http://hc.apache.org/httpcomponents-client/httpmime/
\ No newline at end of file
diff --git a/libraries/org.apache.velocity_1.7/.classpath b/libraries/org.apache.velocity_1.7/.classpath
index 2ef1e69749..5ecf020053 100644
--- a/libraries/org.apache.velocity_1.7/.classpath
+++ b/libraries/org.apache.velocity_1.7/.classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/libraries/org.codehaus.woodstox_4.2/org.codehaus.woodstox.stax2api.jar b/libraries/org.codehaus.woodstox_4.2/org.codehaus.woodstox.stax2api.jar
deleted file mode 100644
index 8d0aeef6db..0000000000
Binary files a/libraries/org.codehaus.woodstox_4.2/org.codehaus.woodstox.stax2api.jar and /dev/null differ
diff --git a/libraries/org.codehaus.woodstox_4.2/.classpath b/libraries/org.codehaus.woodstox_4.3/.classpath
similarity index 100%
rename from libraries/org.codehaus.woodstox_4.2/.classpath
rename to libraries/org.codehaus.woodstox_4.3/.classpath
diff --git a/libraries/org.codehaus.woodstox_4.2/.project b/libraries/org.codehaus.woodstox_4.3/.project
similarity index 95%
rename from libraries/org.codehaus.woodstox_4.2/.project
rename to libraries/org.codehaus.woodstox_4.3/.project
index 2258c3c7a3..1cee353ed7 100644
--- a/libraries/org.codehaus.woodstox_4.2/.project
+++ b/libraries/org.codehaus.woodstox_4.3/.project
@@ -1,17 +1,17 @@
-
-
- org.codehaus.woodstox
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
+
+
+ org.codehaus.woodstox
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/libraries/org.codehaus.woodstox_4.2/library.xml b/libraries/org.codehaus.woodstox_4.3/library.xml
similarity index 93%
rename from libraries/org.codehaus.woodstox_4.2/library.xml
rename to libraries/org.codehaus.woodstox_4.3/library.xml
index 4b60e845f2..3de9de7afe 100644
--- a/libraries/org.codehaus.woodstox_4.2/library.xml
+++ b/libraries/org.codehaus.woodstox_4.3/library.xml
@@ -1,7 +1,7 @@
WoodstoxWoodstox.
- 4.2
+ 4.30woodstox.codehaus.org/http://woodstox.codehaus.org/Download
@@ -16,7 +16,7 @@
org.codehaus.woodstoxstax2-api
- 3.1.3
+ 3.1.4
diff --git a/libraries/org.codehaus.woodstox_4.2/license.txt b/libraries/org.codehaus.woodstox_4.3/license.txt
similarity index 100%
rename from libraries/org.codehaus.woodstox_4.2/license.txt
rename to libraries/org.codehaus.woodstox_4.3/license.txt
diff --git a/libraries/org.codehaus.woodstox_4.2/org.codehaus.woodstox.core.jar b/libraries/org.codehaus.woodstox_4.3/org.codehaus.woodstox.core.jar
similarity index 66%
rename from libraries/org.codehaus.woodstox_4.2/org.codehaus.woodstox.core.jar
rename to libraries/org.codehaus.woodstox_4.3/org.codehaus.woodstox.core.jar
index 8ca96d52a9..f0dd996677 100644
Binary files a/libraries/org.codehaus.woodstox_4.2/org.codehaus.woodstox.core.jar and b/libraries/org.codehaus.woodstox_4.3/org.codehaus.woodstox.core.jar differ
diff --git a/libraries/org.codehaus.woodstox_4.3/org.codehaus.woodstox.stax2api.jar b/libraries/org.codehaus.woodstox_4.3/org.codehaus.woodstox.stax2api.jar
new file mode 100644
index 0000000000..dded036928
Binary files /dev/null and b/libraries/org.codehaus.woodstox_4.3/org.codehaus.woodstox.stax2api.jar differ
diff --git a/libraries/org.codehaus.woodstox_4.2/readme.txt b/libraries/org.codehaus.woodstox_4.3/readme.txt
similarity index 97%
rename from libraries/org.codehaus.woodstox_4.2/readme.txt
rename to libraries/org.codehaus.woodstox_4.3/readme.txt
index 027423abd0..22642a0e8b 100644
--- a/libraries/org.codehaus.woodstox_4.2/readme.txt
+++ b/libraries/org.codehaus.woodstox_4.3/readme.txt
@@ -1,13 +1,13 @@
------------------------------------------------------------
-Woodstox - Stax2 implementation
------------------------------------------------------------
-
-"StAX2 is an experimental API that is intended to extend
-basic StAX specifications in a way that allows implementations
-to experiment with features before they end up in the actual
-StAX specification (if they do). As such, it is intended to
-be freely implementable by all StAX implementations same way
-as StAX, but without going through a formal JCP process."
-
-For more information:
+-----------------------------------------------------------
+Woodstox - Stax2 implementation
+-----------------------------------------------------------
+
+"StAX2 is an experimental API that is intended to extend
+basic StAX specifications in a way that allows implementations
+to experiment with features before they end up in the actual
+StAX specification (if they do). As such, it is intended to
+be freely implementable by all StAX implementations same way
+as StAX, but without going through a formal JCP process."
+
+For more information:
http://woodstox.codehaus.org/StAX2
\ No newline at end of file
diff --git a/libraries/org.eclipse.e4_0.12/.classpath b/libraries/org.eclipse.e4_0.12/.classpath
deleted file mode 100644
index 39e087180a..0000000000
--- a/libraries/org.eclipse.e4_0.12/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/libraries/org.eclipse.e4_0.12/.project b/libraries/org.eclipse.e4_0.12/.project
deleted file mode 100644
index 6e368550c5..0000000000
--- a/libraries/org.eclipse.e4_0.12/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- org.eclipse.e4
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/org.eclipse.e4_0.12/library.xml b/libraries/org.eclipse.e4_0.12/library.xml
deleted file mode 100644
index 3beb514261..0000000000
--- a/libraries/org.eclipse.e4_0.12/library.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
- Eclipse - e4 core
- Eclipse - e4 core.
- 0.12
- RC1
- http://eclipse.org/
- http://download.eclipse.org/e4/downloads/
- Eclipse
-
-
-
- org.eclipse.e4
-
-
-
-
- org.eclipse.e4
-
-
-
-
-
-
diff --git a/libraries/org.eclipse.e4_0.12/license.txt b/libraries/org.eclipse.e4_0.12/license.txt
deleted file mode 100644
index 16cc69a523..0000000000
--- a/libraries/org.eclipse.e4_0.12/license.txt
+++ /dev/null
@@ -1,87 +0,0 @@
-Eclipse Public License - v 1.0
-
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
-1. DEFINITIONS
-
-"Contribution" means:
-
-a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
-
-b) in the case of each subsequent Contributor:
-
-i) changes to the Program, and
-
-ii) additions to the Program;
-
-where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
-
-"Contributor" means any person or entity that distributes the Program.
-
-"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
-
-"Program" means the Contributions distributed in accordance with this Agreement.
-
-"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
-
-2. GRANT OF RIGHTS
-
-a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
-
-b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
-
-c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
-
-d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
-
-3. REQUIREMENTS
-
-A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
-
-a) it complies with the terms and conditions of this Agreement; and
-
-b) its license agreement:
-
-i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
-
-ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
-
-iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
-
-iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
-
-When the Program is made available in source code form:
-
-a) it must be made available under this Agreement; and
-
-b) a copy of this Agreement must be included with each copy of the Program.
-
-Contributors may not remove or alter any copyright notices contained within the Program.
-
-Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
-
-4. COMMERCIAL DISTRIBUTION
-
-Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
-
-For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
-
-5. NO WARRANTY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
-
-6. DISCLAIMER OF LIABILITY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. GENERAL
-
-If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
-
-If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
-
-All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
-
-Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
-
-This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
diff --git a/libraries/org.eclipse.e4_0.12/org.eclipse.e4.core.contexts.jar b/libraries/org.eclipse.e4_0.12/org.eclipse.e4.core.contexts.jar
deleted file mode 100644
index 64e52b742a..0000000000
Binary files a/libraries/org.eclipse.e4_0.12/org.eclipse.e4.core.contexts.jar and /dev/null differ
diff --git a/libraries/org.eclipse.e4_0.12/org.eclipse.e4.core.di.jar b/libraries/org.eclipse.e4_0.12/org.eclipse.e4.core.di.jar
deleted file mode 100644
index 30836d5aa4..0000000000
Binary files a/libraries/org.eclipse.e4_0.12/org.eclipse.e4.core.di.jar and /dev/null differ
diff --git a/libraries/org.eclipse.e4_0.12/readme.txt b/libraries/org.eclipse.e4_0.12/readme.txt
deleted file mode 100644
index cd7477b28a..0000000000
--- a/libraries/org.eclipse.e4_0.12/readme.txt
+++ /dev/null
@@ -1,18 +0,0 @@
------------
-Eclipse E4
------------
-
-"The mission of the e4 project is to build a next generation platform for
-pervasive, component-based applications and tools.
-
-The Eclipse platform was first targeted at building an extensible IDE
-component framework. It has since grown to include a Rich Client Platform,
-enabling whole new categories of scenarios and domains. As the software
-landscape changes, so must the Eclipse platform in order to remain relevant
-and vibrant. These trend lines point to web technologies, new user interface
-metaphors, and distributed infrastructure. Now is the time to rethink elements
-of the platform so that Eclipse may remain at the forefront of application
-development. "
-
-For more information:
-http://www.eclipse.org/e4/
\ No newline at end of file
diff --git a/libraries/org.eclipse.jetty_9.1/library.xml b/libraries/org.eclipse.jetty_9.1/library.xml
deleted file mode 100644
index 4cd559f159..0000000000
--- a/libraries/org.eclipse.jetty_9.1/library.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
- Jetty HTTP server
- Jetty HTTP server
- 9.1
- 3.v20140225
- http://www.eclipse.org/jetty/
- http://download.eclipse.org/jetty/
- The Eclipse Foundation
-
-
-
- org.eclipse.jetty
- jetty-continuation
-
-
-
-
- org.eclipse.jetty
- jetty-http
-
-
-
-
- org.eclipse.jetty
- jetty-io
-
-
-
-
- org.eclipse.jetty
- jetty-server
-
-
-
-
- org.eclipse.jetty
- jetty-util
-
-
-
-
-
-
-
-
-
diff --git a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.client.jar b/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.client.jar
deleted file mode 100644
index b6514387d4..0000000000
Binary files a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.client.jar and /dev/null differ
diff --git a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.http.jar b/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.http.jar
deleted file mode 100644
index f0fc4f9f85..0000000000
Binary files a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.http.jar and /dev/null differ
diff --git a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.io.jar b/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.io.jar
deleted file mode 100644
index 1d0d53c2fb..0000000000
Binary files a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.io.jar and /dev/null differ
diff --git a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.server.jar b/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.server.jar
deleted file mode 100644
index 71b4e97618..0000000000
Binary files a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.server.jar and /dev/null differ
diff --git a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.util.jar b/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.util.jar
deleted file mode 100644
index 4a66076045..0000000000
Binary files a/libraries/org.eclipse.jetty_9.1/org.eclipse.jetty.util.jar and /dev/null differ
diff --git a/libraries/org.eclipse.jetty_9.1/.classpath b/libraries/org.eclipse.jetty_9.2/.classpath
similarity index 59%
rename from libraries/org.eclipse.jetty_9.1/.classpath
rename to libraries/org.eclipse.jetty_9.2/.classpath
index b75e4b55cb..6177d1db79 100644
--- a/libraries/org.eclipse.jetty_9.1/.classpath
+++ b/libraries/org.eclipse.jetty_9.2/.classpath
@@ -1,10 +1,15 @@
-
-
-
+
+
+
+
+
+
+
+
diff --git a/libraries/org.eclipse.jetty_9.1/.project b/libraries/org.eclipse.jetty_9.2/.project
similarity index 100%
rename from libraries/org.eclipse.jetty_9.1/.project
rename to libraries/org.eclipse.jetty_9.2/.project
diff --git a/libraries/org.eclipse.jetty_9.2/library.xml b/libraries/org.eclipse.jetty_9.2/library.xml
new file mode 100644
index 0000000000..b806a4a679
--- /dev/null
+++ b/libraries/org.eclipse.jetty_9.2/library.xml
@@ -0,0 +1,76 @@
+
+ Jetty HTTP server
+ Jetty HTTP server
+ 9.2
+ 6.v20141205
+ http://www.eclipse.org/jetty/
+ http://download.eclipse.org/jetty/
+ The Eclipse Foundation
+
+
+
+ org.eclipse.jetty
+ jetty-client
+
+
+
+
+ org.eclipse.jetty
+ jetty-http
+
+
+
+
+ org.eclipse.jetty
+ jetty-io
+
+
+
+
+ org.eclipse.jetty
+ jetty-server
+
+
+
+
+ org.eclipse.jetty.spdy
+ spdy-client
+
+
+
+
+ org.eclipse.jetty.spdy
+ spdy-core
+
+
+
+
+ org.eclipse.jetty.spdy
+ spdy-http-common
+
+
+
+
+ org.eclipse.jetty.spdy
+ spdy-http-server
+
+
+
+
+ org.eclipse.jetty.spdy
+ spdy-server
+
+
+
+
+ org.eclipse.jetty
+ jetty-util
+
+
+
+
+
+
+
+
+
diff --git a/libraries/org.apache.httpclient_4.3/license.txt b/libraries/org.eclipse.jetty_9.2/license.txt
similarity index 98%
rename from libraries/org.apache.httpclient_4.3/license.txt
rename to libraries/org.eclipse.jetty_9.2/license.txt
index 75b52484ea..d645695673 100644
--- a/libraries/org.apache.httpclient_4.3/license.txt
+++ b/libraries/org.eclipse.jetty_9.2/license.txt
@@ -1,202 +1,202 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.client.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.client.jar
new file mode 100644
index 0000000000..27739e5b02
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.client.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.http.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.http.jar
new file mode 100644
index 0000000000..f1738417c7
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.http.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.io.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.io.jar
new file mode 100644
index 0000000000..8ec3a5346b
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.io.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.server.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.server.jar
new file mode 100644
index 0000000000..857f16d3de
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.server.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.client.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.client.jar
new file mode 100644
index 0000000000..31be8e4f2e
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.client.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.core.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.core.jar
new file mode 100644
index 0000000000..c2629428d9
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.core.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.http.common.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.http.common.jar
new file mode 100644
index 0000000000..23ea517780
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.http.common.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.http.server.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.http.server.jar
new file mode 100644
index 0000000000..5b0df22334
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.http.server.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.server.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.server.jar
new file mode 100644
index 0000000000..c27b5903ed
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.spdy.server.jar differ
diff --git a/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.util.jar b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.util.jar
new file mode 100644
index 0000000000..a530b929c5
Binary files /dev/null and b/libraries/org.eclipse.jetty_9.2/org.eclipse.jetty.util.jar differ
diff --git a/libraries/org.eclipse.jetty_9.1/readme.txt b/libraries/org.eclipse.jetty_9.2/readme.txt
similarity index 100%
rename from libraries/org.eclipse.jetty_9.1/readme.txt
rename to libraries/org.eclipse.jetty_9.2/readme.txt
diff --git a/libraries/org.jdom_1.1/library.xml b/libraries/org.jdom_1.1/library.xml
deleted file mode 100644
index b208842052..0000000000
--- a/libraries/org.jdom_1.1/library.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
- JDOM
- JDOM
- 1.1
- http://www.jdom.org/
- http://www.jdom.org/dist/binary/
- Jason Hunter and Brett McLaughlin
-
-
-
- jdom
-
-
-
diff --git a/libraries/org.jdom_1.1/license.txt b/libraries/org.jdom_1.1/license.txt
deleted file mode 100644
index 5a75e93592..0000000000
--- a/libraries/org.jdom_1.1/license.txt
+++ /dev/null
@@ -1,56 +0,0 @@
-/*--
-
- $Id: LICENSE.txt,v 1.11 2004/02/06 09:32:57 jhunter Exp $
-
- Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin.
- All rights reserved.
-
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
-
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions, and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions, and the disclaimer that follows
- these conditions in the documentation and/or other materials
- provided with the distribution.
-
- 3. The name "JDOM" must not be used to endorse or promote products
- derived from this software without prior written permission. For
- written permission, please contact .
-
- 4. Products derived from this software may not be called "JDOM", nor
- may "JDOM" appear in their name, without prior written permission
- from the JDOM Project Management .
-
- In addition, we request (but do not require) that you include in the
- end-user documentation provided with the redistribution and/or in the
- software itself an acknowledgement equivalent to the following:
- "This product includes software developed by the
- JDOM Project (http://www.jdom.org/)."
- Alternatively, the acknowledgment may be graphical using the logos
- available at http://www.jdom.org/images/logos.
-
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- SUCH DAMAGE.
-
- This software consists of voluntary contributions made by many
- individuals on behalf of the JDOM Project and was originally
- created by Jason Hunter and
- Brett McLaughlin . For more information
- on the JDOM Project, please see .
-
- */
-
diff --git a/libraries/org.jdom_1.1/org.jdom.jar b/libraries/org.jdom_1.1/org.jdom.jar
deleted file mode 100644
index 97c85f564e..0000000000
Binary files a/libraries/org.jdom_1.1/org.jdom.jar and /dev/null differ
diff --git a/libraries/org.jdom_1.1/readme.txt b/libraries/org.jdom_1.1/readme.txt
deleted file mode 100644
index d062bd6c8c..0000000000
--- a/libraries/org.jdom_1.1/readme.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-------------------------------------------------------
-JDOM - Solution for using XML as simple as Java itself
-------------------------------------------------------
-
-"There is no compelling reason for a Java API to manipulate XML to be
-complex, tricky, unintuitive, or a pain in the neck. JDOMTM is both
-Java-centric and Java-optimized. It behaves like Java, it uses Java
-collections, it is completely natural API for current Java developers,
-and it provides a low-cost entry point for using XML."
-
-For more information:
-http://www.jdom.org/
\ No newline at end of file
diff --git a/libraries/org.jibx_1.2/.classpath b/libraries/org.jibx_1.2/.classpath
deleted file mode 100644
index ee07b64d1f..0000000000
--- a/libraries/org.jibx_1.2/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/libraries/org.jibx_1.2/library.xml b/libraries/org.jibx_1.2/library.xml
deleted file mode 100644
index 552a77d1e5..0000000000
--- a/libraries/org.jibx_1.2/library.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
- JiBX: Binding XML to Java Code
- JiBX: Binding XML to Java Code
- 1.2
- 5
- http://jibx.sourceforge.net/
- http://sourceforge.net/project/showfiles.php?group_id=69358
- Dennis M. Sosnoski
-
-
-
- org.jibx
- jibx-run
-
-
-
-
-
-
-
-
-
diff --git a/libraries/org.jibx_1.2/license.txt b/libraries/org.jibx_1.2/license.txt
deleted file mode 100644
index 95e2104c15..0000000000
--- a/libraries/org.jibx_1.2/license.txt
+++ /dev/null
@@ -1,25 +0,0 @@
-Copyright (c) 2003-2007, Dennis M. Sosnoski
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
- * Neither the name of JiBX nor the names of its contributors may be used
- to endorse or promote products derived from this software without specific
- prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/libraries/org.jibx_1.2/org.jibx.runtime.jar b/libraries/org.jibx_1.2/org.jibx.runtime.jar
deleted file mode 100644
index 6ce3100245..0000000000
Binary files a/libraries/org.jibx_1.2/org.jibx.runtime.jar and /dev/null differ
diff --git a/libraries/org.jibx_1.2/readme.txt b/libraries/org.jibx_1.2/readme.txt
deleted file mode 100644
index 3b5b33744a..0000000000
--- a/libraries/org.jibx_1.2/readme.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-------------------------------
-JiBX: Binding XML to Java Code
-------------------------------
-
-"JiBX is a framework for binding XML data to Java objects. It lets you work
-with data from XML documents using your own class structures. The JiBX
-framework handles all the details of converting your data to and from XML
-based on your instructions. JiBX is designed to perform the translation between
-internal data structures and XML with very high efficiency, but still allows
-you a high degree of control over the translation process."
-
-For more information:
-http://jibx.sourceforge.net/
diff --git a/libraries/org.json4s_2.10/.classpath b/libraries/org.json4s_2.10/.classpath
deleted file mode 100644
index e77d1b53e0..0000000000
--- a/libraries/org.json4s_2.10/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/libraries/org.json4s_2.10/json4s-ast.jar b/libraries/org.json4s_2.10/json4s-ast.jar
deleted file mode 100644
index 20fee157ac..0000000000
Binary files a/libraries/org.json4s_2.10/json4s-ast.jar and /dev/null differ
diff --git a/libraries/org.json4s_2.10/json4s-core.jar b/libraries/org.json4s_2.10/json4s-core.jar
deleted file mode 100644
index 6c3467599d..0000000000
Binary files a/libraries/org.json4s_2.10/json4s-core.jar and /dev/null differ
diff --git a/libraries/org.json4s_2.10/json4s-ext.jar b/libraries/org.json4s_2.10/json4s-ext.jar
deleted file mode 100644
index 2e7714575b..0000000000
Binary files a/libraries/org.json4s_2.10/json4s-ext.jar and /dev/null differ
diff --git a/libraries/org.json4s_2.10/json4s-jackson.jar b/libraries/org.json4s_2.10/json4s-jackson.jar
deleted file mode 100644
index 6c62123846..0000000000
Binary files a/libraries/org.json4s_2.10/json4s-jackson.jar and /dev/null differ
diff --git a/libraries/org.json4s_2.10/json4s-native.jar b/libraries/org.json4s_2.10/json4s-native.jar
deleted file mode 100644
index 3134a979ce..0000000000
Binary files a/libraries/org.json4s_2.10/json4s-native.jar and /dev/null differ
diff --git a/libraries/org.json4s_2.10/library.xml b/libraries/org.json4s_2.10/library.xml
deleted file mode 100644
index 98d5c41977..0000000000
--- a/libraries/org.json4s_2.10/library.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
- Json4s
- Json4s library.
- 2.10
- https://github.com/json4s/json4s
- https://github.com/json4s/json4s
- EPFL
-
-
-
- org.json4s
- json4s-ast_2.10
- 3.2.4
-
-
-
-
- org.json4s
- json4s-core_2.10
- 3.2.4
-
-
-
-
- org.json4s
- json4s-ext_2.10
- 3.2.4
-
-
-
-
- org.json4s
- json4s-jackson_2.10
- 3.2.4
-
-
-
-
- org.json4s
- json4s-native_2.10
- 3.2.4
-
-
-
diff --git a/libraries/org.json4s_2.10/readme.txt b/libraries/org.json4s_2.10/readme.txt
deleted file mode 100644
index b59de8683b..0000000000
--- a/libraries/org.json4s_2.10/readme.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-----------------------------------------
-Scala - Object-Oriented Meets Functional
-----------------------------------------
-
-"Have the best of both worlds. Construct elegant class hierarchies for maximum
-code reuse and extensibility, implement their behavior using higher-order
-functions. Or anything in-between."
-
-For more information:
-www.scala-lang.org/
\ No newline at end of file
diff --git a/libraries/org.jsslutils_1.0/.classpath b/libraries/org.jsslutils_1.0/.classpath
deleted file mode 100644
index 0a719c753c..0000000000
--- a/libraries/org.jsslutils_1.0/.classpath
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/libraries/org.jsslutils_1.0/.project b/libraries/org.jsslutils_1.0/.project
deleted file mode 100644
index 97c15e4988..0000000000
--- a/libraries/org.jsslutils_1.0/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- org.jsslutils
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/org.jsslutils_1.0/library.xml b/libraries/org.jsslutils_1.0/library.xml
deleted file mode 100644
index e608645e78..0000000000
--- a/libraries/org.jsslutils_1.0/library.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
- Java SSL utilities
- Java SSL utilities
- 1.0
- 5
- http://code.google.com/p/jsslutils/
- http://code.google.com/p/jsslutils/downloads/list
- Bruno Harbulot, The University of Manchester.
-
-
-
- jsslutils
-
-
-
-
-
-
diff --git a/libraries/org.jsslutils_1.0/license.txt b/libraries/org.jsslutils_1.0/license.txt
deleted file mode 100644
index b4e0fa7960..0000000000
--- a/libraries/org.jsslutils_1.0/license.txt
+++ /dev/null
@@ -1,30 +0,0 @@
- This file is part of the jSSLutils library.
-
-Copyright (c) 2008-2010, The University of Manchester, United Kingdom.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- * Neither the name of the The University of Manchester nor the names of
- its contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGE.
-
- Author: Bruno Harbulot
diff --git a/libraries/org.jsslutils_1.0/org.jsslutils.jar b/libraries/org.jsslutils_1.0/org.jsslutils.jar
deleted file mode 100644
index 2c87c5e3e9..0000000000
Binary files a/libraries/org.jsslutils_1.0/org.jsslutils.jar and /dev/null differ
diff --git a/libraries/org.jsslutils_1.0/readme.txt b/libraries/org.jsslutils_1.0/readme.txt
deleted file mode 100644
index c93f158b1d..0000000000
--- a/libraries/org.jsslutils_1.0/readme.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---------------------------------------
-jsslutils - set of utilities for Java
---------------------------------------
-
-"This project aims to provide a set of utilities regarding the use of SSL in Java."
-
-Distributed under the New BSD License.
-
-For more information:
-http://code.google.com/p/jsslutils/
-http://www.opensource.org/licenses/bsd-license.php
diff --git a/libraries/org.junit_4.11/.classpath b/libraries/org.junit_4.11/.classpath
index 71df74caf3..df61e809df 100644
--- a/libraries/org.junit_4.11/.classpath
+++ b/libraries/org.junit_4.11/.classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/libraries/org.openid4java_0.9/library.xml b/libraries/org.openid4java_0.9/library.xml
index e42714f75e..0d1f060dcb 100644
--- a/libraries/org.openid4java_0.9/library.xml
+++ b/libraries/org.openid4java_0.9/library.xml
@@ -15,5 +15,4 @@
-
diff --git a/libraries/org.jdom_1.1/.classpath b/libraries/org.raml_0.8/.classpath
similarity index 77%
rename from libraries/org.jdom_1.1/.classpath
rename to libraries/org.raml_0.8/.classpath
index 4df703733f..7182bc740d 100644
--- a/libraries/org.jdom_1.1/.classpath
+++ b/libraries/org.raml_0.8/.classpath
@@ -1,6 +1,6 @@
-
+
diff --git a/libraries/org.jdom_1.1/.project b/libraries/org.raml_0.8/.project
similarity index 89%
rename from libraries/org.jdom_1.1/.project
rename to libraries/org.raml_0.8/.project
index b3d37dd40a..3607d810ad 100644
--- a/libraries/org.jdom_1.1/.project
+++ b/libraries/org.raml_0.8/.project
@@ -1,6 +1,6 @@
- org.jdom
+ org.raml
diff --git a/libraries/org.raml_0.8/library.xml b/libraries/org.raml_0.8/library.xml
new file mode 100644
index 0000000000..47b71769a2
--- /dev/null
+++ b/libraries/org.raml_0.8/library.xml
@@ -0,0 +1,35 @@
+
+ Raml parser
+ Java implementation of the raml parser
+ 0.8
+ 7
+ http://raml.org
+ http://raml.org
+ Mule Soft
+
+
+ org.raml
+ raml-parser
+ 0.8.7
+
+
+
+
+
+
+
+
+
+
+
+ mulesoft-releases
+ MuleSoft Releases Repository
+ https://repository-master.mulesoft.org/releases/
+
+
+ mulesoft-snapshots
+ MuleSoft Snapshots Repository
+ https://repository-master.mulesoft.org/snapshots/
+
+
+
diff --git a/libraries/org.raml_0.8/license.txt b/libraries/org.raml_0.8/license.txt
new file mode 100644
index 0000000000..d645695673
--- /dev/null
+++ b/libraries/org.raml_0.8/license.txt
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/libraries/org.raml_0.8/org.raml.parser.jar b/libraries/org.raml_0.8/org.raml.parser.jar
new file mode 100644
index 0000000000..29fa5aa267
Binary files /dev/null and b/libraries/org.raml_0.8/org.raml.parser.jar differ
diff --git a/libraries/org.raml_0.8/readme.txt b/libraries/org.raml_0.8/readme.txt
new file mode 100644
index 0000000000..2c317ee3d4
--- /dev/null
+++ b/libraries/org.raml_0.8/readme.txt
@@ -0,0 +1,14 @@
+------------------------------------
+RAML - RESTful API Modeling Language
+------------------------------------
+
+"RESTful API Modeling Language (RAML) is a simple and succinct way of
+describing practically-RESTful APIs. It encourages reuse, enables discovery
+and pattern-sharing, and aims for merit-based emergence of best practices. The
+goal is to help our current API ecosystem by solving immediate problems and
+then encourage ever-better API patterns. RAML is built on broadly-used
+standards such as YAML and JSON and is a non-proprietary, vendor-neutral open
+spec."
+
+For more information:
+http://raml.org/
diff --git a/libraries/org.scala_2.9/.classpath b/libraries/org.scala_2.9/.classpath
index 3de9b08119..233201f0e3 100644
--- a/libraries/org.scala_2.9/.classpath
+++ b/libraries/org.scala_2.9/.classpath
@@ -1,6 +1,6 @@
-
+
diff --git a/libraries/org.scala_2.9/library.xml b/libraries/org.scala_2.9/library.xml
index 573e0e9c08..767cc3d466 100644
--- a/libraries/org.scala_2.9/library.xml
+++ b/libraries/org.scala_2.9/library.xml
@@ -20,4 +20,7 @@
2.9.1
+
+
+
diff --git a/libraries/org.simpleframework_5.1/.classpath b/libraries/org.simpleframework.xml_2.7/.classpath
similarity index 94%
rename from libraries/org.simpleframework_5.1/.classpath
rename to libraries/org.simpleframework.xml_2.7/.classpath
index 923e28ea79..03429424d3 100644
--- a/libraries/org.simpleframework_5.1/.classpath
+++ b/libraries/org.simpleframework.xml_2.7/.classpath
@@ -1,6 +1,6 @@
-
+
diff --git a/libraries/org.simpleframework.xml_2.7/.gitignore b/libraries/org.simpleframework.xml_2.7/.gitignore
new file mode 100644
index 0000000000..5e56e040ec
--- /dev/null
+++ b/libraries/org.simpleframework.xml_2.7/.gitignore
@@ -0,0 +1 @@
+/bin
diff --git a/modules/org.restlet.ext.e4/.project b/libraries/org.simpleframework.xml_2.7/.project
similarity index 90%
rename from modules/org.restlet.ext.e4/.project
rename to libraries/org.simpleframework.xml_2.7/.project
index fcea8397c6..420f43f308 100644
--- a/modules/org.restlet.ext.e4/.project
+++ b/libraries/org.simpleframework.xml_2.7/.project
@@ -1,6 +1,6 @@
- org.restlet.ext.e4
+ org.simpleframework.xml
diff --git a/libraries/org.simpleframework.xml_2.7/library.xml b/libraries/org.simpleframework.xml_2.7/library.xml
new file mode 100644
index 0000000000..1178b178af
--- /dev/null
+++ b/libraries/org.simpleframework.xml_2.7/library.xml
@@ -0,0 +1,23 @@
+
+ Simple XML
+ Simple XML.
+ 2.7
+ 1
+ http://simple.sourceforge.net/
+ http://simple.sourceforge.net/download.php
+ Niall Gallagher
+
+
+
+ org.simpleframework
+ simple-xml
+ 2.7.1
+
+
+
+
+
+
+
+
+
diff --git a/libraries/org.simpleframework_5.1/licence.txt b/libraries/org.simpleframework.xml_2.7/licence.txt
similarity index 100%
rename from libraries/org.simpleframework_5.1/licence.txt
rename to libraries/org.simpleframework.xml_2.7/licence.txt
diff --git a/libraries/org.simpleframework.xml_2.7/org.simpleframework.xml.jar b/libraries/org.simpleframework.xml_2.7/org.simpleframework.xml.jar
new file mode 100644
index 0000000000..913725de7d
Binary files /dev/null and b/libraries/org.simpleframework.xml_2.7/org.simpleframework.xml.jar differ
diff --git a/libraries/org.simpleframework.xml_2.7/readme.txt b/libraries/org.simpleframework.xml_2.7/readme.txt
new file mode 100644
index 0000000000..31544eab82
--- /dev/null
+++ b/libraries/org.simpleframework.xml_2.7/readme.txt
@@ -0,0 +1,14 @@
+----------------
+Simple Framework
+----------------
+
+"Simple is a high performance XML serialization and configuration framework for
+ Java. Its goal is to provide an XML framework that enables rapid development
+ of XML configuration and communication systems. This framework aids the
+ development of XML systems with minimal effort and reduced errors. It offers
+ full object serialization and deserialization, maintaining each reference
+ encountered. In essence it is similar to C# XML serialization for the Java
+ platform, but offers additional features for interception and manipulation."
+
+For more information:
+http://simple.sourceforge.net/
\ No newline at end of file
diff --git a/libraries/org.simpleframework_5.1/library.xml b/libraries/org.simpleframework_5.1/library.xml
deleted file mode 100644
index 0bc497f53e..0000000000
--- a/libraries/org.simpleframework_5.1/library.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
- Simple framework
- Simple framework.
- 5.1
- 6
- http://simpleweb.sourceforge.net/
- http://www.simpleframework.org/download/
- Niall Gallagher
-
-
-
- simple
-
-
-
-
-
-
-
-
-
diff --git a/libraries/org.simpleframework_5.1/org.simpleframework.jar b/libraries/org.simpleframework_5.1/org.simpleframework.jar
deleted file mode 100644
index 04d5c454f5..0000000000
Binary files a/libraries/org.simpleframework_5.1/org.simpleframework.jar and /dev/null differ
diff --git a/libraries/org.simpleframework_5.1/readme.txt b/libraries/org.simpleframework_5.1/readme.txt
deleted file mode 100644
index 89ae77fc69..0000000000
--- a/libraries/org.simpleframework_5.1/readme.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-----------------
-Simple Framework
-----------------
-
-"The goal of Simple is to bring the power of simplicity to the world of server
-side Java. The primary focus of the project is to provide a truly embeddable
-Java based HTTP engine capable of handling enormous loads. It also provides
-a component based framework for extendability, which is used to facilitate
-loadable services similar to Java Servlets. Simple has consistently out
-performed both commercial and open source Java Servlet engines and has a fully
-comprehensive API that is as usable for experienced Java developers as it is
-for beginners. Best of all, Simple is completely free, and is released under
-the terms of the GNU Lesser General Public License, LGPL, which ensures its
-availability for use by open source and proprietary developers alike."
-
-For more information:
-http://www.simpleframework.org/
\ No newline at end of file
diff --git a/libraries/org.slf4j_1.7/library.xml b/libraries/org.slf4j_1.7/library.xml
index 6a1e464900..46a8c7b612 100644
--- a/libraries/org.slf4j_1.7/library.xml
+++ b/libraries/org.slf4j_1.7/library.xml
@@ -12,4 +12,7 @@
slf4j-api
+
+
+
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/.project b/libraries/org.tanukisoftware.wrapper_3.2/.project
deleted file mode 100644
index 076cc607a5..0000000000
--- a/libraries/org.tanukisoftware.wrapper_3.2/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- org.tanukisoftware.wrapper
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/library.xml b/libraries/org.tanukisoftware.wrapper_3.2/library.xml
deleted file mode 100644
index d9a45817e8..0000000000
--- a/libraries/org.tanukisoftware.wrapper_3.2/library.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-
- Java Service Wrapper Plug-in
- Java Service Wrapper Plug-in
- 3.2
- 3
- http://wrapper.tanukisoftware.org/doc/english/introduction.html
- http://wrapper.tanukisoftware.org/doc/english/download.jsp
- Tanuki Software
-
-
-
-
-
-
-
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-ppc-64.so b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-ppc-64.so
deleted file mode 100644
index 55708b336c..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-ppc-64.so and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-x86-32.so b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-x86-32.so
deleted file mode 100644
index 2cc4ab3ceb..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-x86-32.so and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-x86-64.so b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-x86-64.so
deleted file mode 100644
index 24197bf6e2..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-linux-x86-64.so and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-macosx-ppc-32.jnilib b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-macosx-ppc-32.jnilib
deleted file mode 100644
index 422711d56f..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-macosx-ppc-32.jnilib and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-macosx-universal-32.jnilib b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-macosx-universal-32.jnilib
deleted file mode 100644
index 2b10f10082..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-macosx-universal-32.jnilib and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-sparc-32.so b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-sparc-32.so
deleted file mode 100644
index 409326265d..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-sparc-32.so and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-sparc-64.so b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-sparc-64.so
deleted file mode 100644
index 008bef6181..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-sparc-64.so and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-x86-32.so b/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-x86-32.so
deleted file mode 100644
index 963ff498f9..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/libwrapper-solaris-x86-32.so and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/license.txt b/libraries/org.tanukisoftware.wrapper_3.2/license.txt
deleted file mode 100644
index 0f41b85b68..0000000000
--- a/libraries/org.tanukisoftware.wrapper_3.2/license.txt
+++ /dev/null
@@ -1,40 +0,0 @@
-Copyright (c) 1999, 2005 Tanuki Software Inc.
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of the Java Service Wrapper and associated
-documentation files (the "Software"), to deal in the Software
-without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sub-license,
-and/or sell copies of the Software, and to permit persons to
-whom the Software is furnished to do so, subject to the
-following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-
-Portions of the Software have been derived from source code
-developed by Silver Egg Technology under the following license:
-
-Copyright (c) 2001 Silver Egg Technology
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sub-license, and/or
-sell copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
\ No newline at end of file
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/org.tanukisoftware.wrapper.jar b/libraries/org.tanukisoftware.wrapper_3.2/org.tanukisoftware.wrapper.jar
deleted file mode 100644
index 4db355bc34..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/org.tanukisoftware.wrapper.jar and /dev/null differ
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/readme.txt b/libraries/org.tanukisoftware.wrapper_3.2/readme.txt
deleted file mode 100644
index 7435de1397..0000000000
--- a/libraries/org.tanukisoftware.wrapper_3.2/readme.txt
+++ /dev/null
@@ -1,16 +0,0 @@
---------------------
-Java Service Wrapper
---------------------
-
-"The Java Service Wrapper is an application which has evolved out of a desire
-to solve a number of problems common to many Java applications:
- * Run as a Windows Service or Unix Daemon
- * Application Reliability
- * Standard, Out of the Box Scripting
- * On Demand Restarts
- * Flexible Configuration
- * Ease Application Installations
- * Logging"
-
-For more information:
-http://wrapper.tanukisoftware.org/
\ No newline at end of file
diff --git a/libraries/org.tanukisoftware.wrapper_3.2/wrapper-windows-x86-32.dll b/libraries/org.tanukisoftware.wrapper_3.2/wrapper-windows-x86-32.dll
deleted file mode 100644
index cb553c1234..0000000000
Binary files a/libraries/org.tanukisoftware.wrapper_3.2/wrapper-windows-x86-32.dll and /dev/null differ
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/module.xml b/modules/org.restlet.example.book.restlet.ch08.gae/module.xml
deleted file mode 100644
index 31c451d76b..0000000000
--- a/modules/org.restlet.example.book.restlet.ch08.gae/module.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
- Restlet examples
- Book examples (ch08-gae)
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java
index a592ef6858..660bfb2a4c 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java
index 567e2be0dc..5c03e5c464 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public AccountRepresentation represent();
+ AccountRepresentation represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(AccountRepresentation account);
+ void store(AccountRepresentation account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java
index c94e58934e..77d41593a0 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(AccountRepresentation account);
+ String add(AccountRepresentation account);
}
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java
index 9a0b34e1d5..5993bece2b 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java
index f3501b86eb..bdbb0d061a 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -41,6 +32,6 @@
public interface ContactResource {
@Get
- public ContactRepresentation retrieve();
+ ContactRepresentation retrieve();
}
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsRepresentation.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsRepresentation.java
index 842a9a16fb..f738451ed8 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsResource.java
index 413819387d..aa3c8629d0 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/ContactsResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -42,9 +33,9 @@
public interface ContactsResource {
@Get
- public ContactsRepresentation retrieve();
+ ContactsRepresentation retrieve();
@Post
- public void add(ContactRepresentation contact);
+ void add(ContactRepresentation contact);
}
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java
index c3dcfee8f2..c98ad9a008 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java
index 90e98b37ab..11bd27e89d 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java
index 5ca5642fed..4e95b9fc70 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public MailRepresentation retrieve();
+ MailRepresentation retrieve();
@Put
- public void store(MailRepresentation mail);
+ void store(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsRepresentation.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsRepresentation.java
index add47793e3..cee0108ccf 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java
index db7e229876..e6e1ecc098 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -42,9 +33,9 @@
public interface MailsResource {
@Get
- public MailsRepresentation retrieve();
+ MailsRepresentation retrieve();
@Post
- public void add(MailRepresentation mail);
+ void add(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java
index a587de1614..92f80222f7 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java
index 3b2bdfe5fd..9419730318 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java
index 4e5c83a7d6..a54e575062 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java
index c5294d6f65..1109f36994 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java
index 716c2ab35f..3463820910 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactsServerResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactsServerResource.java
index 50e8c60f96..96e8de7488 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactsServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/ContactsServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java
index 6972b13bb6..ac6dc99248 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java
index ccb5814ca5..a04e6b6bba 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java
index b0d475dc55..8084cf01be 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java
index 158b5ce6c8..8ad1e162e9 100644
--- a/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch08.gae/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch08.odata/module.xml b/modules/org.restlet.example.book.restlet.ch08.odata/module.xml
deleted file mode 100644
index 8dfbdd6b37..0000000000
--- a/modules/org.restlet.example.book.restlet.ch08.odata/module.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
- Restlet examples
- Book examples (ch08-odata)
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/modules/org.restlet.example.book.restlet.ch08.odata/src/OdataDemoService.java b/modules/org.restlet.example.book.restlet.ch08.odata/src/OdataDemoService.java
index 6a222a645c..02c9f0e6c7 100644
--- a/modules/org.restlet.example.book.restlet.ch08.odata/src/OdataDemoService.java
+++ b/modules/org.restlet.example.book.restlet.ch08.odata/src/OdataDemoService.java
@@ -1,31 +1,25 @@
/**
- * Copyright 2005-2010 Noelios Technologies.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
* You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
+ * http://www.opensource.org/licenses/eclipse-1.0
*
* See the Licenses for the specific language governing permissions and
* limitations under the Licenses.
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
+ * http://restlet.com/products/restlet-framework
*
- * Restlet is a registered trademark of Noelios Technologies.
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
import org.restlet.ext.odata.Query;
@@ -115,4 +109,4 @@ public Query createSupplierQuery(String subpath) {
}
-}
\ No newline at end of file
+}
diff --git a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Address.java b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Address.java
index 5d187a7542..1616eb7ee2 100644
--- a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Address.java
+++ b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Address.java
@@ -1,31 +1,25 @@
/**
- * Copyright 2005-2010 Noelios Technologies.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
* You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
+ * http://www.opensource.org/licenses/eclipse-1.0
*
* See the Licenses for the specific language governing permissions and
* limitations under the Licenses.
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
+ * http://restlet.com/products/restlet-framework
*
- * Restlet is a registered trademark of Noelios Technologies.
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
package odatademo;
@@ -149,4 +143,4 @@ public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}
-}
\ No newline at end of file
+}
diff --git a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Category.java b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Category.java
index 9cf03efd62..c50822205f 100644
--- a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Category.java
+++ b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Category.java
@@ -1,31 +1,25 @@
/**
- * Copyright 2005-2010 Noelios Technologies.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
* You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
+ * http://www.opensource.org/licenses/eclipse-1.0
*
* See the Licenses for the specific language governing permissions and
* limitations under the Licenses.
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
+ * http://restlet.com/products/restlet-framework
*
- * Restlet is a registered trademark of Noelios Technologies.
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
package odatademo;
@@ -118,4 +112,4 @@ public void setProducts(List products) {
this.products = products;
}
-}
\ No newline at end of file
+}
diff --git a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Product.java b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Product.java
index c1ceb0e797..323e833a43 100644
--- a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Product.java
+++ b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Product.java
@@ -1,31 +1,25 @@
/**
- * Copyright 2005-2010 Noelios Technologies.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
* You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
+ * http://www.opensource.org/licenses/eclipse-1.0
*
* See the Licenses for the specific language governing permissions and
* limitations under the Licenses.
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
+ * http://restlet.com/products/restlet-framework
*
- * Restlet is a registered trademark of Noelios Technologies.
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
package odatademo;
@@ -229,4 +223,4 @@ public void setSupplier(Supplier supplier) {
this.supplier = supplier;
}
-}
\ No newline at end of file
+}
diff --git a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Supplier.java b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Supplier.java
index 6eddd374a8..6791c46f8d 100644
--- a/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Supplier.java
+++ b/modules/org.restlet.example.book.restlet.ch08.odata/src/odatademo/Supplier.java
@@ -1,33 +1,26 @@
/**
- * Copyright 2005-2010 Noelios Technologies.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL 1.0 (the
- * "Licenses"). You can select the license that you prefer but you may not use
- * this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0.html
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1.php
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1.php
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
* You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0.php
+ * http://www.opensource.org/licenses/eclipse-1.0
*
* See the Licenses for the specific language governing permissions and
* limitations under the Licenses.
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.noelios.com/products/restlet-engine
+ * http://restlet.com/products/restlet-framework
*
- * Restlet is a registered trademark of Noelios Technologies.
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
-
package odatademo;
@@ -155,4 +148,4 @@ public void setProducts(List products) {
this.products = products;
}
-}
\ No newline at end of file
+}
diff --git a/modules/org.restlet.example.book.restlet.ch09.android/module.xml b/modules/org.restlet.example.book.restlet.ch09.android/module.xml
deleted file mode 100644
index 9973afd816..0000000000
--- a/modules/org.restlet.example.book.restlet.ch09.android/module.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
- Restlet examples
- Book examples (ch09-android)
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/constants/NumberConstantsImpl_.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/constants/NumberConstantsImpl_.java
index d46727c690..593e6da91e 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/constants/NumberConstantsImpl_.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/constants/NumberConstantsImpl_.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.i18n.client.constants;
public class NumberConstantsImpl_ implements com.google.gwt.i18n.client.constants.NumberConstantsImpl {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_.java
index ee365b669f..5c556cc6d3 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.i18n.client.impl;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_shared.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_shared.java
index 63f0464e86..8d8daf70e3 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_shared.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/i18n/client/impl/LocaleInfoImpl_shared.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.i18n.client.impl;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/DocumentModeAsserter_DocumentModeProperty.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/DocumentModeAsserter_DocumentModeProperty.java
index def2454b7e..95ff4f3f8f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/DocumentModeAsserter_DocumentModeProperty.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/DocumentModeAsserter_DocumentModeProperty.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client;
import com.google.gwt.user.client.DocumentModeAsserter.Severity;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplGecko1_8.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplGecko1_8.java
index 6fa2b49c86..a8cd2f94bb 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplGecko1_8.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplGecko1_8.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client;
public class UserAgentAsserter_UserAgentPropertyImplGecko1_8 implements com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe6.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe6.java
index f601fe6819..b9d5788a1f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe6.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe6.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client;
public class UserAgentAsserter_UserAgentPropertyImplIe6 implements com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe8.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe8.java
index 2bac0f60b2..089e2b0784 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe8.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe8.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client;
public class UserAgentAsserter_UserAgentPropertyImplIe8 implements com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe9.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe9.java
index 3d02c312eb..f146996a54 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe9.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplIe9.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client;
public class UserAgentAsserter_UserAgentPropertyImplIe9 implements com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplOpera.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplOpera.java
index ed5f1c76a5..df1ef6dbe9 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplOpera.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplOpera.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client;
public class UserAgentAsserter_UserAgentPropertyImplOpera implements com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplSafari.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplSafari.java
index f3484859aa..379425352d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplSafari.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/UserAgentAsserter_UserAgentPropertyImplSafari.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client;
public class UserAgentAsserter_UserAgentPropertyImplSafari implements com.google.gwt.user.client.UserAgentAsserter.UserAgentProperty {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_InlineClientBundleGenerator.java
index 8871af3a4e..9761fab370 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.impl;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_StaticClientBundleGenerator.java
index 822db8a648..c51981db09 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/impl/WindowImplIE_Resources_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.impl;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/lang/String_FieldSerializer.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/lang/String_FieldSerializer.java
index d25a3b385e..b0e82fb474 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/lang/String_FieldSerializer.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/lang/String_FieldSerializer.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.rpc.core.java.lang;
import com.google.gwt.user.client.rpc.SerializationException;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/util/ArrayList_FieldSerializer.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/util/ArrayList_FieldSerializer.java
index 20331ef668..065ca8df10 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/util/ArrayList_FieldSerializer.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/rpc/core/java/util/ArrayList_FieldSerializer.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.rpc.core.java.util;
import com.google.gwt.user.client.rpc.SerializationException;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Composite_HTMLTemplatesImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Composite_HTMLTemplatesImpl.java
index cf1a4dec15..e1f4b386ec 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Composite_HTMLTemplatesImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Composite_HTMLTemplatesImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui;
public class Composite_HTMLTemplatesImpl implements com.google.gwt.user.client.ui.Composite.HTMLTemplates {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_InlineClientBundleGenerator.java
index 4e4a255ef9..2501e89339 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_StaticClientBundleGenerator.java
index 4e2a505247..a4296564d0 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/DisclosurePanel_DefaultImages_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_InlineClientBundleGenerator.java
index 633b53266a..4c534c2ef5 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_StaticClientBundleGenerator.java
index 22042f4703..caf4db75a9 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/MenuBar_Resources_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_InlineClientBundleGenerator.java
index aa8791d336..08231b5dce 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_StaticClientBundleGenerator.java
index ed49b1a436..a056ef271f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/Tree_Resources_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/impl/ClippedImageImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/impl/ClippedImageImpl_TemplateImpl.java
index b686a3105a..0292401a08 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/impl/ClippedImageImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/com/google/gwt/user/client/ui/impl/ClippedImageImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package com.google.gwt.user.client.ui.impl;
public class ClippedImageImpl_TemplateImpl implements com.google.gwt.user.client.ui.impl.ClippedImageImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl.java
index 0d21db1f07..046c641f2f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle.java
index 1ca68db476..eee351daea 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index f2c4e2e1ba..9cec090982 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index 0966378fcb..a12cd1620b 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenCss_style.java
index 5f11a8fcc5..a94b38e999 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_TemplateImpl.java
index 7e8afa6716..7f0c1ffbe5 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/AboutDialog_BinderImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
public class AboutDialog_BinderImpl_TemplateImpl implements org.restlet.example.book.restlet.ch09.client.AboutDialog_BinderImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxyImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxyImpl.java
index c987a82766..65c0295791 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxyImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxyImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy_TypeSerializer.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy_TypeSerializer.java
index 48983d48c2..82fd081dde 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy_TypeSerializer.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy_TypeSerializer.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl.java
index 844d4fe402..db851ca606 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle.java
index e75ddbe892..5244aaff65 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index 116d9270d7..17cf6ef39e 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index 01a50f5bb1..7ce203d6ac 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenCss_style.java
index 0c96b3f514..cde1305b32 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import org.restlet.example.book.restlet.ch09.client.Contacts.Style;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl.java
index 057ccf232c..bc348bdb2c 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle.java
index b328d1dbd3..12c57d3d4d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index 6577268eba..18ab505d0f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index 088044ac8a..7396faa257 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenCss_style.java
index 54caecd981..bb3965882a 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_TemplateImpl.java
index 379929b547..10e5fa6f84 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Contacts_ContactPopup_BinderImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
public class Contacts_ContactPopup_BinderImpl_TemplateImpl implements org.restlet.example.book.restlet.ch09.client.Contacts_ContactPopup_BinderImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl.java
index 7d192c0e7c..c5bb43eef2 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle.java
index 3f0ad74f7c..90b42e7ce5 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index 4fb38279d8..3652b1b36d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index 52a3f31d24..71dfde303f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenCss_style.java
index f7c7ac9c0b..95c0442367 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_TemplateImpl.java
index 5190458fc4..8920f107f5 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailDetail_BinderImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
public class MailDetail_BinderImpl_TemplateImpl implements org.restlet.example.book.restlet.ch09.client.MailDetail_BinderImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl.java
index db992f9dea..968224c03d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle.java
index cf96a228c0..846bce89b4 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index 84896ae6fe..f60c841dac 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index 638fc67f55..99859918ae 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_selectionStyle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_selectionStyle.java
index 6bddad2d1a..5ec6a0d3b2 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_selectionStyle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_selectionStyle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import org.restlet.example.book.restlet.ch09.client.MailList.SelectionStyle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_style.java
index a991afbded..12e6f9f43f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/MailList_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl.java
index 3b7700f20e..3fb0a2ed3d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle.java
index 1c4a1a8226..f1f4230a28 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index 98bd7ad864..210d12ae03 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index 27deaa71dd..9331bfaf07 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_InlineClientBundleGenerator.java
index 71b02b0c92..dc410b1647 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_StaticClientBundleGenerator.java
index d253d54543..415ee69178 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mail_GlobalResources_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_InlineClientBundleGenerator.java
index 9910b83f04..c096e9244c 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_StaticClientBundleGenerator.java
index 681064734e..e005f12b03 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Mailboxes_Images_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl.java
index 95f2b975ee..fd9b8d118a 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle.java
index 3ec5ccfbf3..156ca0d5df 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index a584055527..7ca4beb07d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index fc7372a96a..8fd8f6029c 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenCss_style.java
index 1d8d6d3225..74feacafb4 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_TemplateImpl.java
index d28c2164b6..bf4d079213 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/NavBar_BinderImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
public class NavBar_BinderImpl_TemplateImpl implements org.restlet.example.book.restlet.ch09.client.NavBar_BinderImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl.java
index 764fa0cc2d..e3c0ff02db 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle.java
index 3f572858b5..63e26d04d4 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java
index 4e45795da1..56b3ae5898 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java
index 5d2687a434..3513078133 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java
index fffaa55449..a5625a6a38 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java
index 1dd4dcd9db..ec1575e309 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java
index de71d56c28..e9fa9bf5ce 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java
index 6880108f8d..70f0363509 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenCss_style.java
index 7447d6358e..9cd8ab2b1d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_TemplateImpl.java
index 1a507b87b5..c8f1de1614 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Shortcuts_BinderImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
public class Shortcuts_BinderImpl_TemplateImpl implements org.restlet.example.book.restlet.ch09.client.Shortcuts_BinderImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl.java
index 6731e77a28..d84459fdb1 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle.java
index 1746b7a520..74972f626c 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
index 251064ffa4..8fe7f2557a 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
index d4d2299904..052b122267 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenBundle_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenCss_style.java
index 6e2cf47a18..2a6ce2efd1 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_TemplateImpl.java
index 04a7dd7373..65fe745180 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/Tasks_BinderImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
public class Tasks_BinderImpl_TemplateImpl implements org.restlet.example.book.restlet.ch09.client.Tasks_BinderImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl.java
index 78d1cf94be..e6d7afb7dc 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle.java
index 770206d04b..70226f9dd7 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.ClientBundle;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java
index b565872344..cb4651487a 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_gecko1_8_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java
index fc3da36deb..36c4bf0819 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie6_default_StaticClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java
index 57b1fa1a02..35a5adb568 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie8_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java
index 528df958e3..062b7b4074 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_ie9_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java
index 55be991a91..20a0d423ed 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_opera_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java
index 81a3966988..b15c08be7b 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenBundle_safari_default_InlineClientBundleGenerator.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenCss_style.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenCss_style.java
index d9ebe1a6d9..89e1f65357 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenCss_style.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_GenCss_style.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.resources.client.CssResource;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_TemplateImpl.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_TemplateImpl.java
index 43015a656b..435c5a5d87 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_TemplateImpl.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/client/TopPanel_BinderImpl_TemplateImpl.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.client;
public class TopPanel_BinderImpl_TemplateImpl implements org.restlet.example.book.restlet.ch09.client.TopPanel_BinderImpl.Template {
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactRepresentation_FieldSerializer.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactRepresentation_FieldSerializer.java
index f82c5a68e0..4901889b6a 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactRepresentation_FieldSerializer.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactRepresentation_FieldSerializer.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.common;
import com.google.gwt.user.client.rpc.SerializationException;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation_FieldSerializer.java b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation_FieldSerializer.java
index 546d1b98e2..38cea3f4bd 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation_FieldSerializer.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-gen/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation_FieldSerializer.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch09.common;
import com.google.gwt.user.client.rpc.SerializationException;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C036EEE b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C036EEE
index 2f03556c2a..f6a80cb211 100644
Binary files a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C036EEE and b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C036EEE differ
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C06F3E1 b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C06F3E1
index 3740a10448..74e9738b02 100644
Binary files a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C06F3E1 and b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389C06F3E1 differ
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389E2069B4 b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389E2069B4
index 32d4246d48..dcb5626af0 100644
Binary files a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389E2069B4 and b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389E2069B4 differ
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389FDABA41 b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389FDABA41
index a1d6a1e9b5..b03542e4f2 100644
Binary files a/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389FDABA41 and b/modules/org.restlet.example.book.restlet.ch09.gwt/gwt-unitCache/gwt-unitCache-000001389FDABA41 differ
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/module.xml b/modules/org.restlet.example.book.restlet.ch09.gwt/module.xml
deleted file mode 100644
index f2e9024578..0000000000
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/module.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
- Restlet examples
- Book examples (ch09-gwt)
-
-
-
-
-
-
\ No newline at end of file
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/AboutDialog.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/AboutDialog.java
index 95386b15c8..b0a4d245f3 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/AboutDialog.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/AboutDialog.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Contacts.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Contacts.java
index c8e63a0300..402e1b7d65 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Contacts.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Contacts.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import org.restlet.client.Request;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy.java
index e85cf55239..4f5237b86d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/ContactsResourceProxy.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -46,9 +37,9 @@
public interface ContactsResourceProxy extends ClientProxy {
@Get
- public void retrieve(Result result);
+ void retrieve(Result result);
@Post
- public void add(ContactRepresentation contact, Result result);
+ void add(ContactRepresentation contact, Result result);
}
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mail.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mail.java
index 670764bf43..f9904a1281 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mail.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mail.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.EntryPoint;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailDetail.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailDetail.java
index e20a5ab528..edd279f9df 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailDetail.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailDetail.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItem.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItem.java
index 43c78768b4..9801ffc3c7 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItem.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItem.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
/**
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItems.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItems.java
index 8c7dae0e96..cb18166c45 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItems.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailItems.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import java.util.ArrayList;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailList.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailList.java
index 7a51086847..fde8903fc1 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailList.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/MailList.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mailboxes.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mailboxes.java
index 106889a553..1b61bd9bb2 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mailboxes.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Mailboxes.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/NavBar.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/NavBar.java
index a64c767dae..9be889660a 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/NavBar.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/NavBar.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2009 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Shortcuts.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Shortcuts.java
index 2cc47afae2..43725b6e9d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Shortcuts.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Shortcuts.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2008 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Tasks.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Tasks.java
index 6dfb72559c..06136ab3ed 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Tasks.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/Tasks.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/TopPanel.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/TopPanel.java
index ecb030c0e7..36ba8a75bb 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/TopPanel.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/client/TopPanel.java
@@ -1,18 +1,27 @@
-/*
- * Copyright 2007 Google Inc.
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
*
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not
- * use this file except in compliance with the License. You may obtain a copy of
- * the License at
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
*
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations under
- * the License.
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
*/
+
package org.restlet.example.book.restlet.ch09.client;
import com.google.gwt.core.client.GWT;
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java
index dc5c30d411..bd40a8c3ff 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java
index 280cf2a5b6..42a60899dd 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public AccountRepresentation represent();
+ AccountRepresentation represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(AccountRepresentation account);
+ void store(AccountRepresentation account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java
index 098e8151c2..61ee21164b 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(AccountRepresentation account);
+ String add(AccountRepresentation account);
}
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java
index 3e90f64f06..c98bc2a8c4 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java
index 85fa693599..73fe8ad84f 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation.java
index dba9b7e49a..9f8c554347 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java
index 999afcb4dc..1a796d6a94 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -42,9 +33,9 @@
public interface ContactsResource {
@Get
- public ContactsRepresentation retrieve();
+ ContactsRepresentation retrieve();
@Post
- public void add(ContactRepresentation contact);
+ void add(ContactRepresentation contact);
}
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java
index f032c23481..f27dc2779c 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java
index c19d5e94fb..39776041a1 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailResource.java
index 989df9db6b..45fdb60885 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public MailRepresentation retrieve();
+ MailRepresentation retrieve();
@Put
- public void store(MailRepresentation mail);
+ void store(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsRepresentation.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsRepresentation.java
index 5618d93a2c..dffdf7a170 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java
index ee8568a7e3..a29c4a46b7 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -42,9 +33,9 @@
public interface MailsResource {
@Get
- public MailsRepresentation retrieve();
+ MailsRepresentation retrieve();
@Post
- public void add(MailRepresentation mail);
+ void add(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/RootResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/RootResource.java
index e1aa82682b..f64a1a4096 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/RootResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/RootResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java
index c10fa1f4a1..68e05ad413 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java
index 53ac82450f..bbcc701699 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java
index 308ac8b8ce..fceeb55b1d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java
index 4d50b9125f..da3307f09d 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java
index c58cf42d9b..c030a02dd3 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java
index 16cacb5071..f02775a2ba 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java
index 2d63e13e7c..b3fc0f0904 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java
index 192fcabc75..d139fedfb6 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java
index 8296749a69..200089bceb 100644
--- a/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java
+++ b/modules/org.restlet.example.book.restlet.ch09.gwt/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java
@@ -1,23 +1,14 @@
/**
- * Copyright 2005-2012 Restlet S.A.S.
+ * Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -26,7 +17,7 @@
*
* Alternatively, you can obtain a royalty free commercial license with less
* limitations, transferable or non-transferable, directly at
- * http://www.restlet.com/products/restlet-framework
+ * http://restlet.com/products/restlet-framework
*
* Restlet is a registered trademark of Restlet S.A.S.
*/
diff --git a/modules/org.restlet.example/.classpath b/modules/org.restlet.example/.classpath
index a17a9f3ca9..2480833454 100644
--- a/modules/org.restlet.example/.classpath
+++ b/modules/org.restlet.example/.classpath
@@ -2,7 +2,6 @@
-
@@ -13,35 +12,27 @@
-
-
-
-
-
-
-
+
-
-
diff --git a/modules/org.restlet.example/config/SDC Agent.launch b/modules/org.restlet.example/config/SDC Agent.launch
index aeb32cfe14..086d509059 100644
--- a/modules/org.restlet.example/config/SDC Agent.launch
+++ b/modules/org.restlet.example/config/SDC Agent.launch
@@ -1,12 +1,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/modules/org.restlet.example/module.xml b/modules/org.restlet.example/module.xml
index 14d2d5fd16..ed8cf311ed 100644
--- a/modules/org.restlet.example/module.xml
+++ b/modules/org.restlet.example/module.xml
@@ -9,10 +9,8 @@
-
-
@@ -25,18 +23,15 @@
-
-
-
diff --git a/modules/org.restlet.example/src/org/restlet/example/authentication/AuthenticationApplication.java b/modules/org.restlet.example/src/org/restlet/example/authentication/AuthenticationApplication.java
new file mode 100644
index 0000000000..dcd40b7707
--- /dev/null
+++ b/modules/org.restlet.example/src/org/restlet/example/authentication/AuthenticationApplication.java
@@ -0,0 +1,68 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
+package org.restlet.example.authentication;
+
+import org.restlet.Application;
+import org.restlet.Component;
+import org.restlet.Restlet;
+import org.restlet.data.ChallengeScheme;
+import org.restlet.data.Protocol;
+import org.restlet.resource.Directory;
+import org.restlet.security.ChallengeAuthenticator;
+import org.restlet.security.MapVerifier;
+
+public class AuthenticationApplication extends Application {
+
+ public static void main(String[] args) throws Exception {
+ Component c = new Component();
+ // server listening on pport 8182
+ c.getServers().add(Protocol.HTTP, 8182);
+ // client connector required by the Directory.
+ c.getClients().add(Protocol.FILE);
+ c.getDefaultHost().attach(new AuthenticationApplication());
+
+ c.start();
+ }
+
+ @Override
+ public Restlet createInboundRoot() {
+ // Create a simple password verifier
+ MapVerifier verifier = new MapVerifier();
+ verifier.getLocalSecrets().put("scott", "tiger".toCharArray());
+
+ // Create a guard
+ ChallengeAuthenticator guard = new ChallengeAuthenticator(getContext(),
+ ChallengeScheme.HTTP_BASIC, "Tutorial");
+ guard.setVerifier(verifier);
+
+ // Create a Directory able to return a deep hierarchy of files
+ Directory directory = new Directory(getContext(), "file:///tmp");
+ directory.setListingAllowed(true);
+ guard.setNext(directory);
+
+ return guard;
+ }
+
+}
diff --git a/modules/org.restlet.example/src/org/restlet/example/authentication/AuthenticationClient.java b/modules/org.restlet.example/src/org/restlet/example/authentication/AuthenticationClient.java
new file mode 100644
index 0000000000..a32f6ef8f6
--- /dev/null
+++ b/modules/org.restlet.example/src/org/restlet/example/authentication/AuthenticationClient.java
@@ -0,0 +1,61 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
+package org.restlet.example.authentication;
+
+import org.restlet.data.ChallengeResponse;
+import org.restlet.data.ChallengeScheme;
+import org.restlet.data.Status;
+import org.restlet.resource.ClientResource;
+
+public class AuthenticationClient {
+
+ public static void main(String[] args) {
+ // Prepare the request
+ ClientResource resource = new ClientResource("http://localhost:8182/");
+
+ // Add the client authentication to the call
+ ChallengeScheme scheme = ChallengeScheme.HTTP_BASIC;
+ ChallengeResponse authentication = new ChallengeResponse(scheme,
+ "scott", "tiger");
+ resource.setChallengeResponse(authentication);
+
+ try {
+ // Send the HTTP GET request
+ resource.get();
+ // Output the response entity on the JVM console
+ resource.getResponseEntity().write(System.out);
+ } catch (Exception e) {
+ if (Status.CLIENT_ERROR_UNAUTHORIZED.equals(resource.getStatus())) {
+ // Unauthorized access
+ System.out
+ .println("Access unauthorized by the server, check your credentials");
+ } else {
+ // Unexpected status
+ System.out.println("An unexpected status was returned: "
+ + resource.getStatus());
+ }
+ }
+ }
+}
diff --git a/modules/org.restlet.example/src/org/restlet/example/authentication/HttpDigestAuthenticationApplication.java b/modules/org.restlet.example/src/org/restlet/example/authentication/HttpDigestAuthenticationApplication.java
new file mode 100644
index 0000000000..e9529b0768
--- /dev/null
+++ b/modules/org.restlet.example/src/org/restlet/example/authentication/HttpDigestAuthenticationApplication.java
@@ -0,0 +1,68 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
+package org.restlet.example.authentication;
+
+import org.restlet.Application;
+import org.restlet.Component;
+import org.restlet.Restlet;
+import org.restlet.data.Protocol;
+import org.restlet.ext.crypto.DigestAuthenticator;
+import org.restlet.resource.Directory;
+import org.restlet.security.MapVerifier;
+
+public class HttpDigestAuthenticationApplication extends Application {
+
+ public static void main(String[] args) throws Exception {
+ Component c = new Component();
+ // server listening on pport 8182
+ c.getServers().add(Protocol.HTTP, 8182);
+ // client connector required by the Directory.
+ c.getClients().add(Protocol.FILE);
+ c.getDefaultHost().attach(new HttpDigestAuthenticationApplication());
+
+ c.start();
+ }
+
+ @Override
+ public Restlet createInboundRoot() {
+ // Create a simple password verifier
+ MapVerifier verifier = new MapVerifier();
+ verifier.getLocalSecrets().put("scott", "tiger".toCharArray());
+
+ DigestAuthenticator guard = new DigestAuthenticator(getContext(),
+ "TestRealm", "mySecretServerKey");
+ MapVerifier mapVerifier = new MapVerifier();
+ mapVerifier.getLocalSecrets().put("scott", "tiger".toCharArray());
+ guard.setWrappedVerifier(mapVerifier);
+
+ // Create a Directory able to return a deep hierarchy of files
+ Directory directory = new Directory(getContext(), "file:///tmp");
+ directory.setListingAllowed(true);
+ guard.setNext(directory);
+
+ return guard;
+ }
+
+}
diff --git a/modules/org.restlet.example/src/org/restlet/example/authentication/HttpDigestAuthenticationClient.java b/modules/org.restlet.example/src/org/restlet/example/authentication/HttpDigestAuthenticationClient.java
new file mode 100644
index 0000000000..3497dddcb1
--- /dev/null
+++ b/modules/org.restlet.example/src/org/restlet/example/authentication/HttpDigestAuthenticationClient.java
@@ -0,0 +1,73 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
+package org.restlet.example.authentication;
+
+import java.io.IOException;
+
+import org.restlet.data.ChallengeRequest;
+import org.restlet.data.ChallengeResponse;
+import org.restlet.data.ChallengeScheme;
+import org.restlet.data.Status;
+import org.restlet.resource.ClientResource;
+import org.restlet.resource.ResourceException;
+
+public class HttpDigestAuthenticationClient {
+
+ public static void main(String[] args) throws ResourceException,
+ IOException {
+ // Prepare the request
+ ClientResource cr = new ClientResource("http://localhost:8182/");
+
+ ChallengeRequest c1 = null;
+ // first try: unauthenticated request
+ try {
+ cr.get();
+ } catch (ResourceException re) {
+ if (Status.CLIENT_ERROR_UNAUTHORIZED.equals(cr.getStatus())) {
+ c1 = getDigestChallengeRequest(cr);
+ }
+ }
+
+ // second try: authenticated request
+ if (c1 != null) {
+ ChallengeResponse c2 = new ChallengeResponse(c1, cr.getResponse(),
+ "scott", "tiger".toCharArray());
+ cr.setChallengeResponse(c2);
+ cr.get().write(System.out);
+ }
+ }
+
+ private static ChallengeRequest getDigestChallengeRequest(ClientResource cr) {
+ ChallengeRequest c1 = null;
+ for (ChallengeRequest challengeRequest : cr.getChallengeRequests()) {
+ if (ChallengeScheme.HTTP_DIGEST
+ .equals(challengeRequest.getScheme())) {
+ c1 = challengeRequest;
+ break;
+ }
+ }
+ return c1;
+ }
+}
diff --git a/modules/org.restlet.example/src/org/restlet/example/authentication/httpDigestSample.zip b/modules/org.restlet.example/src/org/restlet/example/authentication/httpDigestSample.zip
new file mode 100644
index 0000000000..ce03e5b017
Binary files /dev/null and b/modules/org.restlet.example/src/org/restlet/example/authentication/httpDigestSample.zip differ
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_1a.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_1a.java
deleted file mode 100644
index 7989941dde..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_1a.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch2;
-
-import org.restlet.data.Reference;
-import org.restlet.ext.xml.DomRepresentation;
-import org.restlet.representation.Representation;
-import org.restlet.resource.ClientResource;
-import org.w3c.dom.Node;
-
-/**
- * Searching the web with Yahoo!'s web service using XML.
- *
- * @author Jerome Louvel
- */
-public class Example2_1a {
- static final String BASE_URI = "http://api.search.yahoo.com/WebSearchService/V1/webSearch";
-
- public static void main(String[] args) throws Exception {
- if (args.length != 1) {
- System.err.println("You need to pass a term to search");
- } else {
- // Fetch a resource: an XML document full of search results
- String term = Reference.encode(args[0]);
- String uri = BASE_URI + "?appid=restbook&query=" + term;
- Representation entity = new ClientResource(uri).get();
- DomRepresentation document = new DomRepresentation(entity);
-
- // Use XPath to find the interesting parts of the data structure
- String expr = "/ResultSet/Result/Title";
- for (Node node : document.getNodes(expr)) {
- System.out.println(node.getTextContent());
- }
- }
- }
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_1b.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_1b.java
deleted file mode 100644
index 1f9b47c888..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_1b.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch2;
-
-import org.restlet.data.Reference;
-import org.restlet.ext.xml.DomRepresentation;
-import org.restlet.representation.Representation;
-import org.restlet.resource.ClientResource;
-import org.w3c.dom.Node;
-
-/**
- * Searching the web with Yahoo!'s web service using XML. This version is
- * namespace aware.
- *
- * @author Jerome Louvel
- */
-public class Example2_1b {
- static final String BASE_URI = "http://api.search.yahoo.com/WebSearchService/V1/webSearch";
-
- public static void main(String[] args) throws Exception {
- if (args.length != 1) {
- System.err.println("You need to pass a term to search");
- } else {
- // Fetch a resource: an XML document full of search results
- String term = Reference.encode(args[0]);
- String uri = BASE_URI + "?appid=restbook&query=" + term;
- Representation entity = new ClientResource(uri).get();
- DomRepresentation document = new DomRepresentation(entity);
-
- // Associate the namespace with the prefix y
- document.setNamespaceAware(true);
- document.getNamespaces().put("y", "urn:yahoo:srch");
-
- // Use XPath to find the interesting parts of the data structure
- String expr = "/y:ResultSet/y:Result/y:Title/text()";
- for (Node node : document.getNodes(expr)) {
- System.out.println(node.getTextContent());
- }
- }
- }
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_5.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_5.java
deleted file mode 100644
index 1d10a48de0..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_5.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch2;
-
-import org.restlet.data.ChallengeResponse;
-import org.restlet.data.ChallengeScheme;
-import org.restlet.ext.xml.DomRepresentation;
-import org.restlet.representation.Representation;
-import org.restlet.resource.ClientResource;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-
-/**
- * Getting your list of recent bookmarks on del.icio.us.
- *
- * @author Jerome Louvel
- */
-public class Example2_5 {
- public static void main(String[] args) throws Exception {
- if (args.length != 2) {
- System.err
- .println("You need to pass your del.icio.us user name and password");
- } else {
- // Create a authenticated request
- ClientResource resource = new ClientResource(
- "https://api.del.icio.us/v1/posts/recent");
- resource.setChallengeResponse(new ChallengeResponse(
- ChallengeScheme.HTTP_BASIC, args[0], args[1]));
-
- // Fetch a resource: an XML document with your recent posts
- Representation entity = resource.get();
- DomRepresentation document = new DomRepresentation(entity);
-
- // Use XPath to find the interesting parts of the data structure
- for (Node node : document.getNodes("/posts/post")) {
- NamedNodeMap attrs = node.getAttributes();
- String desc = attrs.getNamedItem("description").getNodeValue();
- String href = attrs.getNamedItem("href").getNodeValue();
- System.out.println(desc + ": " + href);
- }
- }
- }
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_9.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_9.java
deleted file mode 100644
index fc2c6f84f8..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch2/Example2_9.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch2;
-
-import org.json.JSONArray;
-import org.json.JSONObject;
-import org.restlet.data.Reference;
-import org.restlet.ext.json.JsonRepresentation;
-import org.restlet.representation.Representation;
-import org.restlet.resource.ClientResource;
-
-/**
- * Searching the web with Yahoo!'s web service using JSON.
- *
- * @author Jerome Louvel
- */
-public class Example2_9 {
- static final String BASE_URI = "http://api.search.yahoo.com/WebSearchService/V1/webSearch";
-
- public static void main(String[] args) throws Exception {
- if (args.length != 1) {
- System.err.println("You need to pass a term to search");
- } else {
- // Fetch a resource: a JSON document full of search results
- String term = Reference.encode(args[0]);
- String uri = BASE_URI + "?appid=restbook&output=json&query=" + term;
- Representation entity = new ClientResource(uri).get();
- JSONObject json = new JsonRepresentation(entity).getJsonObject();
-
- // Navigate within the JSON document to display the titles
- JSONObject resultSet = json.getJSONObject("ResultSet");
- JSONArray results = resultSet.getJSONArray("Result");
- for (int i = 0; i < results.length(); i++) {
- System.out.println(results.getJSONObject(i).getString("Title"));
- }
- }
- }
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3App.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3App.java
deleted file mode 100644
index 6d468eb6c7..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3App.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch3;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.restlet.Response;
-import org.restlet.ext.xml.DomRepresentation;
-import org.w3c.dom.Node;
-
-/**
- * Amazon S3 client application. Returns a list of buckets.
- *
- * @author Jerome Louvel
- */
-public class S3App extends S3Authorized {
-
- public static void main(String... args) {
- for (S3Bucket bucket : new S3App().getBuckets()) {
- System.out.println(bucket.getName() + " : " + bucket.getUri());
- }
- }
-
- public List getBuckets() {
- List result = new ArrayList();
-
- // Fetch a resource: an XML document with our list of buckets
- Response response = authorizedGet(HOST);
- DomRepresentation document = new DomRepresentation(response.getEntity());
-
- if (response.getStatus().isSuccess()) {
- // Use XPath to find the bucket names
- for (Node node : document.getNodes("//Bucket/Name")) {
- result.add(new S3Bucket(node.getTextContent()));
- }
- } else {
- System.out.println("Unable to access to your S3 buckets : "
- + response.getStatus());
- }
-
- return result;
- }
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Authorized.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Authorized.java
deleted file mode 100644
index 9b156daee1..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Authorized.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch3;
-
-import org.restlet.Client;
-import org.restlet.Request;
-import org.restlet.Response;
-import org.restlet.data.ChallengeResponse;
-import org.restlet.data.ChallengeScheme;
-import org.restlet.data.Method;
-import org.restlet.data.Protocol;
-import org.restlet.representation.Representation;
-
-/**
- * Amazon S3 client. Support class handling authorized requests. Remember to
- * replace the access key id and secret below with your own values. For this you
- * need to sign-up with Amazon Web Services *and* with the S3 service.
- *
- * @author Jerome Louvel
- */
-public class S3Authorized {
- public final static String ACCESS_KEY_ID = "";
-
- public final static String SECRET_ACCESS_KEY = "";
-
- public final static String HOST = "https://s3.amazonaws.com/";
-
- public static Response authorizedDelete(String uri) {
- return handleAuthorized(Method.DELETE, uri, null);
- }
-
- public static Response authorizedGet(String uri) {
- return handleAuthorized(Method.GET, uri, null);
- }
-
- public static Response authorizedHead(String uri) {
- return handleAuthorized(Method.HEAD, uri, null);
- }
-
- public static Response authorizedPut(String uri, Representation entity) {
- return handleAuthorized(Method.PUT, uri, entity);
- }
-
- private static Response handleAuthorized(Method method, String uri,
- Representation entity) {
- // Send an authenticated request
- final Request request = new Request(method, uri, entity);
- request.setChallengeResponse(new ChallengeResponse(
- ChallengeScheme.HTTP_AWS_S3, ACCESS_KEY_ID, SECRET_ACCESS_KEY));
- return new Client(Protocol.HTTPS).handle(request);
- }
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Bucket.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Bucket.java
deleted file mode 100644
index e9f4ed7eab..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Bucket.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch3;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.restlet.Response;
-import org.restlet.data.Status;
-import org.restlet.ext.xml.DomRepresentation;
-import org.w3c.dom.Node;
-
-/**
- * Amazon S3 bucket.
- *
- * @author Jerome Louvel
- */
-public class S3Bucket extends S3Authorized {
-
- private String name;
-
- private boolean truncated;
-
- public S3Bucket(String name) {
- this.name = name;
- }
-
- /**
- * Deletes this bucket.
- */
- public Status delete() {
- return authorizedDelete(getUri()).getStatus();
- }
-
- public String getName() {
- return this.name;
- }
-
- /**
- * Get the objects in this bucket: all of them, or some subset.
- *
- * If S3 decides not to return the whole bucket/subset, the second return
- * value will be set to true. To get the rest of the objects, you'll need to
- * manipulate the subset options.
- *
- * Subset options are :Prefix, :Marker, :Delimiter, :MaxKeys. For details,
- * see the S3 docs on "Listing Keys".
- *
- * @return The objects in this nucket.
- */
- public List getObjects(String prefix, String marker,
- String delimiter, Integer maxKeys) {
- final List result = new ArrayList();
-
- // Construct the request URI by appending optional listing keys
- final StringBuilder uri = new StringBuilder().append(getUri());
- String suffix = "?";
- if (prefix != null) {
- uri.append(suffix).append("prefix=").append(prefix);
- suffix = "&";
- }
- if (marker != null) {
- uri.append(suffix).append("marker=").append(marker);
- suffix = "&";
- }
- if (delimiter != null) {
- uri.append(suffix).append("delimiter=").append(delimiter);
- suffix = "&";
- }
- if (maxKeys != null) {
- uri.append(suffix).append("maxKeys=").append(maxKeys);
- suffix = "&";
- }
-
- // Make the request and parse the document.
- final Response response = authorizedGet(uri.toString());
- final DomRepresentation document = new DomRepresentation(response
- .getEntity());
-
- // Update the truncated flag
- this.truncated = document.getNodes("//IsTruncated").get(0)
- .getTextContent().equals("true");
-
- // Browse the list of object keys
- for (final Node node : document.getNodes("//Contents/Key")) {
- result.add(new S3Object(this, node.getTextContent()));
- }
-
- return result;
- }
-
- public String getUri() {
- return HOST + getName();
- }
-
- public boolean isTruncated() {
- return this.truncated;
- }
-
- /**
- * Stores this bucket on S3. Analagous to ActiveRecord::Base#save, which
- * stores an object in the database.
- */
- public Status save() {
- return authorizedPut(getUri(), null).getStatus();
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Object.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Object.java
deleted file mode 100644
index 2093f3551f..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch3/S3Object.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch3;
-
-import org.restlet.data.Reference;
-import org.restlet.data.Status;
-import org.restlet.representation.Representation;
-import org.restlet.representation.Variant;
-
-/**
- * Amazon S3 object.
- *
- * @author Jerome Louvel
- */
-public class S3Object extends S3Authorized {
-
- private final S3Bucket bucket;
-
- private Variant metadata;
-
- private String name;
-
- public S3Object(S3Bucket bucket, String name) {
- this.bucket = bucket;
- this.name = name;
- }
-
- /**
- * Deletes this bucket.
- */
- public Status delete() {
- return authorizedDelete(getUri()).getStatus();
- }
-
- public S3Bucket getBucket() {
- return this.bucket;
- }
-
- /**
- * Retrieves the metadata hash for this object, possibly fetchingit from S3.
- *
- * @return The metadata hash for this object, possibly fetchingit from S3.
- */
- public Variant getMetadata() {
- if (this.metadata == null) {
- this.metadata = authorizedHead(getUri()).getEntity();
- }
- return this.metadata;
- }
-
- public String getName() {
- return this.name;
- }
-
- public String getUri() {
- return getBucket().getUri() + "/" + Reference.encode(getName());
- }
-
- /**
- * Retrieves the value of this object, always fetching it (along with the
- * metadata) from S3.
- *
- * @return The value of this object.
- */
- public Representation getValue() {
- return authorizedGet(getUri()).getEntity();
- }
-
- /**
- * Store this object on S3 with a given value.
- *
- * @param value
- * The value of the object to store.
- */
- public Status save(Representation value) {
- this.metadata = value;
- return authorizedPut(getUri(), value).getStatus();
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch6/Example6_1.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch6/Example6_1.java
deleted file mode 100644
index b206eadcb3..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch6/Example6_1.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch6;
-
-import org.restlet.data.Form;
-import org.restlet.data.Reference;
-import org.restlet.resource.ClientResource;
-
-/**
- * Sample map client to create a user account
- *
- * @author Jerome Louvel
- */
-public class Example6_1 {
- public void makeUser(String user, String password) {
- // Create the input form
- Form input = new Form();
- input.add("password", password);
-
- // Create the target URI, encoding the user name
- String uri = "https://maps.example.com/user/" + Reference.encode(user);
-
- // Invoke the web service
- new ClientResource(uri).put(input.getWebRepresentation());
- }
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/Application.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/Application.java
deleted file mode 100644
index 3c91e93596..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/Application.java
+++ /dev/null
@@ -1,108 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch7;
-
-import java.io.File;
-
-import org.restlet.Component;
-import org.restlet.Restlet;
-import org.restlet.data.Protocol;
-import org.restlet.routing.Router;
-import org.restlet.routing.TemplateRoute;
-import org.restlet.routing.Variable;
-
-import com.db4o.Db4oEmbedded;
-import com.db4o.ObjectContainer;
-import com.db4o.config.EmbeddedConfiguration;
-
-/**
- * The main Web application.
- *
- * @author Jerome Louvel
- */
-public class Application extends org.restlet.Application {
-
- public static void main(String... args) throws Exception {
- // Create a component with an HTTP server connector
- final Component comp = new Component();
- comp.getServers().add(Protocol.HTTP, 3000);
-
- // Attach the application to the default host and start it
- comp.getDefaultHost().attach("/v1", new Application());
- comp.start();
- }
-
- private final ObjectContainer container;
-
- /**
- * Constructor.
- */
- public Application() {
- /** Open and keep the db4o object container. */
- EmbeddedConfiguration config = Db4oEmbedded.newConfiguration();
- config.common().updateDepth(2);
- this.container = Db4oEmbedded.openFile(config, System
- .getProperty("user.home")
- + File.separator + "restbook.dbo");
- }
-
- @Override
- public Restlet createInboundRoot() {
- final Router router = new Router(getContext());
-
- // Add a route for user resources
- router.attach("/users/{username}", UserResource.class);
-
- // Add a route for user's bookmarks resources
- router.attach("/users/{username}/bookmarks", BookmarksResource.class);
-
- // Add a route for bookmark resources
- final TemplateRoute uriRoute = router.attach(
- "/users/{username}/bookmarks/{URI}", BookmarkResource.class);
- uriRoute.getTemplate().getVariables().put("URI",
- new Variable(Variable.TYPE_URI_ALL));
-
- return router;
- }
-
- /**
- * Returns the database container.
- *
- * @return the database container.
- */
- public ObjectContainer getContainer() {
- return this.container;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/ApplicationTest.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/ApplicationTest.java
deleted file mode 100644
index 2aecd5a708..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/ApplicationTest.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch7;
-
-import org.restlet.data.ChallengeResponse;
-import org.restlet.data.ChallengeScheme;
-import org.restlet.data.Form;
-import org.restlet.resource.ClientResource;
-
-/**
- * Client code that can be used to test the application developed in the chapter
- * 7 of the book and converted to Restlets in the chapter 13.
- *
- * @author Jerome Louvel
- */
-public class ApplicationTest {
- /** Base application URI. */
- public static final String APPLICATION_URI = "http://localhost:3000/v1";
-
- public static void deleteBookmark(String userName, String password,
- String uri) {
- ClientResource resource = getAuthenticatedResource(getBookmarkUri(
- userName, uri), userName, password);
- resource.delete();
- System.out.println(resource.getStatus() + " : "
- + resource.getLocationRef());
- }
-
- public static void deleteUser(String userName, String password) {
- ClientResource resource = getAuthenticatedResource(
- getUserUri(userName), userName, password);
- resource.delete();
- System.out.println(resource.getStatus() + " : "
- + resource.getLocationRef());
- }
-
- /**
- * Creates an authenticated resour ce.
- *
- * @param uri
- * The target resource URI.
- * @param login
- * The login name.
- * @param password
- * The password.
- * @return The authenticated resource to use.
- */
- public static ClientResource getAuthenticatedResource(String uri,
- String login, String password) {
- ClientResource result = new ClientResource(uri);
- result.setChallengeResponse(new ChallengeResponse(
- ChallengeScheme.HTTP_BASIC, login, password));
- return result;
- }
-
- public static String getBookmarkUri(String userName, String uri) {
- return APPLICATION_URI + "/users/" + userName + "/bookmarks/" + uri;
- }
-
- public static String getUserUri(String name) {
- return APPLICATION_URI + "/users/" + name;
- }
-
- /**
- * Main method to use for testing.
- *
- * @param args
- * The arguments or nothing for a usage description.
- */
- public static void main(String... args) throws Exception {
- if (args.length == 0) {
- System.out.println("Usage depends on the number of arguments:");
- System.out.println(" - Deletes a user : userName, password");
- System.out
- .println(" - Deletes a bookmark : userName, password, URI");
- System.out
- .println(" - Adds a new user : userName, password, \"full name\", email");
- System.out
- .println(" - Adds a new bookmark: userName, password, URI, shortDescription, longDescription, restrict");
- } else if (args.length == 2) {
- deleteUser(args[0], args[1]);
- } else if (args.length == 3) {
- deleteBookmark(args[0], args[1], args[2]);
- } else if (args.length == 4) {
- putUser(args[0], args[1], args[2], args[3]);
- } else if (args.length == 6) {
- putBookmark(args[0], args[1], args[2], args[3], args[4], Boolean
- .valueOf(args[5]));
- }
- }
-
- public static void putBookmark(String userName, String password,
- String uri, String shortDescription, String longDescription,
- boolean restrict) {
- Form form = new Form();
- form.add("bookmark[short_description]", shortDescription);
- form.add("bookmark[long_description]", longDescription);
- form.add("bookmark[restrict]", Boolean.toString(restrict));
-
- // Create an authenticated resource as a bookmark is in
- // the user's private area
- ClientResource resource = getAuthenticatedResource(getBookmarkUri(
- userName, uri), userName, password);
- resource.put(form.getWebRepresentation());
-
- System.out.println(resource.getStatus());
- }
-
- public static void putUser(String userName, String password,
- String fullName, String email) {
- Form form = new Form();
- form.add("user[password]", password);
- form.add("user[full_name]", fullName);
- form.add("user[email]", email);
-
- ClientResource resource = new ClientResource(getUserUri(userName));
- resource.put(form.getWebRepresentation());
- System.out.println(resource.getStatus());
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/Bookmark.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/Bookmark.java
deleted file mode 100644
index 758aa82d9d..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/Bookmark.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch7;
-
-import java.util.Date;
-
-/**
- * URI saved and annotated by a user.
- *
- * @author Jerome Louvel
- */
-public class Bookmark {
-
- private User user;
-
- private String uri;
-
- private String shortDescription;
-
- private String longDescription;
-
- private Date dateTime;
-
- private boolean restricting;
-
- public Bookmark(User user, String uri) {
- this.user = user;
- this.uri = uri;
- this.restricting = true;
- this.dateTime = null;
- this.shortDescription = null;
- this.longDescription = null;
- }
-
- /**
- * @return the dateTime
- */
- public Date getDateTime() {
- return this.dateTime;
- }
-
- /**
- * @return the longDescription
- */
- public String getLongDescription() {
- return this.longDescription;
- }
-
- /**
- * @return the shortDescription
- */
- public String getShortDescription() {
- return this.shortDescription;
- }
-
- /**
- * @return the uri
- */
- public String getUri() {
- return this.uri;
- }
-
- /**
- * @return the user
- */
- public User getUser() {
- return this.user;
- }
-
- /**
- * @return the restricting
- */
- public boolean isRestricting() {
- return this.restricting;
- }
-
- /**
- * @param dateTime
- * the dateTime to set
- */
- public void setDateTime(Date dateTime) {
- this.dateTime = dateTime;
- }
-
- /**
- * @param longDescription
- * the longDescription to set
- */
- public void setLongDescription(String longDescription) {
- this.longDescription = longDescription;
- }
-
- /**
- * @param restricting
- * the restricting to set
- */
- public void setRestricting(boolean restricting) {
- this.restricting = restricting;
- }
-
- /**
- * @param shortDescription
- * the shortDescription to set
- */
- public void setShortDescription(String shortDescription) {
- this.shortDescription = shortDescription;
- }
-
- /**
- * @param uri
- * the uri to set
- */
- public void setUri(String uri) {
- this.uri = uri;
- }
-
- /**
- * @param user
- * the user to set
- */
- public void setUser(User user) {
- this.user = user;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/BookmarkResource.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/BookmarkResource.java
deleted file mode 100644
index 1069524fb0..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/BookmarkResource.java
+++ /dev/null
@@ -1,168 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch7;
-
-import java.util.Date;
-
-import org.restlet.data.Form;
-import org.restlet.data.MediaType;
-import org.restlet.data.Status;
-import org.restlet.representation.Representation;
-import org.restlet.representation.StringRepresentation;
-import org.restlet.representation.Variant;
-import org.restlet.resource.ResourceException;
-
-/**
- * Resource for a user's bookmark.
- *
- * @author Jerome Louvel
- */
-public class BookmarkResource extends UserResource {
-
- private Bookmark bookmark;
-
- private String uri;
-
- @Override
- public Representation delete() throws ResourceException {
- if (isModifiable()) {
- if ((this.bookmark != null) && (checkAuthorization() == 1)) {
- // Delete the bookmark
- getUser().getBookmarks().remove(this.bookmark);
- getContainer().delete(this.bookmark);
- getContainer().store(getUser());
- getContainer().commit();
- setStatus(Status.SUCCESS_OK);
- } else {
- // Intentionally hide the bookmark existence
- setStatus(Status.CLIENT_ERROR_NOT_FOUND);
- }
- } else {
- return super.delete();
- }
-
- return null;
- }
-
- @Override
- public void doInit() {
- super.doInit();
-
- if (getUser() != null) {
- this.uri = (String) getRequestAttributes().get("URI");
- this.bookmark = getUser().getBookmark(this.uri);
-
- if (this.bookmark != null) {
- if ((checkAuthorization() != 1) && this.bookmark.isRestricting()) {
- // Intentionally hide the bookmark existence
- setStatus(Status.CLIENT_ERROR_NOT_FOUND);
- }
- } else {
- // Bookmark not found, remove the variant added by the super
- // class (UserResource).
- getVariants().clear();
- }
- } else {
- // User not found
- setStatus(Status.CLIENT_ERROR_NOT_FOUND);
- }
- }
-
- @Override
- public Representation get(Variant variant) throws ResourceException {
- Representation result = null;
-
- if (variant.getMediaType().equals(MediaType.TEXT_PLAIN)) {
- // Creates a text representation
- final StringBuilder sb = new StringBuilder();
- sb.append("----------------\n");
- sb.append("Bookmark details\n");
- sb.append("----------------\n\n");
- sb.append("User: ").append(this.bookmark.getUser().getName())
- .append('\n');
- sb.append("URI: ").append(this.bookmark.getUri()).append('\n');
- sb.append("Short: ").append(this.bookmark.getShortDescription())
- .append('\n');
- sb.append("Long: ").append(this.bookmark.getLongDescription())
- .append('\n');
- sb.append("Date: ").append(this.bookmark.getDateTime()).append(
- '\n');
- sb.append("Restrict: ").append(
- Boolean.toString(this.bookmark.isRestricting())).append('\n');
- result = new StringRepresentation(sb);
- }
-
- return result;
- }
-
- @Override
- public Representation put(Representation entity) throws ResourceException {
- if (checkAuthorization() == 1) {
- if (entity.getMediaType().equals(MediaType.APPLICATION_WWW_FORM,
- true)) {
- // Parse the entity as a web form
- final Form form = new Form(entity);
-
- // If the bookmark doesn't exist, create it
- if (this.bookmark == null) {
- this.bookmark = new Bookmark(getUser(), this.uri);
- getUser().getBookmarks().add(this.bookmark);
- setStatus(Status.SUCCESS_CREATED);
- } else {
- setStatus(Status.SUCCESS_NO_CONTENT);
- }
-
- // Update the bookmark
- this.bookmark.setShortDescription(form
- .getFirstValue("bookmark[short_description]"));
- this.bookmark.setLongDescription(form
- .getFirstValue("bookmark[long_description]"));
- this.bookmark.setDateTime(new Date());
- this.bookmark.setRestricting(new Boolean(form
- .getFirstValue("bookmark[restrict]")));
-
- // Commit the changes
- getContainer().store(this.bookmark);
- getContainer().store(getUser());
- getContainer().commit();
- }
- } else {
- // Intentionally hide the bookmark existence
- setStatus(Status.CLIENT_ERROR_NOT_FOUND);
- }
-
- return null;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/BookmarksResource.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/BookmarksResource.java
deleted file mode 100644
index 93a6ea53f1..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/BookmarksResource.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch7;
-
-import org.restlet.data.MediaType;
-import org.restlet.data.Reference;
-import org.restlet.data.ReferenceList;
-import org.restlet.representation.Representation;
-import org.restlet.representation.Variant;
-import org.restlet.resource.ResourceException;
-
-/**
- * Resource for a user's list of bookmarks.
- *
- * @author Jerome Louvel
- */
-public class BookmarksResource extends UserResource {
-
- @Override
- public void doInit() {
- super.doInit();
- getVariants().clear();
- if (getUser() != null) {
- getVariants().add(new Variant(MediaType.TEXT_HTML));
- }
- }
-
- @Override
- public Representation get(Variant variant) throws ResourceException {
- Representation result = null;
-
- if (variant.getMediaType().equals(MediaType.TEXT_HTML)) {
- int code = checkAuthorization();
- ReferenceList rl = new ReferenceList();
-
- // Copy the bookmark URIs into a reference list. Make sure that we
- // only expose public bookmarks if the client isn't the owner.
- for (Bookmark bookmark : getUser().getBookmarks()) {
- if (!bookmark.isRestricting() || (code == 1)) {
- rl.add(bookmark.getUri());
- }
- }
-
- result = rl.getWebRepresentation();
- }
-
- return result;
- }
-
- @Override
- public Representation handle() {
- Representation result = null;
-
- // Make sure that the URI ends with a "/" without changing the query.
- // This is helpful when exposing the list of relative references of the
- // bookmarks.
- Reference ref = getRequest().getResourceRef();
- if (!ref.getPath().endsWith("/")) {
- ref.setPath(ref.getPath() + "/");
- redirectPermanent(ref);
- } else {
- result = super.handle();
- }
-
- return result;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/User.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/User.java
deleted file mode 100644
index 5aa73c90e5..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/User.java
+++ /dev/null
@@ -1,136 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch7;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * User account.
- *
- * @author Jerome Louvel
- */
-public class User {
-
- private String name;
-
- private String fullName;
-
- private String email;
-
- private String password;
-
- private List bookmarks;
-
- public Bookmark getBookmark(String uri) {
- for (final Bookmark bookmark : getBookmarks()) {
- if (bookmark.getUri().equals(uri)) {
- return bookmark;
- }
- }
-
- return null;
- }
-
- /**
- * @return the modifiable list of bookmarks
- */
- public List getBookmarks() {
- if (this.bookmarks == null) {
- this.bookmarks = new ArrayList();
- }
- return this.bookmarks;
- }
-
- /**
- * @return the email
- */
- public String getEmail() {
- return this.email;
- }
-
- /**
- * @return the fullName
- */
- public String getFullName() {
- return this.fullName;
- }
-
- /**
- * @return the name
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * @return the password
- */
- public String getPassword() {
- return this.password;
- }
-
- /**
- * @param email
- * the email to set
- */
- public void setEmail(String email) {
- this.email = email;
- }
-
- /**
- * @param fullName
- * the fullName to set
- */
- public void setFullName(String fullName) {
- this.fullName = fullName;
- }
-
- /**
- * @param name
- * the name to set
- */
- public void setName(String name) {
- this.name = name;
- }
-
- /**
- * @param password
- * the password to set
- */
- public void setPassword(String password) {
- this.password = password;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/UserResource.java b/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/UserResource.java
deleted file mode 100644
index 1c77a4bd6c..0000000000
--- a/modules/org.restlet.example/src/org/restlet/example/book/rest/ch7/UserResource.java
+++ /dev/null
@@ -1,305 +0,0 @@
-/**
- * Copyright 2005-2014 Restlet
- *
- * The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
- *
- * You can obtain a copy of the Apache 2.0 license at
- * http://www.opensource.org/licenses/apache-2.0
- *
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
- * You can obtain a copy of the EPL 1.0 license at
- * http://www.opensource.org/licenses/eclipse-1.0
- *
- * See the Licenses for the specific language governing permissions and
- * limitations under the Licenses.
- *
- * Alternatively, you can obtain a royalty free commercial license with less
- * limitations, transferable or non-transferable, directly at
- * http://restlet.com/products/restlet-framework
- *
- * Restlet is a registered trademark of Restlet S.A.S.
- */
-
-package org.restlet.example.book.rest.ch7;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.restlet.data.ChallengeRequest;
-import org.restlet.data.ChallengeResponse;
-import org.restlet.data.ChallengeScheme;
-import org.restlet.data.Form;
-import org.restlet.data.MediaType;
-import org.restlet.data.Status;
-import org.restlet.representation.Representation;
-import org.restlet.representation.StringRepresentation;
-import org.restlet.representation.Variant;
-import org.restlet.resource.ResourceException;
-import org.restlet.resource.ServerResource;
-
-import com.db4o.ObjectContainer;
-import com.db4o.query.Predicate;
-
-/**
- * Resource for a persistent user.
- *
- * @author Jerome Louvel
- */
-public class UserResource extends ServerResource {
-
- private String login;
-
- private boolean modifiable;
-
- private String password;
-
- private User user;
-
- private String userName;
-
- private List variants;
-
- /**
- * Updates the response to challenge the client for credentials.
- */
- public void challenge() {
- getResponse().setStatus(Status.CLIENT_ERROR_CONFLICT);
- getResponse().getChallengeRequests().add(
- new ChallengeRequest(ChallengeScheme.HTTP_BASIC, "Restlet"));
- }
-
- /**
- * Check the authorization credentials.
- *
- * @return 1 if authentication OK, 0 if it is missing, -1 if it is wrong
- */
- public int checkAuthorization() {
- int result = 0;
-
- if (this.user != null) {
- if ((this.login != null) && (this.password != null)) {
- // Credentials provided
- if (this.userName.equals(this.login)
- && this.password.equals(this.user.getPassword())) {
- result = 1;
- } else {
- result = -1;
- }
- }
- }
-
- return result;
- }
-
- @Override
- public Representation delete() throws ResourceException {
- if (isModifiable()) {
- switch (checkAuthorization()) {
- case 1:
- // Delete all associated bookmarks
- for (final Bookmark bookmark : this.user.getBookmarks()) {
- getContainer().delete(bookmark);
- }
-
- // Delete the parent user
- getContainer().delete(this.user);
-
- // Commit the changes
- getContainer().commit();
- setStatus(Status.SUCCESS_OK);
- break;
- case 0:
- // No authentication provided
- challenge();
- break;
- case -1:
- // Wrong authentication provided
- setStatus(Status.CLIENT_ERROR_UNAUTHORIZED);
- break;
- }
- } else {
- return super.delete();
- }
-
- return null;
- }
-
- @Override
- public void doInit() {
- this.userName = (String) getRequestAttributes().get("username");
- final ChallengeResponse cr = getChallengeResponse();
- this.login = (cr != null) ? cr.getIdentifier() : null;
- this.password = (cr != null) ? new String(cr.getSecret()) : null;
- this.user = findUser();
-
- if (this.user != null) {
- this.variants = new ArrayList();
- this.variants.add(new Variant(MediaType.TEXT_PLAIN));
- }
-
- modifiable = true;
- }
-
- /**
- * Finds the associated user.
- *
- * @return The user found or null.
- */
- public User findUser() {
- User result = null;
-
- if (this.userName != null) {
- // Create the query predicate
- final Predicate predicate = new Predicate() {
- private static final long serialVersionUID = 1L;
-
- @Override
- public boolean match(User candidate) {
- return UserResource.this.userName.equals(candidate
- .getName());
- }
- };
-
- // Query the database and get the first result
- final List users = getContainer().query(predicate);
- if ((users != null) && (users.size() > 0)) {
- result = users.get(0);
- }
- }
-
- return result;
- }
-
- @Override
- public Representation get(Variant variant) throws ResourceException {
- Representation result = null;
-
- if ((variant != null)
- && variant.getMediaType().equals(MediaType.TEXT_PLAIN)) {
- // Creates a text representation
- final StringBuilder sb = new StringBuilder();
- sb.append("------------\n");
- sb.append("User details\n");
- sb.append("------------\n\n");
- sb.append("Name: ").append(this.user.getFullName()).append('\n');
- sb.append("Email: ").append(this.user.getEmail()).append('\n');
- result = new StringRepresentation(sb);
- }
-
- return result;
- }
-
- /**
- * Returns the parent application.
- *
- * @return the parent application.
- */
- @Override
- public Application getApplication() {
- return (Application) super.getApplication();
- }
-
- /**
- * Returns the database container.
- *
- * @return the database container.
- */
- public ObjectContainer getContainer() {
- return getApplication().getContainer();
- }
-
- /**
- * Returns the associated user.
- *
- * @return The associated user.
- */
- public User getUser() {
- return this.user;
- }
-
- @Override
- public List getVariants() {
- return variants;
- }
-
- public boolean isModifiable() {
- return modifiable;
- }
-
- @Override
- public Representation put(Representation entity) throws ResourceException {
- if (isModifiable()) {
- if (entity.getMediaType().equals(MediaType.APPLICATION_WWW_FORM,
- true)) {
- boolean canSet = true;
-
- if (getUser() == null) {
- // The user doesn't exist, create it
- setUser(new User());
- getUser().setName(this.userName);
- setStatus(Status.SUCCESS_CREATED);
- } else {
- // The user already exists, check the authentication
- switch (checkAuthorization()) {
- case 1:
- setStatus(Status.SUCCESS_NO_CONTENT);
- break;
- case 0:
- // No authentication provided
- challenge();
- canSet = false;
- break;
- case -1:
- // Wrong authentication provided
- setStatus(Status.CLIENT_ERROR_UNAUTHORIZED);
- canSet = false;
- break;
- }
- }
-
- if (canSet) {
- // Parse the entity as a web form
- Form form = new Form(entity);
- getUser().setEmail(form.getFirstValue("user[email]"));
- getUser()
- .setFullName(form.getFirstValue("user[full_name]"));
- getUser().setPassword(form.getFirstValue("user[password]"));
-
- // Commit the changes
- getContainer().store(getUser());
- getContainer().commit();
- }
- }
- } else {
- return super.put(entity);
- }
-
- return null;
- }
-
- public void setModifiable(boolean modifiable) {
- this.modifiable = modifiable;
- }
-
- /**
- * Sets the associated user.
- *
- * @param user
- * The user to set.
- */
- public void setUser(User user) {
- this.user = user;
- }
-
-}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloClient.java
index 1051b5371f..82cfae72ba 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServer.java
index d7b58db062..3cd3de7d9c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServerResource.java
index df92a6edd9..ac772e67cc 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch01/HelloServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub1/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub1/MailServerApplication.java
index 121cd525f0..32fe0b7527 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub1/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub1/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub2/MailServerApplication.java
index a3cd8dd9a5..d8a82a4e3c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec3/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Blocker.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Blocker.java
index f38baeeb2a..6420a35e57 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Blocker.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Blocker.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/MailServerApplication.java
index f7c0bbffa8..2f0bc9803b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Tracer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Tracer.java
index 0bc4a00a97..632ab0cfc0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Tracer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub1/Tracer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -51,12 +42,9 @@ public Tracer(Context context) {
@Override
public void handle(Request request, Response response) {
String entity = "Method : " + request.getMethod()
- + "\nResource URI : "
- + request.getResourceRef()
- + "\nIP address : "
- + request.getClientInfo().getAddress()
- + "\nAgent name : "
- + request.getClientInfo().getAgentName()
+ + "\nResource URI : " + request.getResourceRef()
+ + "\nIP address : " + request.getClientInfo().getAddress()
+ + "\nAgent name : " + request.getClientInfo().getAgentName()
+ "\nAgent version: "
+ request.getClientInfo().getAgentVersion();
response.setEntity(entity, MediaType.TEXT_PLAIN);
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Blocker.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Blocker.java
index 429f0540a1..e0b6f3aae6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Blocker.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Blocker.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/MailServerApplication.java
index a95cc2c764..26e9bc1766 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Tracer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Tracer.java
index 88d293d4ec..d353ca8dad 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Tracer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec4/sub2/Tracer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -51,12 +42,9 @@ public Tracer(Context context) {
@Override
public void handle(Request request, Response response) {
String entity = "Method : " + request.getMethod()
- + "\nResource URI : "
- + request.getResourceRef()
- + "\nIP address : "
- + request.getClientInfo().getAddress()
- + "\nAgent name : "
- + request.getClientInfo().getAgentName()
+ + "\nResource URI : " + request.getResourceRef()
+ + "\nIP address : " + request.getClientInfo().getAddress()
+ + "\nAgent name : " + request.getClientInfo().getAgentName()
+ "\nAgent version: "
+ request.getClientInfo().getAgentVersion();
response.setEntity(entity, MediaType.TEXT_PLAIN);
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountServerResource.java
index 32dc626d5d..fa5f754a3c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountsServerResource.java
index cda37a77b1..59f50fc73b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/MailServerApplication.java
index 4ad8ff9458..3a0e3ac78f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -73,8 +64,7 @@ public MailServerApplication() {
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
- router.attach("http://localhost:8111/",
- RootServerResource.class);
+ router.attach("http://localhost:8111/", RootServerResource.class);
router.attach("http://localhost:8111/accounts/",
AccountsServerResource.class);
router.attach("http://localhost:8111/accounts/{accountId}",
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/RootServerResource.java
index 5d5bec79e7..58ead698a4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub2/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub3/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub3/MailClient.java
index 2ee09d9de7..1c5e7a81ed 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub3/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub3/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountServerResource.java
index 30e3aa60f1..830d43bf1d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountsServerResource.java
index 42dcaffac1..d42227ddc2 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailClient.java
index 0633e8aa4c..693ad90ac4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -41,8 +32,8 @@
public class MailClient {
public static void main(String[] args) throws Exception {
- RootResource mailRoot = ClientResource.create(
- "http://localhost:8111/", RootResource.class);
+ RootResource mailRoot = ClientResource.create("http://localhost:8111/",
+ RootResource.class);
String result = mailRoot.represent();
System.out.println(result);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailServerApplication.java
index 39ab382070..799acbb909 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -73,8 +64,7 @@ public MailServerApplication() {
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
- router.attach("http://localhost:8111/",
- RootServerResource.class);
+ router.attach("http://localhost:8111/", RootServerResource.class);
router.attach("http://localhost:8111/accounts/",
AccountsServerResource.class);
router.attach("http://localhost:8111/accounts/{accountId}",
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootResource.java
index 98d9ab49ed..ddad14e9d6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface RootResource {
@Get("txt")
- public String represent();
+ String represent();
@Options("txt")
- public String describe();
+ String describe();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootServerResource.java
index 333ff8e12c..3ccd6e2c6e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub4/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -38,8 +29,7 @@
/**
* Implementing the Java annotated resource interface.
*/
-public class RootServerResource
- extends ServerResource implements RootResource {
+public class RootServerResource extends ServerResource implements RootResource {
public String represent() {
return "This is the root resource";
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountResource.java
index c4491ef5af..edbe626af5 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get("txt")
- public String represent();
+ String represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put("txt")
- public void store(String account);
+ void store(String account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountsResource.java
index 0015eb0454..b9733f32e8 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get("txt")
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post("txt")
- public String add(String account);
+ String add(String account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/RootResource.java
index 25bbe3a6c9..d1d359d053 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get("txt")
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountServerResource.java
index ce47ed2580..cdcea7da02 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountsServerResource.java
index 6bb21ca66c..e70102f279 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/MailServerApplication.java
index 05acc80593..82279583b0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/RootServerResource.java
index 72b72da8fb..58898eeb8a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch02/sec5/sub5/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/MailComponentTestCase.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/MailComponentTestCase.java
index 3099680ef2..ac1cfb1e65 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/MailComponentTestCase.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/MailComponentTestCase.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.book.restlet.ch03.sec3;
import org.restlet.Request;
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClient.java
index f24a043f35..9eb82ca029 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClientTestCase.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClientTestCase.java
index 6690861308..ed2da03f30 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClientTestCase.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/client/MailClientTestCase.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountResource.java
index f1d1b6080c..0f8aa073dc 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public String represent();
+ String represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(String account);
+ void store(String account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountsResource.java
index 61b570803c..373a9c4ea1 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(String account);
+ String add(String account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/RootResource.java
index 392500baf2..55f684aa89 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountServerResource.java
index eb56c2edd3..f758901f59 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountsServerResource.java
index 83af6b21f6..fea8e37321 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerApplication.java
index 90b3defadd..b0e1fb5946 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerComponent.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerComponent.java
index aba02c45a6..da37283358 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerComponent.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerComponent.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerSpring.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerSpring.java
index 39c4593119..854e56235b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerSpring.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/MailServerSpring.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -34,9 +25,7 @@
package org.restlet.example.book.restlet.ch03.sec3.server;
import org.restlet.Component;
-import org.springframework.beans.factory.BeanFactory;
-import org.springframework.beans.factory.xml.XmlBeanFactory;
-import org.springframework.core.io.ClassPathResource;
+import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* Creates a Restlet component and application based on a Spring XML
@@ -46,13 +35,13 @@ public class MailServerSpring {
public static void main(String[] args) throws Exception {
// Load the Spring container
- ClassPathResource resource = new ClassPathResource(
+ ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
"org/restlet/example/book/restlet/ch03/sec3/server/component-spring.xml");
- BeanFactory factory = new XmlBeanFactory(resource);
// Start the Restlet component
- Component component = factory.getBean("component", Component.class);
+ Component component = ctx.getBean("component", Component.class);
component.start();
+ ctx.close();
}
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/RootServerResource.java
index f989550c57..fa6364380c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/component-spring.xml b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/component-spring.xml
index 5edfc204a1..7e6fe8bad0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/component-spring.xml
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch03/sec3/server/component-spring.xml
@@ -16,6 +16,10 @@
+
+
+
+
@@ -39,10 +43,6 @@
-
-
-
-
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec1/AppendableTestCase.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec1/AppendableTestCase.java
index 88b2b3244c..dd40655b55 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec1/AppendableTestCase.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec1/AppendableTestCase.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailClient.java
index 8701682786..a5f3aac8cf 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerApplication.java
index 189df4c6fd..68cd6b72a4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerResource.java
index b7a26468bc..2d4f9380a9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub2/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailClient.java
index d5d746bfdb..02b6c8da49 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerApplication.java
index 34fc17dc26..710d9b0f30 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerResource.java
index 90d0e1b667..b08cfae787 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub3/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailClient.java
index eccd0b58b4..06c1ec1973 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerApplication.java
index 9808f79daf..e53e1ff8be 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerResource.java
index 6dfe8694b9..ba531d416c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub4/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailClient.java
index 51e8a7dde5..964efcf0c1 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerApplication.java
index fc8e6c1f7f..d73ed8a6bf 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -64,8 +55,7 @@ public static void main(String[] args) throws Exception {
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
- router.attach(
- "/accounts/{accountId}/mails/{mailId}",
+ router.attach("/accounts/{accountId}/mails/{mailId}",
MailServerResource.class);
return router;
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerResource.java
index 48c6066187..b78b02f620 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub5/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailClient.java
index 5ff4e2a82f..089d23241e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerApplication.java
index 4c80653253..c097c60bc3 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerResource.java
index 2f859ef3f5..90c853acef 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub6/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailClient.java
index d0b744451d..36ba6f2a3d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerApplication.java
index 1a4679b4c1..dae574dd47 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerResource.java
index c192dfa561..52d698ce2d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub7/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/Mail.java
index 5589190642..64c9941345 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -39,11 +30,13 @@
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-
/**
- *
Java class for anonymous complex type.
+ *
+ * Java class for anonymous complex type.
*
- *
The following schema fragment specifies the expected content contained within this class.
+ *
+ * The following schema fragment specifies the expected content contained within
+ * this class.
*
*
* <complexType>
@@ -63,31 +56,27 @@
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "", propOrder = {
- "status",
- "subject",
- "content",
- "accountRef"
-})
+@XmlType(name = "", propOrder = { "status", "subject", "content", "accountRef" })
@XmlRootElement(name = "mail", namespace = "http://www.rmep.org/namespaces/1.0")
public class Mail {
@XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true)
protected String status;
+
@XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true)
protected String subject;
+
@XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true)
protected String content;
+
@XmlElement(namespace = "http://www.rmep.org/namespaces/1.0", required = true)
protected String accountRef;
/**
* Gets the value of the status property.
*
- * @return
- * possible object is
- * {@link String }
- *
+ * @return possible object is {@link String }
+ *
*/
public String getStatus() {
return status;
@@ -97,9 +86,8 @@ public String getStatus() {
* Sets the value of the status property.
*
* @param value
- * allowed object is
- * {@link String }
- *
+ * allowed object is {@link String }
+ *
*/
public void setStatus(String value) {
this.status = value;
@@ -108,10 +96,8 @@ public void setStatus(String value) {
/**
* Gets the value of the subject property.
*
- * @return
- * possible object is
- * {@link String }
- *
+ * @return possible object is {@link String }
+ *
*/
public String getSubject() {
return subject;
@@ -121,9 +107,8 @@ public String getSubject() {
* Sets the value of the subject property.
*
* @param value
- * allowed object is
- * {@link String }
- *
+ * allowed object is {@link String }
+ *
*/
public void setSubject(String value) {
this.subject = value;
@@ -132,10 +117,8 @@ public void setSubject(String value) {
/**
* Gets the value of the content property.
*
- * @return
- * possible object is
- * {@link String }
- *
+ * @return possible object is {@link String }
+ *
*/
public String getContent() {
return content;
@@ -145,9 +128,8 @@ public String getContent() {
* Sets the value of the content property.
*
* @param value
- * allowed object is
- * {@link String }
- *
+ * allowed object is {@link String }
+ *
*/
public void setContent(String value) {
this.content = value;
@@ -156,10 +138,8 @@ public void setContent(String value) {
/**
* Gets the value of the accountRef property.
*
- * @return
- * possible object is
- * {@link String }
- *
+ * @return possible object is {@link String }
+ *
*/
public String getAccountRef() {
return accountRef;
@@ -169,9 +149,8 @@ public String getAccountRef() {
* Sets the value of the accountRef property.
*
* @param value
- * allowed object is
- * {@link String }
- *
+ * allowed object is {@link String }
+ *
*/
public void setAccountRef(String value) {
this.accountRef = value;
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailClient.java
index 547fc677ab..16bee5fbf6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerApplication.java
index fa8007522f..5033ac271f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -64,8 +55,7 @@ public static void main(String[] args) throws Exception {
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
- router.attach(
- "/accounts/{accountId}/mails/{mailId}",
+ router.attach("/accounts/{accountId}/mails/{mailId}",
MailServerResource.class);
return router;
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerResource.java
index 0bd43f0fc0..9cdf795afc 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/ObjectFactory.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/ObjectFactory.java
index 370756a004..9e9d5dc17f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/ObjectFactory.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec2/sub8/ObjectFactory.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -35,27 +26,25 @@
import javax.xml.bind.annotation.XmlRegistry;
-
/**
- * This object contains factory methods for each
- * Java content interface and Java element interface
- * generated in the org.restlet.example.book.restlet.ch05.sec2.sub8 package.
- *
An ObjectFactory allows you to programatically
- * construct new instances of the Java representation
- * for XML content. The Java representation of XML
- * content can consist of schema derived interfaces
- * and classes representing the binding of schema
- * type definitions, element declarations and model
- * groups. Factory methods for each of these are
- * provided in this class.
+ * This object contains factory methods for each Java content interface and Java
+ * element interface generated in the
+ * org.restlet.example.book.restlet.ch05.sec2.sub8 package.
+ *
+ * An ObjectFactory allows you to programatically construct new instances of the
+ * Java representation for XML content. The Java representation of XML content
+ * can consist of schema derived interfaces and classes representing the binding
+ * of schema type definitions, element declarations and model groups. Factory
+ * methods for each of these are provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
-
/**
- * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.restlet.example.book.restlet.ch05.sec2.sub8
+ * Create a new ObjectFactory that can be used to create new instances of
+ * schema derived classes for package:
+ * org.restlet.example.book.restlet.ch05.sec2.sub8
*
*/
public ObjectFactory() {
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailClient.java
index d22a83bf91..9dd51eff94 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerApplication.java
index 678be865ff..cb31f1361c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerResource.java
index 565ecf89ca..1dd0f3eac0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub1/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/Mail.java
index 2f10aadc21..3875420648 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailClient.java
index aa2ef211e8..2da4a5c638 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerApplication.java
index c2ad50dc1b..791c26d0d0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerResource.java
index e5de67ced4..a0d2ed2b57 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec3/sub2/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/Mail.java
index d099f0466e..9772df3d43 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailClient.java
index 444a74b945..6936d6e845 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerApplication.java
index a26c38ba43..eecd5e31af 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerResource.java
index 3ad3851083..78c406851c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub1/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/Mail.java
index 90632f85dc..de518abedf 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailClient.java
index e6d1441bb7..a6c9d93618 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerApplication.java
index 2075ad2c2e..51975c8b9f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -65,8 +56,7 @@ public static void main(String[] args) throws Exception {
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
- router.attach(
- "/accounts/{accountId}/mails/{mailId}",
+ router.attach("/accounts/{accountId}/mails/{mailId}",
MailServerResource.class);
return router;
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerResource.java
index c5b27c81ec..5fb56ce6bd 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec4/sub2/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/Mail.java
index b83b3c3884..5ae3bfb862 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerApplication.java
index 1e3b5cc711..c213b23598 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,6 +33,7 @@
/**
* Routing to annotated server resources.
*/
+@Deprecated
public class MailServerApplication extends Application {
/**
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerResource.java
index cfe48b2a1f..1da560cdd4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub2/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -38,7 +29,6 @@
import org.restlet.data.MediaType;
import org.restlet.data.Reference;
import org.restlet.ext.jackson.JacksonRepresentation;
-import org.restlet.ext.xstream.XstreamRepresentation;
import org.restlet.representation.Representation;
import org.restlet.representation.Variant;
import org.restlet.resource.ResourceException;
@@ -48,6 +38,7 @@
* Resource corresponding to a mail received or sent with the parent mail
* account. Leverages Jackson extension.
*/
+@Deprecated
public class MailServerResource extends ServerResource {
@Override
@@ -69,14 +60,8 @@ protected Representation get(Variant variant) throws ResourceException {
mail.setAccountRef(new Reference(getReference(), "..").getTargetRef()
.toString());
- if (MediaType.APPLICATION_XML.isCompatible(variant.getMediaType())) {
- // Wraps the bean with an XStream representation
- result = new XstreamRepresentation(mail);
- } else if (MediaType.APPLICATION_JSON.isCompatible(variant
- .getMediaType())) {
- // Wraps the bean with a Jackson representation
- result = new JacksonRepresentation(mail);
- }
+ // Wraps the bean with a Jackson representation
+ result = new JacksonRepresentation(mail);
return result;
}
@@ -87,19 +72,10 @@ protected Representation put(Representation representation, Variant variant)
Mail mail = null;
try {
- if (MediaType.APPLICATION_XML.isCompatible(representation
- .getMediaType())) {
- // Parse the XML representation to get the mail bean
- mail = new XstreamRepresentation(representation,
- Mail.class).getObject();
- System.out.println("XML representation received");
- } else if (MediaType.APPLICATION_JSON.isCompatible(representation
- .getMediaType())) {
- // Parse the JSON representation to get the mail bean
- mail = new JacksonRepresentation(representation,
- Mail.class).getObject();
- System.out.println("JSON representation received");
- }
+ // Parse the JSON representation to get the mail bean
+ mail = new JacksonRepresentation(representation, Mail.class)
+ .getObject();
+ System.out.println("JSON representation received");
if (mail != null) {
// Output the mail bean
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub3/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub3/MailClient.java
index d3de055301..e34325bc3e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub3/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub3/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/Mail.java
index 6e5906cd2f..1443a838ae 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailClient.java
index cec2befdff..0cda937f09 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailResource.java
index 830af98179..28fdebc5ad 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public Mail retrieve();
+ Mail retrieve();
@Put
- public void store(Mail mail);
+ void store(Mail mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerApplication.java
index a5d7a6538b..c606db303a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerResource.java
index eb28b49001..6f36a06db3 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch04/sec5/sub4/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/Mail.java
index e90055b6cd..6155d4d176 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailClient.java
index 82320b5e11..16a2055e94 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailResource.java
index 1e70cc8c81..986666f47c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public Mail retrieve();
+ Mail retrieve();
@Put
- public void store(Mail mail);
+ void store(Mail mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerApplication.java
index e211656b96..ed849b8343 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerResource.java
index 5a2c3c27df..f5df647704 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec1/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/Mail.java
index b46f53ae8b..58a0a301ba 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailClient.java
index 562cb011e5..b6485c357d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailResource.java
index d929945988..00ed480b6a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public Mail retrieve();
+ Mail retrieve();
@Put
- public void store(Mail mail);
+ void store(Mail mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerApplication.java
index c1338f0a7a..28db9f60a6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerResource.java
index d2503e0515..6139856be7 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/basic/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/Mail.java
index 35b2dd2cd7..e194aa8281 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailClient.java
index bffe7e411d..adc3940a98 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailResource.java
index 3a58797450..62d57bcea4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public Mail retrieve();
+ Mail retrieve();
@Put
- public void store(Mail mail);
+ void store(Mail mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerApplication.java
index 2569118719..a8e0c3cd3c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerResource.java
index c97113222c..48c9b9f793 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/digest/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/Mail.java
index b6088c171a..5d09b9dfd8 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailClient.java
index 020437e494..987ba8450d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailResource.java
index 2639d8917e..3a80824511 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public Mail retrieve();
+ Mail retrieve();
@Put
- public void store(Mail mail);
+ void store(Mail mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerApplication.java
index a3c6053709..1378e2d426 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerResource.java
index b33586269b..dcd4b5968b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/certificate/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/Mail.java
index d3666f8b1c..59a6273937 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailClient.java
index 2c157035ba..8a8f7718ac 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailResource.java
index fb4d109c42..39a7bb2373 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public Mail retrieve();
+ Mail retrieve();
@Put
- public void store(Mail mail);
+ void store(Mail mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerApplication.java
index 4da099be76..7a93b0d119 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerResource.java
index e835d40fba..cca5c71386 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/jaas/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/Mail.java
index f5df357d68..2be1a7ec7c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailClient.java
index 9b3ac07b23..231f98ffae 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailResource.java
index e5a3915ea7..ade580a137 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public Mail retrieve();
+ Mail retrieve();
@Put
- public void store(Mail mail);
+ void store(Mail mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerApplication.java
index 829c6d6bf8..2175d0f500 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerResource.java
index 8610ce6b83..11a06a7bdd 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/SimpleSecretVerifier.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/SimpleSecretVerifier.java
index 37fbba218b..0637f58bad 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/SimpleSecretVerifier.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec2/verifier/secret/SimpleSecretVerifier.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/client/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/client/MailClient.java
index 8f407252b6..aff539358e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/client/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/client/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountRepresentation.java
index e7827e7cde..fb88a729a5 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountResource.java
index 57f22f1938..69e203d07a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public String represent();
+ String represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(String account);
+ void store(String account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountsResource.java
index 1e0cbf341b..8f6b9ba9b4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(String account);
+ String add(String account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/ContactRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/ContactRepresentation.java
index 5a1ff52df6..d8aaeef6a0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/ContactRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/ContactRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/FeedRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/FeedRepresentation.java
index 37237b38ca..65adcc7d98 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/FeedRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/FeedRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/MailRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/MailRepresentation.java
index 87bc513fb3..6557a01f8e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/MailRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/MailRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/RootResource.java
index e7c4ee0515..acc4d6b6f6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/TagRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/TagRepresentation.java
index 464d2e93ec..74c4313fa9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/TagRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/common/TagRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountServerResource.java
index 1979d5f07a..8580e3c366 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountsServerResource.java
index b1e817da8b..e97ec9a669 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerApplication.java
index c486da4b62..451549338c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerComponent.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerComponent.java
index 237e4f549a..ceac9771b2 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerComponent.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/MailServerComponent.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/RootServerResource.java
index 671a5a0023..c86a08622a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec3/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/client/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/client/MailClient.java
index ec56f30f19..ccb37afcfa 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/client/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/client/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountRepresentation.java
index 13e224df2b..352ff58ef4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountResource.java
index be32426aab..5d31e776c6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public String represent();
+ String represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(String account);
+ void store(String account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountsResource.java
index 1da05e73de..bdeec430e7 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(String account);
+ String add(String account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/ContactRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/ContactRepresentation.java
index 5f33821e79..3476592d4c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/ContactRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/ContactRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/FeedRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/FeedRepresentation.java
index c1cf9ddfd1..7036c5e41c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/FeedRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/FeedRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/MailRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/MailRepresentation.java
index 3e8e3cef0a..890acb8510 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/MailRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/MailRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/RootResource.java
index dd4035cb7c..322d7e4fcb 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/TagRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/TagRepresentation.java
index 8ee1668d6e..fa26192704 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/TagRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/common/TagRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountServerResource.java
index d91d24d1de..afbdfb83c9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountsServerResource.java
index 8928161df6..1ea9af8ab4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/FilesServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/FilesServerResource.java
index 336207ce23..7961754c73 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/FilesServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/FilesServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerApplication.java
index dc01a8669c..7a06c6f55c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerComponent.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerComponent.java
index fa9b77ff25..6edf5823e4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerComponent.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/MailServerComponent.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/RootServerResource.java
index f489396cbd..564797e18e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec4/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationClient.java
index 0141bc398f..3b06a5d0b8 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationServer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationServer.java
index 7810695f2c..57321cd32b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationServer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerificationServer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerifiedServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerifiedServerResource.java
index 3ca610830a..2f90e13736 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerifiedServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch05/sec5/VerifiedServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/client/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/client/MailClient.java
index 3663bdf287..3442c97c83 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/client/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/client/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountRepresentation.java
index 63a9c362b3..e6c409009a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountResource.java
index 62088bca51..a867cd6b68 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public String represent();
+ String represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(String account);
+ void store(String account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountsResource.java
index 03247d02f6..6768240a42 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(String account);
+ String add(String account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/ContactRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/ContactRepresentation.java
index a061f84787..6465724f61 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/ContactRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/ContactRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/FeedRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/FeedRepresentation.java
index 95aa130e3a..238722c74d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/FeedRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/FeedRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/MailRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/MailRepresentation.java
index 242ba92802..4c58085857 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/MailRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/MailRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/RootResource.java
index 68f9a192bf..5e77237d92 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/TagRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/TagRepresentation.java
index f9eaee3e19..ab399b741e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/TagRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/common/TagRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountServerResource.java
index 7775915825..a469c3ef76 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountsServerResource.java
index 2b781c22ec..2b34eaa1dc 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerApplication.java
index 286822288f..fbb51aeec5 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerComponent.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerComponent.java
index d49ab01740..10f476ff7d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerComponent.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/MailServerComponent.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/RootServerResource.java
index 910c4ae57f..9aea6e879f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch06/sec2/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/Mail.java
index 46ce92d0cd..67caf50401 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailClient.java
index 71e6120f30..6e51056b03 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerApplication.java
index cf843ff520..69fb382339 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerResource.java
index b828bf07b6..d89cc2969d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub1/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/Mail.java
index 7155706905..9d479ff5b4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailClient.java
index 0d14d53f27..d0abfac916 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerApplication.java
index 66b0dcac95..414a7e375b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerResource.java
index 24fb058803..26e2cfbb5d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/NaiveCookieAuthenticator.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/NaiveCookieAuthenticator.java
index 4431ddebec..e5ec0c346d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/NaiveCookieAuthenticator.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub2/NaiveCookieAuthenticator.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -58,12 +49,13 @@
*/
public class NaiveCookieAuthenticator extends ChallengeAuthenticator {
- public NaiveCookieAuthenticator(Context context, boolean optional, String realm) {
+ public NaiveCookieAuthenticator(Context context, boolean optional,
+ String realm) {
super(context, optional, ChallengeScheme.HTTP_COOKIE, realm);
}
- public NaiveCookieAuthenticator(Context context, boolean optional, String realm,
- Verifier verifier) {
+ public NaiveCookieAuthenticator(Context context, boolean optional,
+ String realm, Verifier verifier) {
super(context, optional, ChallengeScheme.HTTP_COOKIE, realm, verifier);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/HelloServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/HelloServerResource.java
index dea1c3fa5b..3a80fed477 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/HelloServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/HelloServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/MergeSitesServicesApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/MergeSitesServicesApplication.java
index f46ec99f76..549c7e82d1 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/MergeSitesServicesApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub3/MergeSitesServicesApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailServerApplication.java
index 4d2746254d..58b5052ce4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailStatusService.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailStatusService.java
index c745be2f0d..37ab73ebae 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailStatusService.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub4/MailStatusService.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/Mail.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/Mail.java
index 518a9ce60d..51df6848a0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/Mail.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/Mail.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailClient.java
index bdfa8a9632..2bb1c57e65 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerApplication.java
index 6b71877190..16ed199ef4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerResource.java
index b1613e3c00..e712f8d29c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec1/sub5/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/FeedServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/FeedServerResource.java
index a0ca5f9073..4cb7730acb 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/FeedServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/FeedServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -33,9 +24,6 @@
package org.restlet.example.book.restlet.ch07.sec2;
-import java.util.ArrayList;
-import java.util.List;
-
import org.restlet.ext.atom.Entry;
import org.restlet.ext.atom.Feed;
import org.restlet.ext.atom.Text;
@@ -43,13 +31,6 @@
import org.restlet.resource.ResourceException;
import org.restlet.resource.ServerResource;
-import com.sun.syndication.feed.synd.SyndContent;
-import com.sun.syndication.feed.synd.SyndContentImpl;
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndEntryImpl;
-import com.sun.syndication.feed.synd.SyndFeed;
-import com.sun.syndication.feed.synd.SyndFeedImpl;
-
/**
* Resource corresponding to an account feed associated to tags.
*/
@@ -71,26 +52,4 @@ public Feed toAtom() throws ResourceException {
return result;
}
- @Get("rss")
- public SyndFeed toRss() throws ResourceException {
- SyndFeed result = new SyndFeedImpl();
- result.setTitle("Homer's feed");
- result.setDescription("Homer's feed");
- result.setLink(getReference().toString());
- List entries = new ArrayList();
- result.setEntries(entries);
- SyndEntry entry;
- SyndContent description;
-
- for (int i = 1; i < 11; i++) {
- entry = new SyndEntryImpl();
- entry.setTitle("Mail #" + i);
- description = new SyndContentImpl();
- description.setValue("Doh! This is the content of mail #" + i);
- entry.setDescription(description);
- entries.add(entry);
- }
-
- return result;
- }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailClient.java
index d39abd8bb1..d6f87a8fe9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -33,15 +24,10 @@
package org.restlet.example.book.restlet.ch07.sec2;
-import java.util.List;
-
import org.restlet.ext.atom.Entry;
import org.restlet.ext.atom.Feed;
import org.restlet.resource.ClientResource;
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndFeed;
-
/**
* Mail client updating a mail by submitting a form.
*/
@@ -60,16 +46,5 @@ public static void main(String[] args) throws Exception {
System.out.println("Summary: " + entry.getSummary());
}
- // Display the retrieved RSS feed and entries
- SyndFeed rssFeed = mailClient.get(SyndFeed.class);
- System.out.println("\nRSS feed: " + rssFeed.getTitle() + "\n");
-
- @SuppressWarnings("unchecked")
- List entries = (List) rssFeed.getEntries();
-
- for (SyndEntry entry : entries) {
- System.out.println("Title : " + entry.getTitle());
- System.out.println("Summary: " + entry.getDescription().getValue());
- }
}
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailServerApplication.java
index 4b84c0a473..33898887b6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec2/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/OldServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/OldServerResource.java
index c05b98f19a..bdea0c3199 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/OldServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/OldServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public String redirect() {
System.out.println("Redirecting client to new location...");
- // Add explanation message entity
+ // Add explanation message entity
return "Resource moved... \n";
}
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectedClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectedClient.java
index 1ce36c2fb8..7bfd12f67a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectedClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectedClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectingServer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectingServer.java
index 168f03b699..158281deb7 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectingServer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub1/RedirectingServer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub2/SearchRedirector.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub2/SearchRedirector.java
index 41969352b5..2a1eb90b84 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub2/SearchRedirector.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec3/sub2/SearchRedirector.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentClient.java
index 01aa319934..66cffac369 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServer.java
index 4975e2ca0c..098dac08f3 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServerResource.java
index f548495e9c..023d652917 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub1/DynamicContentServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeClient.java
index 74292c6160..22c642fcdb 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeServer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeServer.java
index 2260b0f302..538bac32dc 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeServer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub3/RangeServer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingClient.java
index c80f1befc7..92b4952f33 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServer.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServer.java
index 7342d7ee99..867d0c89d9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServerResource.java
index 0a4c5ac3e5..721bd34104 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub4/CachingServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub5/ConditionalClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub5/ConditionalClient.java
index 7b4818b548..2523aa47b6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub5/ConditionalClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec4/sub5/ConditionalClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/MailServerComponent.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/MailServerComponent.java
index 84d67eb81d..07eb8e4fb0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/MailServerComponent.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/MailServerComponent.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/client/MailClient.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/client/MailClient.java
index fb40e2f1b0..192d51f0b9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/client/MailClient.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/client/MailClient.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -33,17 +24,12 @@
package org.restlet.example.book.restlet.ch07.sec5.webapi.client;
-import java.util.List;
-
import org.restlet.data.Cookie;
import org.restlet.data.Form;
import org.restlet.ext.atom.Entry;
import org.restlet.ext.atom.Feed;
import org.restlet.resource.ClientResource;
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndFeed;
-
/**
* Mail client.
*/
@@ -90,17 +76,6 @@ public static void main(String[] args) throws Exception {
System.out.println("Summary: " + entry.getSummary());
}
- // Display the retrieved RSS feed and entries
- SyndFeed rssFeed = mailClient.get(SyndFeed.class);
- System.out.println("\nRSS feed: " + rssFeed.getTitle() + "\n");
-
- @SuppressWarnings("unchecked")
- List entries = (List) rssFeed.getEntries();
-
- for (SyndEntry entry : entries) {
- System.out.println("Title : " + entry.getTitle());
- System.out.println("Summary: " + entry.getDescription().getValue());
- }
}
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountRepresentation.java
index 75aa205f37..67870f8586 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountResource.java
index 3df5463074..818583cd5b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public AccountRepresentation represent();
+ AccountRepresentation represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(AccountRepresentation account);
+ void store(AccountRepresentation account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountsResource.java
index 29277cbde1..ed18c195a9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(AccountRepresentation account);
+ String add(AccountRepresentation account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/ContactRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/ContactRepresentation.java
index 065a5c1ccc..983cc80bec 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/ContactRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/ContactRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/FeedRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/FeedRepresentation.java
index 22a5620bcb..b5da506887 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/FeedRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/FeedRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailRepresentation.java
index a3d7e5b3cc..b1dca6c2ed 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailResource.java
index e1563c2f20..1f4d013e1b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public MailRepresentation retrieve();
+ MailRepresentation retrieve();
@Put
- public void store(MailRepresentation mail);
+ void store(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/RootResource.java
index f8514d2561..3ec54db4d2 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/TagRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/TagRepresentation.java
index da9750b2a3..c1f68a3e4f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/TagRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/common/TagRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountServerResource.java
index 9886f6a3fc..0a4be3fff4 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountsServerResource.java
index 30c53ebe19..9ec085ca06 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailApiApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailApiApplication.java
index 0bf05ee353..74ec93a544 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailApiApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailApiApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailServerResource.java
index d4bcc334dc..dae82280d0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -41,7 +32,8 @@
/**
* Mail server resource implementing the {@link MailResource} interface.
*/
-public class MailServerResource extends WadlServerResource implements MailResource {
+public class MailServerResource extends WadlServerResource implements
+ MailResource {
public MailRepresentation retrieve() {
MailRepresentation mail = new MailRepresentation();
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/RootServerResource.java
index c0025d3758..0ad97d1417 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/webapi/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -56,8 +47,7 @@ protected RepresentationInfo describe(MethodInfo methodInfo,
DocumentationInfo doc = new DocumentationInfo();
doc.setTitle("Mail application");
- doc
- .setTextContent("Simple string welcoming the user to the mail application");
+ doc.setTextContent("Simple string welcoming the user to the mail application");
result.getDocumentations().add(doc);
return result;
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountServerResource.java
index 98f8958992..9ef44b61f9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountsServerResource.java
index 958b5d719a..6f00e604f8 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -38,6 +29,6 @@
/**
* Implementation of the resource containing the list of mail accounts.
*/
-public class AccountsServerResource extends ServerResource{
+public class AccountsServerResource extends ServerResource {
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/CookieAuthenticator.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/CookieAuthenticator.java
index 148f4e102d..3d362d8491 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/CookieAuthenticator.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/CookieAuthenticator.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/FeedServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/FeedServerResource.java
index a7700edb58..4b14a2307d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/FeedServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/FeedServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -33,9 +24,6 @@
package org.restlet.example.book.restlet.ch07.sec5.website;
-import java.util.ArrayList;
-import java.util.List;
-
import org.restlet.ext.atom.Entry;
import org.restlet.ext.atom.Feed;
import org.restlet.ext.atom.Text;
@@ -43,13 +31,6 @@
import org.restlet.resource.ResourceException;
import org.restlet.resource.ServerResource;
-import com.sun.syndication.feed.synd.SyndContent;
-import com.sun.syndication.feed.synd.SyndContentImpl;
-import com.sun.syndication.feed.synd.SyndEntry;
-import com.sun.syndication.feed.synd.SyndEntryImpl;
-import com.sun.syndication.feed.synd.SyndFeed;
-import com.sun.syndication.feed.synd.SyndFeedImpl;
-
/**
* Resource corresponding to an account feed associated to tags.
*/
@@ -70,27 +51,4 @@ public Feed toAtom() throws ResourceException {
return result;
}
-
- @Get("rss")
- public SyndFeed toRss() throws ResourceException {
- SyndFeed result = new SyndFeedImpl();
- result.setTitle("Homer's feed");
- result.setDescription("Homer's feed");
- result.setLink(getReference().toString());
- List entries = new ArrayList();
- result.setEntries(entries);
- SyndEntry entry;
- SyndContent description;
-
- for (int i = 1; i < 11; i++) {
- entry = new SyndEntryImpl();
- entry.setTitle("Mail n�" + i);
- description = new SyndContentImpl();
- description.setValue("Doh! This is the content of mail n�" + i);
- entry.setDescription(description);
- entries.add(entry);
- }
-
- return result;
- }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailServerResource.java
index a01f63e962..2581572589 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailSiteApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailSiteApplication.java
index 17b0c12716..4d50d260a9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailSiteApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailSiteApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailStatusService.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailStatusService.java
index 04eb887166..b7f24aa0a0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailStatusService.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/MailStatusService.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -56,8 +47,10 @@ public Representation getRepresentation(Status status, Request request,
// Create the data model
Map dataModel = new TreeMap();
dataModel.put("applicationName", Application.getCurrent().getName());
- dataModel.put("statusReasonPhrase", response.getStatus().getReasonPhrase());
- dataModel.put("statusDescription", response.getStatus().getDescription());
+ dataModel.put("statusReasonPhrase", response.getStatus()
+ .getReasonPhrase());
+ dataModel.put("statusDescription", response.getStatus()
+ .getDescription());
// Load the FreeMarker template
Representation mailFtl = new ClientResource(
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/RootServerResource.java
index c2f400635f..d65c444388 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch07/sec5/website/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java
index 15c463a1db..660bfb2a4c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java
index b0ee280d36..5c03e5c464 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public AccountRepresentation represent();
+ AccountRepresentation represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(AccountRepresentation account);
+ void store(AccountRepresentation account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java
index 6cec0ea560..77d41593a0 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(AccountRepresentation account);
+ String add(AccountRepresentation account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java
index 7eace5c5aa..47d9103a63 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java
index f2683b8502..bdbb0d061a 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/ContactResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -40,7 +31,7 @@
*/
public interface ContactResource {
- @Get
- public ContactRepresentation retrieve();
+ @Get
+ ContactRepresentation retrieve();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java
index 4915409235..c98ad9a008 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/FeedRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java
index 8fdef30ed4..d9c1ab4c8d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java
index fd33a18e09..4e95b9fc70 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public MailRepresentation retrieve();
+ MailRepresentation retrieve();
@Put
- public void store(MailRepresentation mail);
+ void store(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java
index 77ac6a3b02..48d0e3a1b5 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/MailsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -44,9 +35,9 @@
public interface MailsResource {
@Get
- public List retrieve();
+ List retrieve();
@Post
- public void add(MailRepresentation mail);
+ void add(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java
index 0c3f3b871e..92f80222f7 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java
index 7443e67f98..9419730318 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/common/TagRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java
index aa5ab866a6..a54e575062 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java
index 3acbf93d97..1109f36994 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java
index b170302461..a87d29c196 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/ContactServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -41,15 +32,15 @@
* Contact server resource implementing the {@link ContactResource} interface.
*/
public class ContactServerResource extends WadlServerResource implements
- ContactResource {
+ ContactResource {
- public ContactRepresentation retrieve() {
- ContactRepresentation contact = new ContactRepresentation();
- contact.setFirstName("Homer");
- contact.setLastName("Simpson");
- contact.setLogin("chunkylover53");
- contact.setSenderName("Homer Simpson");
- return contact;
- }
+ public ContactRepresentation retrieve() {
+ ContactRepresentation contact = new ContactRepresentation();
+ contact.setFirstName("Homer");
+ contact.setLastName("Simpson");
+ contact.setLogin("chunkylover53");
+ contact.setSenderName("Homer Simpson");
+ return contact;
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java
index f322ff8186..4c24837def 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,32 +33,32 @@
*/
public class MailServerApplication extends WadlApplication {
- /**
- * Constructor.
- */
- public MailServerApplication() {
- setName("RESTful Mail API application");
- setDescription("Example API for 'Restlet in Action' book");
- setOwner("Restlet S.A.S.");
- setAuthor("The Restlet Team");
- }
+ /**
+ * Constructor.
+ */
+ public MailServerApplication() {
+ setName("RESTful Mail API application");
+ setDescription("Example API for 'Restlet in Action' book");
+ setOwner("Restlet S.A.S.");
+ setAuthor("The Restlet Team");
+ }
- /**
- * Creates a root Router to dispatch call to server resources.
- */
- @Override
- public Restlet createInboundRoot() {
- Router router = new Router(getContext());
- router.attach("/", RootServerResource.class);
- router.attach("/accounts/", AccountsServerResource.class);
- router.attach("/accounts/{accountId}", AccountServerResource.class);
- router.attach("/accounts/{accountId}/mails/", MailsServerResource.class);
- router.attach("/accounts/{accountId}/mails/{mailId}",
- MailServerResource.class);
- router.attach("/accounts/{accountId}/contacts/{contactId}",
- ContactServerResource.class);
+ /**
+ * Creates a root Router to dispatch call to server resources.
+ */
+ @Override
+ public Restlet createInboundRoot() {
+ Router router = new Router(getContext());
+ router.attach("/", RootServerResource.class);
+ router.attach("/accounts/", AccountsServerResource.class);
+ router.attach("/accounts/{accountId}", AccountServerResource.class);
+ router.attach("/accounts/{accountId}/mails/", MailsServerResource.class);
+ router.attach("/accounts/{accountId}/mails/{mailId}",
+ MailServerResource.class);
+ router.attach("/accounts/{accountId}/contacts/{contactId}",
+ ContactServerResource.class);
- return router;
- }
+ return router;
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java
index ce95c62e00..a04e6b6bba 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -41,7 +32,8 @@
/**
* Mail server resource implementing the {@link MailResource} interface.
*/
-public class MailServerResource extends WadlServerResource implements MailResource {
+public class MailServerResource extends WadlServerResource implements
+ MailResource {
public MailRepresentation retrieve() {
MailRepresentation mail = new MailRepresentation();
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java
index a7701b2085..d980940376 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/MailsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -45,26 +36,26 @@
* Mails server resource implementing the {@link MailsResource} interface.
*/
public class MailsServerResource extends WadlServerResource implements
- MailsResource {
+ MailsResource {
- public List retrieve() {
- List mails = new ArrayList();
- MailRepresentation mail = new MailRepresentation();
- mail.setStatus("received");
- mail.setSubject("Message to self");
- mail.setContent("Doh!");
- mail.setAccountRef(new Reference(getReference(), "..").getTargetRef()
- .toString());
- mails.add(mail);
- return mails;
- }
+ public List retrieve() {
+ List mails = new ArrayList();
+ MailRepresentation mail = new MailRepresentation();
+ mail.setStatus("received");
+ mail.setSubject("Message to self");
+ mail.setContent("Doh!");
+ mail.setAccountRef(new Reference(getReference(), "..").getTargetRef()
+ .toString());
+ mails.add(mail);
+ return mails;
+ }
- public void add(MailRepresentation mail) {
- System.out.println("Status: " + mail.getStatus());
- System.out.println("Subject: " + mail.getSubject());
- System.out.println("Content: " + mail.getContent());
- System.out.println("Account URI: " + mail.getAccountRef());
- System.out.println();
- }
+ public void add(MailRepresentation mail) {
+ System.out.println("Status: " + mail.getStatus());
+ System.out.println("Subject: " + mail.getSubject());
+ System.out.println("Content: " + mail.getContent());
+ System.out.println("Account URI: " + mail.getAccountRef());
+ System.out.println();
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java
index a90ada1ffd..8ad1e162e9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch08/gae/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -56,8 +47,7 @@ protected RepresentationInfo describe(MethodInfo methodInfo,
DocumentationInfo doc = new DocumentationInfo();
doc.setTitle("Mail application");
- doc
- .setTextContent("Simple string welcoming the user to the mail application");
+ doc.setTextContent("Simple string welcoming the user to the mail application");
result.getDocumentations().add(doc);
return result;
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java
index 10a5364298..bd40a8c3ff 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java
index 95b8db9fb0..42a60899dd 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -48,7 +39,7 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public AccountRepresentation represent();
+ AccountRepresentation represent();
/**
* Stores the new value for the identified account.
@@ -57,12 +48,12 @@ public interface AccountResource {
* The identified account.
*/
@Put
- public void store(AccountRepresentation account);
+ void store(AccountRepresentation account);
/**
* Deletes the identified account by setting its value to null.
*/
@Delete
- public void remove();
+ void remove();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java
index 7d902c79e4..61ee21164b 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/AccountsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountsResource {
* @return The list of accounts.
*/
@Get
- public String represent();
+ String represent();
/**
* Add the given account to the list and returns its position as an
@@ -58,6 +49,6 @@ public interface AccountsResource {
* @return The account identifier.
*/
@Post
- public String add(AccountRepresentation account);
+ String add(AccountRepresentation account);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java
index d161b94fb4..d27b005791 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -37,85 +28,85 @@
public class ContactRepresentation implements Serializable {
- private static final long serialVersionUID = 1L;
+ private static final long serialVersionUID = 1L;
- private String firstName;
+ private String firstName;
- private String lastName;
+ private String lastName;
- private String email;
+ private String email;
- private String login;
+ private String login;
- private String nickName;
+ private String nickName;
- private String senderName;
+ private String senderName;
- public ContactRepresentation() {
- }
+ public ContactRepresentation() {
+ }
- public ContactRepresentation(String firstName, String lastName,
- String email, String login) {
- this(firstName, lastName, email, login, null, null);
- }
+ public ContactRepresentation(String firstName, String lastName,
+ String email, String login) {
+ this(firstName, lastName, email, login, null, null);
+ }
- public ContactRepresentation(String firstName, String lastName,
- String email, String login, String nickName, String senderName) {
- super();
- this.firstName = firstName;
- this.lastName = lastName;
- this.email = email;
- this.login = login;
- this.nickName = nickName;
- this.senderName = senderName;
- }
+ public ContactRepresentation(String firstName, String lastName,
+ String email, String login, String nickName, String senderName) {
+ super();
+ this.firstName = firstName;
+ this.lastName = lastName;
+ this.email = email;
+ this.login = login;
+ this.nickName = nickName;
+ this.senderName = senderName;
+ }
- public String getEmail() {
- return email;
- }
+ public String getEmail() {
+ return email;
+ }
- public String getFirstName() {
- return firstName;
- }
+ public String getFirstName() {
+ return firstName;
+ }
- public String getLastName() {
- return lastName;
- }
+ public String getLastName() {
+ return lastName;
+ }
- public String getLogin() {
- return login;
- }
+ public String getLogin() {
+ return login;
+ }
- public String getNickName() {
- return nickName;
- }
+ public String getNickName() {
+ return nickName;
+ }
- public String getSenderName() {
- return senderName;
- }
+ public String getSenderName() {
+ return senderName;
+ }
- public void setEmail(String email) {
- this.email = email;
- }
+ public void setEmail(String email) {
+ this.email = email;
+ }
- public void setFirstName(String firstName) {
- this.firstName = firstName;
- }
+ public void setFirstName(String firstName) {
+ this.firstName = firstName;
+ }
- public void setLastName(String lastName) {
- this.lastName = lastName;
- }
+ public void setLastName(String lastName) {
+ this.lastName = lastName;
+ }
- public void setLogin(String login) {
- this.login = login;
- }
+ public void setLogin(String login) {
+ this.login = login;
+ }
- public void setNickName(String nickName) {
- this.nickName = nickName;
- }
+ public void setNickName(String nickName) {
+ this.nickName = nickName;
+ }
- public void setSenderName(String senderName) {
- this.senderName = senderName;
- }
+ public void setSenderName(String senderName) {
+ this.senderName = senderName;
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java
index b164de5c08..add96102da 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -40,7 +31,7 @@
*/
public interface ContactResource {
- @Get
- public ContactRepresentation retrieve();
+ @Get
+ ContactRepresentation retrieve();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java
index e2c5866c2c..9d0e70f925 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/ContactsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -43,10 +34,10 @@
*/
public interface ContactsResource {
- @Get
- public ArrayList retrieve();
+ @Get
+ ArrayList retrieve();
- @Post
- public void add(ContactRepresentation contact);
+ @Post
+ void add(ContactRepresentation contact);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java
index c81a21f687..f27dc2779c 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/FeedRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java
index 5c7de54657..97f1dbf7dd 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -40,46 +31,46 @@
*/
public class MailRepresentation implements Serializable {
- private static final long serialVersionUID = 1L;
+ private static final long serialVersionUID = 1L;
- private String status;
+ private String status;
- private String subject;
+ private String subject;
- private String content;
+ private String content;
- private String accountRef;
+ private String accountRef;
- public String getAccountRef() {
- return accountRef;
- }
+ public String getAccountRef() {
+ return accountRef;
+ }
- public String getContent() {
- return content;
- }
+ public String getContent() {
+ return content;
+ }
- public String getStatus() {
- return status;
- }
+ public String getStatus() {
+ return status;
+ }
- public String getSubject() {
- return subject;
- }
+ public String getSubject() {
+ return subject;
+ }
- public void setAccountRef(String accountRef) {
- this.accountRef = accountRef;
- }
+ public void setAccountRef(String accountRef) {
+ this.accountRef = accountRef;
+ }
- public void setContent(String content) {
- this.content = content;
- }
+ public void setContent(String content) {
+ this.content = content;
+ }
- public void setStatus(String status) {
- this.status = status;
- }
+ public void setStatus(String status) {
+ this.status = status;
+ }
- public void setSubject(String subject) {
- this.subject = subject;
- }
+ public void setSubject(String subject) {
+ this.subject = subject;
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailResource.java
index 187d74da5e..45fdb60885 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,9 +33,9 @@
public interface MailResource {
@Get
- public MailRepresentation retrieve();
+ MailRepresentation retrieve();
@Put
- public void store(MailRepresentation mail);
+ void store(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java
index 8c6ecf89fd..551f622450 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/MailsResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -44,9 +35,9 @@
public interface MailsResource {
@Get
- public List retrieve();
+ List retrieve();
@Post
- public void add(MailRepresentation mail);
+ void add(MailRepresentation mail);
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/RootResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/RootResource.java
index b7c8a768ae..f64a1a4096 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/RootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/RootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,6 +37,6 @@ public interface RootResource {
* @return The root representation.
*/
@Get
- public String represent();
+ String represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java
index 69dd4136f7..68e05ad413 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/common/TagRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java
index 88011dde6b..892544c0c8 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -45,48 +36,48 @@
* Implementation of a mail account resource.
*/
public class AccountServerResource extends WadlServerResource implements
- AccountResource {
+ AccountResource {
- /** The account identifier. */
- private int accountId;
+ /** The account identifier. */
+ private int accountId;
- @Override
- protected RepresentationInfo describe(MethodInfo methodInfo,
- Class> representationClass, Variant variant) {
- RepresentationInfo result = new RepresentationInfo(variant);
- result.setReference("account");
- return result;
- }
+ @Override
+ protected RepresentationInfo describe(MethodInfo methodInfo,
+ Class> representationClass, Variant variant) {
+ RepresentationInfo result = new RepresentationInfo(variant);
+ result.setReference("account");
+ return result;
+ }
- /**
- * Retrieve the account identifier based on the URI path variable
- * "accountId" declared in the URI template attached to the application
- * router.
- */
- @Override
- protected void doInit() throws ResourceException {
- String accountIdAttribute = getAttribute("accountId");
+ /**
+ * Retrieve the account identifier based on the URI path variable
+ * "accountId" declared in the URI template attached to the application
+ * router.
+ */
+ @Override
+ protected void doInit() throws ResourceException {
+ String accountIdAttribute = getAttribute("accountId");
- if (accountIdAttribute != null) {
- this.accountId = Integer.parseInt(accountIdAttribute);
- setName("Resource for mail account \"" + this.accountId + "\"");
- setDescription("The resource describing the mail account number \""
- + this.accountId + "\"");
- } else {
- setName("Mail account resource");
- setDescription("The resource describing a mail account");
- }
- }
+ if (accountIdAttribute != null) {
+ this.accountId = Integer.parseInt(accountIdAttribute);
+ setName("Resource for mail account \"" + this.accountId + "\"");
+ setDescription("The resource describing the mail account number \""
+ + this.accountId + "\"");
+ } else {
+ setName("Mail account resource");
+ setDescription("The resource describing a mail account");
+ }
+ }
- public void remove() {
- AccountsServerResource.getAccounts().remove(this.accountId);
- }
+ public void remove() {
+ AccountsServerResource.getAccounts().remove(this.accountId);
+ }
- public AccountRepresentation represent() {
- return AccountsServerResource.getAccounts().get(this.accountId);
- }
+ public AccountRepresentation represent() {
+ return AccountsServerResource.getAccounts().get(this.accountId);
+ }
- public void store(AccountRepresentation account) {
- AccountsServerResource.getAccounts().set(this.accountId, account);
- }
+ public void store(AccountRepresentation account) {
+ AccountsServerResource.getAccounts().set(this.accountId, account);
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java
index 092bb6e588..fceeb55b1d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/AccountsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java
index 67db60107d..5054f3b75e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -41,16 +32,16 @@
* Contact server resource implementing the {@link ContactResource} interface.
*/
public class ContactServerResource extends WadlServerResource implements
- ContactResource {
+ ContactResource {
- public ContactRepresentation retrieve() {
- ContactRepresentation contact = new ContactRepresentation();
- contact.setFirstName("Homer");
- contact.setLastName("Simpson");
- contact.setEmail("homer@simpson.org");
- contact.setLogin("chunkylover53");
- contact.setSenderName("Homer Simpson");
- return contact;
- }
+ public ContactRepresentation retrieve() {
+ ContactRepresentation contact = new ContactRepresentation();
+ contact.setFirstName("Homer");
+ contact.setLastName("Simpson");
+ contact.setEmail("homer@simpson.org");
+ contact.setLogin("chunkylover53");
+ contact.setSenderName("Homer Simpson");
+ return contact;
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java
index 70b71f40a7..de15769322 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/ContactsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -43,27 +34,28 @@
* Contacts server resource implementing the {@link ContactsResource} interface.
*/
public class ContactsServerResource extends WadlServerResource implements
- ContactsResource {
+ ContactsResource {
- public ArrayList retrieve() {
- ArrayList contacts = new ArrayList();
- ContactRepresentation contact = new ContactRepresentation("Homer",
- "Simpson", "homer@simpson.org", "chunkylover53", null, "Homer Simpson");
- contacts.add(contact);
- contact = new ContactRepresentation("Bartholomew", "Simpson",
- "bart@simpson.org", "jojo10", null, "Bart Simpson");
- contacts.add(contact);
- return contacts;
- }
+ public ArrayList retrieve() {
+ ArrayList contacts = new ArrayList();
+ ContactRepresentation contact = new ContactRepresentation("Homer",
+ "Simpson", "homer@simpson.org", "chunkylover53", null,
+ "Homer Simpson");
+ contacts.add(contact);
+ contact = new ContactRepresentation("Bartholomew", "Simpson",
+ "bart@simpson.org", "jojo10", null, "Bart Simpson");
+ contacts.add(contact);
+ return contacts;
+ }
- public void add(ContactRepresentation contact) {
- System.out.println("Email: " + contact.getEmail());
- System.out.println("First name: " + contact.getFirstName());
- System.out.println("Last name: " + contact.getLastName());
- System.out.println("Login: " + contact.getLogin());
- System.out.println("Nick name: " + contact.getNickName());
- System.out.println("Sender name: " + contact.getSenderName());
- System.out.println();
- }
+ public void add(ContactRepresentation contact) {
+ System.out.println("Email: " + contact.getEmail());
+ System.out.println("First name: " + contact.getFirstName());
+ System.out.println("Last name: " + contact.getLastName());
+ System.out.println("Login: " + contact.getLogin());
+ System.out.println("Nick name: " + contact.getNickName());
+ System.out.println("Sender name: " + contact.getSenderName());
+ System.out.println();
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java
index ef22dcf21c..d9546e365d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -42,30 +33,33 @@
*/
public class MailServerApplication extends WadlApplication {
- /**
- * Constructor.
- */
- public MailServerApplication() {
- setName("RESTful Mail API application");
- setDescription("Example API for 'Restlet in Action' book");
- setOwner("Restlet S.A.S.");
- setAuthor("The Restlet Team");
- }
+ /**
+ * Constructor.
+ */
+ public MailServerApplication() {
+ setName("RESTful Mail API application");
+ setDescription("Example API for 'Restlet in Action' book");
+ setOwner("Restlet S.A.S.");
+ setAuthor("The Restlet Team");
+ }
- /**
- * Creates a root Router to dispatch call to server resources.
- */
- @Override
- public Restlet createInboundRoot() {
- Router router = new Router(getContext());
- router.attach("/", RootServerResource.class);
- router.attach("/accounts/", AccountsServerResource.class);
- router.attach("/accounts/{accountId}", AccountServerResource.class);
- router.attach("/accounts/{accountId}/mails/", MailsServerResource.class);
- router.attach("/accounts/{accountId}/mails/{mailId}", MailServerResource.class);
- router.attach("/accounts/{accountId}/contacts/", ContactsServerResource.class);
- router.attach("/accounts/{accountId}/contacts/{contactId}", ContactServerResource.class);
- return router;
- }
+ /**
+ * Creates a root Router to dispatch call to server resources.
+ */
+ @Override
+ public Restlet createInboundRoot() {
+ Router router = new Router(getContext());
+ router.attach("/", RootServerResource.class);
+ router.attach("/accounts/", AccountsServerResource.class);
+ router.attach("/accounts/{accountId}", AccountServerResource.class);
+ router.attach("/accounts/{accountId}/mails/", MailsServerResource.class);
+ router.attach("/accounts/{accountId}/mails/{mailId}",
+ MailServerResource.class);
+ router.attach("/accounts/{accountId}/contacts/",
+ ContactsServerResource.class);
+ router.attach("/accounts/{accountId}/contacts/{contactId}",
+ ContactServerResource.class);
+ return router;
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java
index c2fcece6bf..1da2692552 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -41,7 +32,8 @@
/**
* Mail server resource implementing the {@link MailResource} interface.
*/
-public class MailServerResource extends WadlServerResource implements MailResource {
+public class MailServerResource extends WadlServerResource implements
+ MailResource {
public MailRepresentation retrieve() {
MailRepresentation mail = new MailRepresentation();
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java
index 2901f189cd..18ea4c42f1 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/MailsServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -45,26 +36,26 @@
* Mails server resource implementing the {@link MailsResource} interface.
*/
public class MailsServerResource extends WadlServerResource implements
- MailsResource {
+ MailsResource {
- public List retrieve() {
- List mails = new ArrayList();
- MailRepresentation mail = new MailRepresentation();
- mail.setStatus("received");
- mail.setSubject("Message to self");
- mail.setContent("Doh!");
- mail.setAccountRef(new Reference(getReference(), "..").getTargetRef()
- .toString());
- mails.add(mail);
- return mails;
- }
+ public List retrieve() {
+ List mails = new ArrayList();
+ MailRepresentation mail = new MailRepresentation();
+ mail.setStatus("received");
+ mail.setSubject("Message to self");
+ mail.setContent("Doh!");
+ mail.setAccountRef(new Reference(getReference(), "..").getTargetRef()
+ .toString());
+ mails.add(mail);
+ return mails;
+ }
- public void add(MailRepresentation mail) {
- System.out.println("Status: " + mail.getStatus());
- System.out.println("Subject: " + mail.getSubject());
- System.out.println("Content: " + mail.getContent());
- System.out.println("Account URI: " + mail.getAccountRef());
- System.out.println();
- }
+ public void add(MailRepresentation mail) {
+ System.out.println("Status: " + mail.getStatus());
+ System.out.println("Subject: " + mail.getSubject());
+ System.out.println("Content: " + mail.getContent());
+ System.out.println("Account URI: " + mail.getAccountRef());
+ System.out.println();
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java
index 678f220f0d..f395cadbec 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch09/server/RootServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -46,30 +37,30 @@
* Root resource implementation.
*/
public class RootServerResource extends WadlServerResource implements
- RootResource {
+ RootResource {
- @Override
- protected RepresentationInfo describe(MethodInfo methodInfo,
- Class> representationClass, Variant variant) {
- RepresentationInfo result = new RepresentationInfo(MediaType.TEXT_PLAIN);
- result.setIdentifier("root");
+ @Override
+ protected RepresentationInfo describe(MethodInfo methodInfo,
+ Class> representationClass, Variant variant) {
+ RepresentationInfo result = new RepresentationInfo(MediaType.TEXT_PLAIN);
+ result.setIdentifier("root");
- DocumentationInfo doc = new DocumentationInfo();
- doc.setTitle("Mail application");
- doc.setTextContent("Simple string welcoming the user to the mail application");
- result.getDocumentations().add(doc);
- return result;
- }
+ DocumentationInfo doc = new DocumentationInfo();
+ doc.setTitle("Mail application");
+ doc.setTextContent("Simple string welcoming the user to the mail application");
+ result.getDocumentations().add(doc);
+ return result;
+ }
- @Override
- protected void doInit() throws ResourceException {
- setAutoDescribing(false);
- setName("Root resource");
- setDescription("The root resource of the mail server application");
- }
+ @Override
+ protected void doInit() throws ResourceException {
+ setAutoDescribing(false);
+ setName("Root resource");
+ setDescription("The root resource of the mail server application");
+ }
- public String represent() {
- return "Welcome to the " + getApplication().getName() + " !";
- }
+ public String represent() {
+ return "Welcome to the " + getApplication().getName() + " !";
+ }
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec2/FoafExample.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec2/FoafExample.java
index 5b8d96c41f..0bc66ef7bb 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec2/FoafExample.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec2/FoafExample.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -55,14 +46,14 @@ public static void main(String[] args) throws IOException {
// Linked Simpson resources
Reference homerRef = new Reference(
- "http://www.rmep.org/accounts/chunkylover53/");
+ "http://www.rmep.org/accounts/chunkylover53/");
Reference margeRef = new Reference(
- "http://www.rmep.org/accounts/bretzels34/");
+ "http://www.rmep.org/accounts/bretzels34/");
Reference bartRef = new Reference(
- "http://www.rmep.org/accounts/jojo10/");
+ "http://www.rmep.org/accounts/jojo10/");
Reference lisaRef = new Reference(
- "http://www.rmep.org/accounts/lisa1984/");
-
+ "http://www.rmep.org/accounts/lisa1984/");
+
// Example RDF graph
Graph example = new Graph();
example.add(homerRef, firstName, new Literal("Homer"));
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/FoafConstants.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/FoafConstants.java
index 1aac0d1161..7355a85a8d 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/FoafConstants.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/FoafConstants.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountRepresentation.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountRepresentation.java
index e6bdf820b3..80e2bd5dc6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountRepresentation.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountRepresentation.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountResource.java
index a1425097b5..8a847144a9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/api/AccountResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -47,7 +38,7 @@ public interface AccountResource {
* @return The FOAF profile as a RDF graph.
*/
@Get("rdf")
- public Graph getFoafProfile();
+ Graph getFoafProfile();
/**
* Represents the account as a simple string with the owner name for now.
@@ -55,6 +46,6 @@ public interface AccountResource {
* @return The account representation.
*/
@Get
- public AccountRepresentation represent();
+ AccountRepresentation represent();
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/client/FoafBrowser.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/client/FoafBrowser.java
index 8956ae5ab9..082be7244f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/client/FoafBrowser.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/client/FoafBrowser.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Account.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Account.java
index 66d8701826..d95ca7de46 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Account.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Account.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Contact.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Contact.java
index b5f1a081cc..7e83b75292 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Contact.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/model/Contact.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/AccountServerResource.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/AccountServerResource.java
index febdfcd568..feabd0270e 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/AccountServerResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/AccountServerResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerApplication.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerApplication.java
index 26d5535dce..6f94207d78 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerComponent.java b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerComponent.java
index 3b4e5d79cb..e14074cb75 100644
--- a/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerComponent.java
+++ b/modules/org.restlet.example/src/org/restlet/example/book/restlet/ch10/sec3/server/MailServerComponent.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/fileupload/FileUploadApplication.java b/modules/org.restlet.example/src/org/restlet/example/ext/fileupload/FileUploadApplication.java
new file mode 100644
index 0000000000..46bd92058c
--- /dev/null
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/fileupload/FileUploadApplication.java
@@ -0,0 +1,51 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
+package org.restlet.example.ext.fileupload;
+
+import org.restlet.Application;
+import org.restlet.Component;
+import org.restlet.Restlet;
+import org.restlet.data.Protocol;
+import org.restlet.routing.Router;
+
+public class FileUploadApplication extends Application {
+
+ public static void main(String[] args) throws Exception {
+ Component c = new Component();
+ c.getServers().add(Protocol.HTTP, 8182);
+ c.getDefaultHost().attach(new FileUploadApplication());
+
+ c.start();
+ }
+
+ @Override
+ public Restlet createInboundRoot() {
+ Router router = new Router(getContext());
+
+ router.attach("/upload", FileUploadServerResource.class);
+ return router;
+ }
+
+}
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/fileupload/FileUploadServerResource.java b/modules/org.restlet.example/src/org/restlet/example/ext/fileupload/FileUploadServerResource.java
new file mode 100644
index 0000000000..757b0354af
--- /dev/null
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/fileupload/FileUploadServerResource.java
@@ -0,0 +1,96 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
+package org.restlet.example.ext.fileupload;
+
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
+
+import org.apache.commons.fileupload.FileItemIterator;
+import org.apache.commons.fileupload.FileItemStream;
+import org.apache.commons.fileupload.disk.DiskFileItemFactory;
+import org.restlet.data.MediaType;
+import org.restlet.data.Status;
+import org.restlet.ext.fileupload.RestletFileUpload;
+import org.restlet.representation.Representation;
+import org.restlet.representation.StringRepresentation;
+import org.restlet.resource.Post;
+import org.restlet.resource.ServerResource;
+
+public class FileUploadServerResource extends ServerResource {
+
+ @Post
+ public Representation accept(Representation entity) throws Exception {
+ Representation result = null;
+ if (entity != null
+ && MediaType.MULTIPART_FORM_DATA.equals(entity.getMediaType(),
+ true)) {
+ // 1/ Create a factory for disk-based file items
+ DiskFileItemFactory factory = new DiskFileItemFactory();
+ factory.setSizeThreshold(1000240);
+
+ // 2/ Create a new file upload handler based on the Restlet
+ // FileUpload extension that will parse Restlet requests and
+ // generates FileItems.
+ RestletFileUpload upload = new RestletFileUpload(factory);
+
+ // 3/ Request is parsed by the handler which generates a
+ // list of FileItems
+ FileItemIterator fileIterator = upload.getItemIterator(entity);
+
+ // Process only the uploaded item called "fileToUpload"
+ // and return back
+ boolean found = false;
+ while (fileIterator.hasNext() && !found) {
+ FileItemStream fi = fileIterator.next();
+
+ if (fi.getFieldName().equals("fileToUpload")) {
+ // For the matter of sample code, it filters the multo
+ // part form according to the field name.
+ found = true;
+ // consume the stream immediately, otherwise the stream
+ // will be closed.
+ StringBuilder sb = new StringBuilder("media type: ");
+ sb.append(fi.getContentType()).append("\n");
+ sb.append("file name : ");
+ sb.append(fi.getName()).append("\n");
+ BufferedReader br = new BufferedReader(new InputStreamReader(fi.openStream()));
+ String line = null;
+ while ((line = br.readLine()) != null) {
+ sb.append(line);
+ }
+ sb.append("\n");
+ result = new StringRepresentation(sb.toString(),
+ MediaType.TEXT_PLAIN);
+ }
+ }
+ } else {
+ // POST request with no entity.
+ setStatus(Status.CLIENT_ERROR_BAD_REQUEST);
+ }
+
+ return result;
+ }
+
+}
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/guice/HelloWorld.java b/modules/org.restlet.example/src/org/restlet/example/ext/guice/HelloWorld.java
index 549cab1f0a..58ed353bbd 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/guice/HelloWorld.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/guice/HelloWorld.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.ext.guice;
import static java.lang.annotation.ElementType.FIELD;
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/guice/Main.java b/modules/org.restlet.example/src/org/restlet/example/ext/guice/Main.java
index aaa106dc89..76e06ace3f 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/guice/Main.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/guice/Main.java
@@ -1,3 +1,27 @@
+/**
+ * Copyright 2005-2014 Restlet
+ *
+ * The contents of this file are subject to the terms of one of the following
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
+ *
+ * You can obtain a copy of the Apache 2.0 license at
+ * http://www.opensource.org/licenses/apache-2.0
+ *
+ * You can obtain a copy of the EPL 1.0 license at
+ * http://www.opensource.org/licenses/eclipse-1.0
+ *
+ * See the Licenses for the specific language governing permissions and
+ * limitations under the Licenses.
+ *
+ * Alternatively, you can obtain a royalty free commercial license with less
+ * limitations, transferable or non-transferable, directly at
+ * http://restlet.com/products/restlet-framework
+ *
+ * Restlet is a registered trademark of Restlet S.A.S.
+ */
+
package org.restlet.example.ext.guice;
import static com.google.inject.name.Names.named;
@@ -36,7 +60,8 @@ public static class DefaultResource extends ServerResource {
private final String path;
@Inject
- DefaultResource(@Named(PATH_QUALIFIER) String path) {
+ DefaultResource(@Named(PATH_QUALIFIER)
+ String path) {
this.path = path;
}
@@ -54,7 +79,8 @@ public static class HelloServerResource extends ServerResource {
private final String msg;
@Inject
- public HelloServerResource(@Named(MSG_QUALIFIER) String msg) {
+ public HelloServerResource(@Named(MSG_QUALIFIER)
+ String msg) {
this.msg = msg;
}
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/EasyRootResource.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/EasyRootResource.java
index 19066876f6..43bdafd3b1 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/EasyRootResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/EasyRootResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleApplication.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleApplication.java
index b47baec07e..b7c32c0ad9 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleApplication.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleApplication.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleServer.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleServer.java
index b537518dcf..df3cfdeef6 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleServer.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/ExampleServer.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/AbstractEmployee.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/AbstractEmployee.java
index 4e2a871f18..8f859a7a72 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/AbstractEmployee.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/AbstractEmployee.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/Employee.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/Employee.java
index 02859abf15..8019815042 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/Employee.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/Employee.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeList.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeList.java
index 5ada9e5bab..5139960a72 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeList.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeList.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeMgr.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeMgr.java
index d14ea623b6..48c02205b5 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeMgr.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeMgr.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
diff --git a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeResource.java b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeResource.java
index c4b2172225..4ec17e6275 100644
--- a/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeResource.java
+++ b/modules/org.restlet.example/src/org/restlet/example/ext/jaxrs/employees/EmployeeResource.java
@@ -2,22 +2,13 @@
* Copyright 2005-2014 Restlet
*
* The contents of this file are subject to the terms of one of the following
- * open source licenses: Apache 2.0 or LGPL 3.0 or LGPL 2.1 or CDDL 1.0 or EPL
- * 1.0 (the "Licenses"). You can select the license that you prefer but you may
- * not use this file except in compliance with one of these Licenses.
+ * open source licenses: Apache 2.0 or or EPL 1.0 (the "Licenses"). You can
+ * select the license that you prefer but you may not use this file except in
+ * compliance with one of these Licenses.
*
* You can obtain a copy of the Apache 2.0 license at
* http://www.opensource.org/licenses/apache-2.0
*
- * You can obtain a copy of the LGPL 3.0 license at
- * http://www.opensource.org/licenses/lgpl-3.0
- *
- * You can obtain a copy of the LGPL 2.1 license at
- * http://www.opensource.org/licenses/lgpl-2.1
- *
- * You can obtain a copy of the CDDL 1.0 license at
- * http://www.opensource.org/licenses/cddl1
- *
* You can obtain a copy of the EPL 1.0 license at
* http://www.opensource.org/licenses/eclipse-1.0
*
@@ -82,8 +73,9 @@ private static URI createEmployeesUri(final UriInfo uriInfo) {
}
@DELETE
- public Object delete(@Context HttpHeaders httpHeaders,
- @Context UriInfo uriInfo) {
+ public Object delete(@Context
+ HttpHeaders httpHeaders, @Context
+ UriInfo uriInfo) {
this.employeeMgr.remove(this.staffNo);
if (httpHeaders.getAcceptableMediaTypes().contains(
MediaType.TEXT_HTML_TYPE)) {
@@ -93,8 +85,9 @@ public Object delete(@Context HttpHeaders httpHeaders,
}
@GET
- @Consumes( { "application/xml", "text/xml", "application/json" })
- public Employee get(@Context UriInfo uriInfo) {
+ @Consumes({ "application/xml", "text/xml", "application/json" })
+ public Employee get(@Context
+ UriInfo uriInfo) {
// load employee with requested id
final Employee employee = this.employeeMgr.getFull(this.staffNo);
@@ -109,7 +102,8 @@ public Employee get(@Context UriInfo uriInfo) {
@GET
@Produces("text/html")
- public StreamingOutput getHtml(@Context final UriInfo uriInfo) {
+ public StreamingOutput getHtml(@Context
+ final UriInfo uriInfo) {
final Employee employee = get(uriInfo);
final URI employeesUri = createEmployeesUri(uriInfo);
return new StreamingOutput() {
@@ -150,8 +144,7 @@ public void write(OutputStream output) throws IOException {
ps.print("");
ps.print(" employeeData) {
}
@GET
- @Produces( { "application/xml", "text/xml", "application/json" })
+ @Produces({ "application/xml", "text/xml", "application/json" })
public EmployeeList getEmployees() {
final EmployeeList employees = this.employeeMgr.getAll();
// set detail URIs
@@ -143,23 +134,19 @@ public void write(OutputStream output) throws IOException {
ps.println("\" method=\"POST\">");
ps.println("