-
- Type Parameters:
F
- the concrete type for the forwarder.
- All Known Implementing Classes:
EdgeBuilder
,HttpBuilder
,TcpBuilder
,TlsBuilder
- Enclosing interface:
- Forwarder
public static interface Forwarder.Builder<F extends Forwarder>
Represents a builder that can create newForwarder
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description F
forward(URL url)
Start listening and forwarding connections to given url.
-
-
-
Method Detail
-
forward
F forward(URL url) throws IOException
Start listening and forwarding connections to given url.- Parameters:
url
- to forward connections to- Returns:
- the concrete
Forwarder
instance - Throws:
IOException
- if an I/O error occurs
-
-