public final class Builders
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull SlingHttpServletRequestBuilder |
newRequestBuilder(@NotNull Resource resource)
Creates a new request builder.
|
static @NotNull RequestParameter |
newRequestParameter(java.lang.String name,
java.lang.String value)
Creates a new request parameter
|
static @NotNull RequestParameter |
newRequestParameter(java.lang.String name,
java.lang.String value,
java.nio.charset.Charset encoding)
Creates a new request parameter
|
static @NotNull RequestProgressTracker |
newRequestProgressTracker()
Creates a new request progress tracker
|
static @NotNull SlingHttpServletResponseBuilder |
newResponseBuilder()
Creates a new response builder.
|
@NotNull public static @NotNull SlingHttpServletRequestBuilder newRequestBuilder(@NotNull @NotNull Resource resource)
resource - the resource on which the request is basedjava.lang.IllegalArgumentException - If resource is null@NotNull public static @NotNull SlingHttpServletResponseBuilder newResponseBuilder()
@NotNull public static @NotNull RequestProgressTracker newRequestProgressTracker()
@NotNull public static @NotNull RequestParameter newRequestParameter(java.lang.String name, java.lang.String value)
name - the parameter namevalue - the parameter value@NotNull public static @NotNull RequestParameter newRequestParameter(java.lang.String name, java.lang.String value, java.nio.charset.Charset encoding)
name - the parameter namevalue - the parameter valueencoding - the charset of the valueCopyright © 2010 - 2024 Adobe. All Rights Reserved