| Author |
spec gotcha
|
Rishi Yagnik
Ranch Hand
Joined: Jan 04, 2001
Posts: 84
|
|
SRV.2.1.3 Conditional GET Support Hey Specs says that HttpServlet interface defines getLastModified() method to support conditional get support.... don't u think that specs seems to be misleading ....... API CLearly says HttpServlet is a Class not a interface don't u all think that such mistake should not have been done by sun..... Rishi
|
 |
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
|
|
The word "interface" has more than one meaning. In the narrow sense, it means a Java interface. In the broad sense, it indicates the (public) API with which an object or module interfaces to the outside world, such as the public methods of a class; in this sense, you can even use the word "interface" with programming languages such as C++ that have only classes. You could perhaps argue that the specification should have stuck with the narrow definition of "interface" for clarity's sake. - Peter
|
 |
 |
|
|
subject: spec gotcha
|
|
|