Restlet offers a Restlet -> Servlet adapter with the org.restlet.ext.servlet.ServerServlet
class. You should bind this to the desired path, and let it know the name of your Application
like this:
serve("/api/*").with(ServerServlet.class);
getServletContext().setAttribute(
"org.restlet.application", "com.you.MyApplication");
Where com.you.MyApplication
should be replaced with your actual implementation of the org.restlet.Application
class.