You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (JIRA)" <ji...@apache.org> on 2014/06/14 06:01:02 UTC
[jira] [Commented] (SLING-3485) Expose JSON Servlet Helpers
[ https://issues.apache.org/jira/browse/SLING-3485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031441#comment-14031441 ]
Dan Klco commented on SLING-3485:
---------------------------------
The patch has been committed. Please let me know what else to change/improve.
Thanks,
Dan
> Expose JSON Servlet Helpers
> ---------------------------
>
> Key: SLING-3485
> URL: https://issues.apache.org/jira/browse/SLING-3485
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Get 2.1.8
> Reporter: Dan Klco
> Assignee: Dan Klco
> Priority: Minor
> Labels: easyfix, patch
> Attachments: SLING-3485.diff
>
>
> Right now the following classes which are used for the JsonRendererServletare not exported from the bundle. From a developer's perspective, I may want to use these classes to remix the Resource -> JSON functionality without having to re-write the code.
> - https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/JsonObjectCreator.java
> - https://svn.apache.org/repos/asf/sling/trunk/bundles/servlets/get/src/main/java/org/apache/sling/servlets/get/impl/helpers/ResourceTraversor.java
> I propose we refactor these classes to be in the package org.apache.sling.servlets.get.helpers which will expose them to the OSGi Container.
--
This message was sent by Atlassian JIRA
(v6.2#6252)