Package | Description |
---|---|
org.apache.sling.testing.tools.http |
Modifier and Type | Method and Description |
---|---|
Request |
RequestBuilder.buildGetRequest(String path,
String... queryParameters)
Build a GET request to specified path with optional query
parameters.
|
Request |
RequestBuilder.buildOtherRequest(org.apache.http.client.methods.HttpRequestBase r)
Wrap supplied HTTP request
|
Request |
RequestBuilder.buildPostRequest(String path)
Build a POST request to specified path with optional query
parameters.
|
Request |
Request.withContent(String content) |
Request |
Request.withCredentials(String username,
String password) |
Request |
Request.withCustomizer(RequestCustomizer c) |
Request |
Request.withEntity(org.apache.http.HttpEntity e) |
Request |
Request.withHeader(String name,
String value) |
Request |
Request.withRedirects(boolean followRedirectsAutomatically) |
Modifier and Type | Method and Description |
---|---|
void |
RequestCustomizer.customizeRequest(Request r) |
RequestExecutor |
RequestExecutor.execute(Request r) |
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.