On 23/09/2015 12:33, arjan tijms wrote:
AT> The Servlet event listener interfaces, such as e.g.
AT> ServletRequestListener, or AsyncListener have multiple methods that
AT> implementations must implement.
AT>
AT> However, in many cases implementations are only interested in one
AT> event. E.g. I may be interested in requestInitialized, but I still
AT> have to provide an empty method for requestDestroyed.
AT>
AT> Using JDK 8 default methods this can be easily overcome; provide
AT> (empty) default methods for all interface methods and then
AT> applications only have to implement what they're interested in.
AT>
AT> Thoughts?
>>>>> On Wed, 23 Sep 2015 13:01:23 +0100, Mark Thomas <markt_at_apache.org> said:
MT> +1
I've filed SERVLET_SPEC-142 for this, attaching the artifacts and
publishing the snapshot to maven [1].
Please review and if it's ok I'll share it with the EG.
Thanks,
Ed
--
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 31 Business days til JavaOne 2015
| 46 Business days til DOAG 2015
[1] https://maven.java.net/service/local/repositories/snapshots/archive/javax/servlet/javax.servlet-api/4.0.0-b01-SERVLET_SPEC-142-SNAPSHOT/javax.servlet-api-4.0.0-b01-SERVLET_SPEC-142-20150923.224055-1-javadoc.jar/!/index.html