- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 1,805 for fluent (0.23 seconds)
-
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java
import java.util.ArrayList; import java.util.List; import eu.maveniverse.domtrip.Document; import eu.maveniverse.domtrip.Editor; /** * Builder for creating test POM documents with fluent API. */ public class PomBuilder { private String modelVersion = "4.0.0"; private String namespace = "http://maven.apache.org/POM/4.0.0"; private String groupId; private String artifactId;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java
* .orElse(null); * * // Get trimmed text content * String trimmedVersion = parent.child("version") * .map(Element::textContentTrimmed) * .orElse(null); * * // Set text content (fluent API) * element.textContent("4.0.0"); * }</pre> * * <h2>When to Use DomUtils</h2> * <p>Use DomUtils methods when you need: * <ul>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
+ facetResponse + "]"; } /** * Builder class for constructing SearchResult instances using the builder pattern. * * This builder provides a fluent interface for setting the various properties * of a SearchResult before creating the final immutable instance. */ static class SearchResultBuilder {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.8K bytes - Click Count (0) -
mockwebserver/README.md
### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ### Java ```java MockResponse response = new MockResponse.Builder() .addHeader("Content-Type", "application/json; charset=utf-8") .addHeader("Cache-Control", "no-cache") .body("{}")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 8.1K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
* specific language governing permissions and limitations * under the License. */ package org.fusesource.jansi; import java.util.ArrayList; /** * Provides a fluent API for generating * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_sequences">ANSI escape sequences</a>. * * This class comes from Jansi and is provided for backward compatibility
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 23.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
static ProjectBuilderRequestBuilder builder() { return new ProjectBuilderRequestBuilder(); } /** * Builder for creating ProjectBuilderRequest instances. * This builder provides a fluent API for setting the various properties of a request. */ @NotThreadSafe class ProjectBuilderRequestBuilder { Session session; RequestTrace trace; Path path;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
README.md
--------- This program downloads a URL and prints its contents as a string. [Full source][get_example]. ```java OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); } } ``` Post to a Server
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
README.md
- **Factory Pattern** - `BeanDescFactory` for creating bean descriptors, `ParameterizedClassDescFactory` for generic type handling - **Builder Pattern** - `CopyOptions` for configuring bean copying operations with fluent API - **Adapter Pattern** - Logging adapters (`JclLoggerAdapter`, `JulLoggerAdapter`) for different logging frameworks - **Template Method** - Resource traversal utilities with customizable handlers
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
*/ static Builder newBuilder() { return new Builder(); } /** * Builder class for creating XmlNode instances. * <p> * This builder provides a fluent API for setting the various properties of an XML node. * All properties are optional except for the node name, which must be set before calling * {@link #build()}. */ class Builder {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 15:20:44 GMT 2025 - 18.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
private var lazyCacheControl: CacheControl? = null val isHttps: Boolean get() = url.isHttps /** * Constructs a new request. * * Use [Builder] for more fluent construction, including helper methods for various HTTP methods. * * @param method defaults to "GET" if [body] is null, and "POST" otherwise. */ constructor( url: HttpUrl,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1)