incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r586013 - in /incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling: api/ helpers/ helpers/constants/ helpers/exceptions/ helpers/servlets/ scripting/helpers/ servlet/ slingservlets/
Date Thu, 18 Oct 2007 15:52:12 GMT
Author: bdelacretaz
Date: Thu Oct 18 08:52:10 2007
New Revision: 586013

URL: http://svn.apache.org/viewvc?rev=586013&view=rev
Log:
SLING-59 : refactor microsling.helpers package to make things (even more) obvious

Added:
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/constants/
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/constants/HttpConstants.java
      - copied, changed from r586011, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/HttpConstants.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/exceptions/
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/exceptions/MissingRequestAttributeException.java
      - copied, changed from r586011, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/MissingRequestAttributeException.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/servlets/
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/servlets/AbstractSlingServlet.java
      - copied, changed from r586011, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/AbstractSlingServlet.java
Removed:
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/AbstractSlingServlet.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/HttpConstants.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/MissingRequestAttributeException.java
Modified:
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingRequestContext.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/FileNodeRequestAttribute.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/ScriptFilenameBuilder.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/servlet/MicroSlingServlet.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/DefaultSlingServlet.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/RhinoJavascriptServlet.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/SlingPostServlet.java
    incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/VelocityTemplatesServlet.java

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingRequestContext.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingRequestContext.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingRequestContext.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/api/SlingRequestContext.java
Thu Oct 18 08:52:10 2007
@@ -20,7 +20,7 @@
 import javax.jcr.Session;
 import javax.servlet.http.HttpServletRequest;
 
