←
^
→
Java Sockets
URL Class
The
URL
class uses the
strategy design pattern
. (GoF:315). It separates the algorithm from the host class, thereby allowing multiple algorithms.
The URL class uses it to transparently support multiple protocols:
José M. Vidal
.
1 of 9