comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/RestApp.java @ 264:fa0d9acea897

flys/issue65: Added Jetty HTTP server as a replacement option to foster better scalability. Needs testing. artifacts/trunk@1975 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 22 May 2011 12:40:32 +0000
parents 7e20702a90ed
children 733e76413bf8
comparison
equal deleted inserted replaced
263:c0fb96f88ad1 264:fa0d9acea897
35 35
36 /** 36 /**
37 * Default constructor 37 * Default constructor
38 */ 38 */
39 public RestApp() { 39 public RestApp() {
40 }
41
42 public RestApp(Context context, ArtifactDatabase database) {
43 super(context);
44 this.database = database;
40 } 45 }
41 46
42 /** 47 /**
43 * Constructor to create REST appliction bound to a specific 48 * Constructor to create REST appliction bound to a specific
44 * artifact database. 49 * artifact database.

http://dive4elements.wald.intevation.org