-import org.apache.sling.microsling.helpers.MissingRequestAttributeException;
+import org.apache.sling.microsling.helpers.exceptions.MissingRequestAttributeException;
 
 /** Provides Sling-specific information about the current Request.
  *  An object implementing this interface must be stored as a 

Copied: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/constants/HttpConstants.java
(from r586011, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/HttpConstants.java)
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/constants/HttpConstants.java?p2=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/constants/HttpConstants.java&p1=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/HttpConstants.java&r1=586011&r2=586013&rev=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/HttpConstants.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/constants/HttpConstants.java
Thu Oct 18 08:52:10 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.microsling.helpers;
+package org.apache.sling.microsling.helpers.constants;
 
 /** HTTP-related constants */
 public interface HttpConstants {

Copied: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/exceptions/MissingRequestAttributeException.java
(from r586011, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/MissingRequestAttributeException.java)
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/exceptions/MissingRequestAttributeException.java?p2=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/exceptions/MissingRequestAttributeException.java&p1=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/MissingRequestAttributeException.java&r1=586011&r2=586013&rev=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/MissingRequestAttributeException.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/exceptions/MissingRequestAttributeException.java
Thu Oct 18 08:52:10 2007
@@ -1,4 +1,4 @@
-package org.apache.sling.microsling.helpers;
+package org.apache.sling.microsling.helpers.exceptions;
 
 import org.apache.sling.microsling.api.exceptions.SlingException;
 

Copied: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/servlets/AbstractSlingServlet.java
(from r586011, incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/AbstractSlingServlet.java)
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/servlets/AbstractSlingServlet.java?p2=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/servlets/AbstractSlingServlet.java&p1=incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/AbstractSlingServlet.java&r1=586011&r2=586013&rev=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/AbstractSlingServlet.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/helpers/servlets/AbstractSlingServlet.java
Thu Oct 18 08:52:10 2007
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.apache.sling.microsling.helpers;
+package org.apache.sling.microsling.helpers.servlets;
 
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/FileNodeRequestAttribute.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/FileNodeRequestAttribute.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/FileNodeRequestAttribute.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/FileNodeRequestAttribute.java
Thu Oct 18 08:52:10 2007
@@ -24,7 +24,7 @@
 import javax.jcr.RepositoryException;
 import javax.servlet.http.HttpServletRequest;
 
-import org.apache.sling.microsling.helpers.MissingRequestAttributeException;
+import org.apache.sling.microsling.helpers.exceptions.MissingRequestAttributeException;
 
 /** Stores an nt:file Node in a request attribute,
  *  and allows the file's inputStream or reader to

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/ScriptFilenameBuilder.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/ScriptFilenameBuilder.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/ScriptFilenameBuilder.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/scripting/helpers/ScriptFilenameBuilder.java
Thu Oct 18 08:52:10 2007
@@ -18,7 +18,7 @@
  */
 package org.apache.sling.microsling.scripting.helpers;
 
-import org.apache.sling.microsling.helpers.HttpConstants;
+import org.apache.sling.microsling.helpers.constants.HttpConstants;
 
 /** Builds the names of script files based on the current input:
  *  <ul>

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/servlet/MicroSlingServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/servlet/MicroSlingServlet.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/servlet/MicroSlingServlet.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/servlet/MicroSlingServlet.java
Thu Oct 18 08:52:10 2007
@@ -33,7 +33,7 @@
 import org.apache.sling.microsling.api.SlingServlet;
 import org.apache.sling.microsling.api.exceptions.HttpStatusCodeException;
 import org.apache.sling.microsling.contenttype.ResponseContentTypeResolverFilter;
-import org.apache.sling.microsling.helpers.HttpConstants;
+import org.apache.sling.microsling.helpers.constants.HttpConstants;
 import org.apache.sling.microsling.request.MicroslingRequestContext;
 import org.apache.sling.microsling.slingservlets.DefaultSlingServlet;
 import org.apache.sling.microsling.slingservlets.RhinoJavascriptServlet;

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/DefaultSlingServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/DefaultSlingServlet.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/DefaultSlingServlet.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/DefaultSlingServlet.java
Thu Oct 18 08:52:10 2007
@@ -30,7 +30,7 @@
 
 import org.apache.sling.microsling.api.SlingRequestContext;
 import org.apache.sling.microsling.api.exceptions.HttpStatusCodeException;
-import org.apache.sling.microsling.helpers.AbstractSlingServlet;
+import org.apache.sling.microsling.helpers.servlets.AbstractSlingServlet;
 
 /**
  * The default SlingServlet, used if no other SlingServlet wants to process the

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/RhinoJavascriptServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/RhinoJavascriptServlet.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/RhinoJavascriptServlet.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/RhinoJavascriptServlet.java
Thu Oct 18 08:52:10 2007
@@ -27,7 +27,7 @@
 import javax.servlet.http.HttpServletResponse;
 
 import org.apache.sling.microsling.api.SlingRequestContext;
-import org.apache.sling.microsling.helpers.AbstractSlingServlet;
+import org.apache.sling.microsling.helpers.servlets.AbstractSlingServlet;
 import org.apache.sling.microsling.scripting.SlingScriptResolver;
 import org.apache.sling.microsling.scripting.helpers.EspReader;
 import org.apache.sling.microsling.scripting.helpers.FileNodeRequestAttribute;

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/SlingPostServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/SlingPostServlet.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/SlingPostServlet.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/SlingPostServlet.java
Thu Oct 18 08:52:10 2007
@@ -25,7 +25,7 @@
 import javax.servlet.http.HttpServletResponse;
 
 import org.apache.sling.microsling.api.SlingRequestContext;
-import org.apache.sling.microsling.helpers.AbstractSlingServlet;
+import org.apache.sling.microsling.helpers.servlets.AbstractSlingServlet;
 
 /** Handle POST to create nodes easily over HTTP.
  */

Modified: incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/VelocityTemplatesServlet.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/VelocityTemplatesServlet.java?rev=586013&r1=586012&r2=586013&view=diff
==============================================================================
--- incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/VelocityTemplatesServlet.java
(original)
+++ incubator/sling/whiteboard/microsling/src/main/java/org/apache/sling/microsling/slingservlets/VelocityTemplatesServlet.java
Thu Oct 18 08:52:10 2007
@@ -26,8 +26,8 @@
 
 import org.apache.sling.microsling.api.Resource;
 import org.apache.sling.microsling.api.SlingRequestContext;
-import org.apache.sling.microsling.helpers.AbstractSlingServlet;
-import org.apache.sling.microsling.helpers.HttpConstants;
+import org.apache.sling.microsling.helpers.constants.HttpConstants;
+import org.apache.sling.microsling.helpers.servlets.AbstractSlingServlet;
 import org.apache.sling.microsling.scripting.SlingScriptResolver;
 import org.apache.sling.microsling.scripting.helpers.FileNodeRequestAttribute;
 import org.apache.velocity.VelocityContext;



Mime
View raw message