# Index

C D E F G H I J L O P R S T V W X
All Classes and Interfaces|All Packages|Constant Field Values

## C

collectResources() - Method in class org.apache.sling.servlets.get.impl.util.ResourceTraversor
  Recursive descent from startResource, collecting JSONObjects into startObject.
create() - Method in class org.apache.sling.servlets.get.impl.util.JsonObjectCreator
  Create the object builder

## D

DEFAULT_CHILD_NAME_KEY - Static variable in class org.apache.sling.servlets.get.impl.util.JsonToText.Options
DEFAULT_CHILDREN_KEY - Static variable in class org.apache.sling.servlets.get.impl.util.JsonToText.Options
dump(PrintWriter, Resource, Map<String, Object>) - Method in class org.apache.sling.servlets.get.impl.helpers.PlainTextRenderer
  Dumps the information about the provided resource to a `PrintWriter`.

## E

end - Variable in class org.apache.sling.servlets.get.impl.helpers.StreamRenderer.Range

## F

formatEcma(Calendar) - Static method in class org.apache.sling.servlets.get.impl.util.JsonObjectCreator
  Helper method to format a calendar

## G

getJSONObject() - Method in class org.apache.sling.servlets.get.impl.util.ResourceTraversor
getMaxRecursionLevel(SlingJakartaHttpServletRequest) - Method in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
  Get recursion level from selectors.
getOutputStream() - Method in class org.apache.sling.servlets.get.impl.helpers.HeadServletResponse
getWriter() - Method in class org.apache.sling.servlets.get.impl.helpers.HeadServletResponse

## H

HARRAY - Static variable in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
  Selector that causes hierarchy to be rendered as arrays instead of child objects - useful to preserve the order of those child objects
hasSelector(SlingJakartaHttpServletRequest, String) - Method in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
  Checks if the provided request contains a certain selector.
HeadServletResponse - Class in org.apache.sling.servlets.get.impl.helpers
  The `HeadServletResponse` is a Sling response wrapper which ensures that nothing will ever be written by return null writers or output streams.
HeadServletResponse(SlingJakartaHttpServletResponse) - Constructor for class org.apache.sling.servlets.get.impl.helpers.HeadServletResponse
HtmlRenderer - Class in org.apache.sling.servlets.get.impl.helpers
  The `HtmlRendererServlet` renders the current resource in HTML on behalf of the `DefaultGetServlet`.
HtmlRenderer() - Constructor for class org.apache.sling.servlets.get.impl.helpers.HtmlRenderer

## I

INDENT_SPACES - Static variable in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
  How much to indent in tidy mode
INFINITY - Static variable in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
  Recursion level selector that means "all levels"
INSTANCE - Static variable in class org.apache.sling.servlets.get.impl.helpers.HtmlRenderer
isTidy(SlingJakartaHttpServletRequest) - Method in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
  True if our request wants the "tidy" pretty-printed format

## J

JsonObjectCreator - Class in org.apache.sling.servlets.get.impl.util
JsonObjectCreator(Resource, boolean) - Constructor for class org.apache.sling.servlets.get.impl.util.JsonObjectCreator
  Create a new json object creator
JsonRenderer - Class in org.apache.sling.servlets.get.impl.helpers
  The `JsonRendererServlet` renders the current resource in JSON on behalf of the `DefaultGetServlet`.
JsonRenderer(long, boolean) - Constructor for class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
JsonToText - Class in org.apache.sling.servlets.get.impl.util
JsonToText() - Constructor for class org.apache.sling.servlets.get.impl.util.JsonToText
JsonToText.Options - Class in org.apache.sling.servlets.get.impl.util
  Rendering options

## L

length - Variable in class org.apache.sling.servlets.get.impl.helpers.StreamRenderer.Range

## O

options() - Method in class org.apache.sling.servlets.get.impl.util.JsonToText
  Return an Options object with default values
org.apache.sling.servlets.get.impl.helpers - package org.apache.sling.servlets.get.impl.helpers
org.apache.sling.servlets.get.impl.util - package org.apache.sling.servlets.get.impl.util

## P

PlainTextRenderer - Class in org.apache.sling.servlets.get.impl.helpers
  The `PlainTextRendererServlet` renders the current resource in plain text on behalf of the `DefaultGetServlet`.
PlainTextRenderer() - Constructor for class org.apache.sling.servlets.get.impl.helpers.PlainTextRenderer
prettyPrint(JsonArray, JsonToText.Options) - Method in class org.apache.sling.servlets.get.impl.util.JsonToText
  Pretty-print a JSONArray
prettyPrint(JsonObject, JsonToText.Options) - Method in class org.apache.sling.servlets.get.impl.util.JsonToText
  Make a prettyprinted JSON text of this JSONObject.
printPropertyValue(PrintWriter, String, Object, boolean) - Method in class org.apache.sling.servlets.get.impl.helpers.PlainTextRenderer

## R

Range() - Constructor for class org.apache.sling.servlets.get.impl.helpers.StreamRenderer.Range
render(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.servlets.get.impl.helpers.HtmlRenderer
render(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
render(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.servlets.get.impl.helpers.PlainTextRenderer
render(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in interface org.apache.sling.servlets.get.impl.helpers.Renderer
render(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.servlets.get.impl.helpers.StreamRenderer
render(SlingJakartaHttpServletRequest, SlingJakartaHttpServletResponse) - Method in class org.apache.sling.servlets.get.impl.helpers.XMLRenderer
Renderer - Interface in org.apache.sling.servlets.get.impl.helpers
ResourceTraversor - Class in org.apache.sling.servlets.get.impl.util
ResourceTraversor(int, long, Resource, boolean) - Constructor for class org.apache.sling.servlets.get.impl.util.ResourceTraversor
  Create a ResourceTraversor, optionally limiting recursion and total number of resources

## S

start - Variable in class org.apache.sling.servlets.get.impl.helpers.StreamRenderer.Range
StreamRenderer - Class in org.apache.sling.servlets.get.impl.helpers
  The `StreamRendererServlet` streams the current resource to the client on behalf of the `DefaultGetServlet`.
StreamRenderer(boolean, String[], ServletContext) - Constructor for class org.apache.sling.servlets.get.impl.helpers.StreamRenderer
StreamRenderer.Range - Class in org.apache.sling.servlets.get.impl.helpers

## T

TIDY - Static variable in class org.apache.sling.servlets.get.impl.helpers.JsonRenderer
  Selector that means "pretty-print the output

## V

validate() - Method in class org.apache.sling.servlets.get.impl.helpers.StreamRenderer.Range
  Validate range.

## W

withArraysForChildren(boolean) - Method in class org.apache.sling.servlets.get.impl.util.JsonToText.Options
withChildNameKey(String) - Method in class org.apache.sling.servlets.get.impl.util.JsonToText.Options
withChildrenKey(String) - Method in class org.apache.sling.servlets.get.impl.util.JsonToText.Options
withIndent(int) - Method in class org.apache.sling.servlets.get.impl.util.JsonToText.Options
withInitialIndent(int) - Method in class org.apache.sling.servlets.get.impl.util.JsonToText.Options

## X

XMLRenderer - Class in org.apache.sling.servlets.get.impl.helpers
  The `XMLRendererServlet` renders the current resource in XML on behalf of the `DefaultGetServlet`.
XMLRenderer() - Constructor for class org.apache.sling.servlets.get.impl.helpers.XMLRenderer

C D E F G H I J L O P R S T V W X
All Classes and Interfaces|All Packages|Constant Field Values