jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dpfis...@apache.org
Subject svn commit: r1167268 - in /jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server: MicroKernelServlet.java Request.java Response.java Servlet.java
Date Fri, 09 Sep 2011 16:06:33 GMT
Author: dpfister
Date: Fri Sep  9 16:06:32 2011
New Revision: 1167268

URL: http://svn.apache.org/viewvc?rev=1167268&view=rev
Log:
HTTP interface to microkernel
- added some docs

Modified:
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Request.java
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Response.java
    jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Servlet.java

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java?rev=1167268&r1=1167267&r2=1167268&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/MicroKernelServlet.java
Fri Sep  9 16:06:32 2011
@@ -1,3 +1,19 @@
+/*
+ * 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.jackrabbit.mk.server;
 
 import java.io.IOException;
@@ -9,6 +25,9 @@ import java.util.concurrent.atomic.Atomi
 import org.apache.jackrabbit.mk.api.MicroKernel;
 import org.apache.jackrabbit.mk.api.MicroKernelException;
 
+/**
+ * Servlet handling requests directed at a <code>MicroKernel</code> instance.

+ */
 class MicroKernelServlet implements Servlet {
     
     private final AtomicReference<MicroKernel> mkref;

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Request.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Request.java?rev=1167268&r1=1167267&r2=1167268&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Request.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Request.java
Fri Sep  9 16:06:32 2011
@@ -26,6 +26,9 @@ import java.util.Map;
 
 import org.apache.jackrabbit.mk.util.IOUtils;
 
+/**
+ * HTTP Request implementation.
+ */
 class Request {
 
     private InputStream in;

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Response.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Response.java?rev=1167268&r1=1167267&r2=1167268&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Response.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Response.java
Fri Sep  9 16:06:32 2011
@@ -22,6 +22,9 @@ import java.util.HashMap;
 
 import org.apache.jackrabbit.mk.util.IOUtils;
 
+/**
+ * HTTP Response implementation.
+ */
 class Response {
     
     private OutputStream out;

Modified: jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Servlet.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Servlet.java?rev=1167268&r1=1167267&r2=1167268&view=diff
==============================================================================
--- jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Servlet.java
(original)
+++ jackrabbit/sandbox/microkernel/src/main/java/org/apache/jackrabbit/mk/server/Servlet.java
Fri Sep  9 16:06:32 2011
@@ -18,6 +18,9 @@ package org.apache.jackrabbit.mk.server;
 
 import java.io.IOException;
 
+/**
+ * Servlet interface handling HTTP requests.
+ */
 interface Servlet {
 
     public void service(Request request, Response response) throws IOException;



Mime
View raw message