Package com.artipie.management.api
Class RsYaml
- java.lang.Object
-
- com.artipie.management.api.RsYaml
-
- All Implemented Interfaces:
com.artipie.http.Response
public final class RsYaml extends Object implements com.artipie.http.Response
Response with Yaml document.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description RsYaml(com.amihaiemil.eoyaml.YamlNode yaml)
Response from Yaml document.RsYaml(Supplier<? extends com.amihaiemil.eoyaml.YamlNode> yaml)
Response from Yaml supplier.RsYaml(Supplier<? extends com.amihaiemil.eoyaml.YamlNode> yaml, Charset encoding)
Response from Yaml supplier with charset encoding.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>
send(com.artipie.http.Connection connection)
-
-
-
Constructor Detail
-
RsYaml
public RsYaml(com.amihaiemil.eoyaml.YamlNode yaml)
Response from Yaml document.- Parameters:
yaml
- Yaml document
-
RsYaml
public RsYaml(Supplier<? extends com.amihaiemil.eoyaml.YamlNode> yaml)
Response from Yaml supplier.- Parameters:
yaml
- Yaml document supplier
-
-
Method Detail
-
send
public CompletionStage<Void> send(com.artipie.http.Connection connection)
- Specified by:
send
in interfacecom.artipie.http.Response
-
-