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 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()
Copyright © 2022 The Apache Software Foundation. All rights reserved.