public class MarshallableOutBuilder extends Object implements Supplier<MarshallableOut>
MarshallableOutBuilder class.
It provides functionality to construct instances of MarshallableOut based on a specified URL.
The class follows the builder pattern, enabling the caller to set desired configurations and then retrieve
the appropriate MarshallableOut implementation based on the URL's protocol.| Constructor and Description |
|---|
MarshallableOutBuilder(URL url)
Constructs a new
MarshallableOutBuilder with the specified URL. |
| Modifier and Type | Method and Description |
|---|---|
MarshallableOut |
get() |
URL |
url()
Returns the URL set for this builder.
|
MarshallableOutBuilder |
wireType(WireType wireType)
Sets the desired
WireType for the builder. |
public MarshallableOutBuilder(URL url)
MarshallableOutBuilder with the specified URL.url - the URL for which the MarshallableOut instance will be created.public MarshallableOut get()
get in interface Supplier<MarshallableOut>public URL url()
public MarshallableOutBuilder wireType(WireType wireType)
WireType for the builder.
This method is part of the builder pattern allowing chained method calls.wireType - the WireType to set.MarshallableOutBuilder.Copyright © 2024. All rights reserved.