Design and Implementation of an HTTP Server
A Simple Network Application in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
Map
but they really have more
funtionality than we need (making them unsafe) NameValueMap
ClassMap
but don't support
the entire interface (as you would with the decorator)Map
but override the unnecessary
methods
HttpRequest
and
HttpResponse
classesMIMETyper
Class:
NameValueMap
so we don't want to construct
a new one every time it is needed (hence, should use the
Singleton pattern)