You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2011/06/22 00:35:41 UTC

svn commit: r1138225 - /incubator/isis/trunk/viewer/restful/applib/src/main/java/org/apache/isis/viewer/restful/applib/resources/BootstrapResource.java

Author: danhaywood
Date: Tue Jun 21 22:35:41 2011
New Revision: 1138225

URL: http://svn.apache.org/viewvc?rev=1138225&view=rev
Log:
viewer2 updates to restful applib

Added:
    incubator/isis/trunk/viewer/restful/applib/src/main/java/org/apache/isis/viewer/restful/applib/resources/BootstrapResource.java

Added: incubator/isis/trunk/viewer/restful/applib/src/main/java/org/apache/isis/viewer/restful/applib/resources/BootstrapResource.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/viewer/restful/applib/src/main/java/org/apache/isis/viewer/restful/applib/resources/BootstrapResource.java?rev=1138225&view=auto
==============================================================================
--- incubator/isis/trunk/viewer/restful/applib/src/main/java/org/apache/isis/viewer/restful/applib/resources/BootstrapResource.java (added)
+++ incubator/isis/trunk/viewer/restful/applib/src/main/java/org/apache/isis/viewer/restful/applib/resources/BootstrapResource.java Tue Jun 21 22:35:41 2011
@@ -0,0 +1,31 @@
+/*
+ *  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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.
+ */
+package org.apache.isis.viewer.restful.applib.resources;
+
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+
+public interface BootstrapResource {
+
+    @GET
+    @Produces({ "text/html" })
+    public String bootstrap();
+
+}
\ No newline at end of file