public final class HtWire extends Object implements Wire
Constructor and Description |
---|
HtWire(String addr)
Ctor.
|
HtWire(String addr,
int tcp)
Ctor.
|
HtWire(URI uri)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
org.cactoos.Input |
send(org.cactoos.Input input)
Send and read result.
|
public HtWire(URI uri)
uri
- The address of the serverpublic HtWire(String addr)
addr
- The address of the serverpublic HtWire(String addr, int tcp)
addr
- The address of the servertcp
- The TCP portpublic org.cactoos.Input send(org.cactoos.Input input) throws IOException
Wire
send
in interface Wire
input
- The source of dataIOException
- If failsCopyright © 2017–2018 Cactoos. All rights reserved.