-
- 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 newForwarderinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Fforward(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
Forwarderinstance - Throws:
IOException- if an I/O error occurs
-
-