CARVIEW |
Select Language
HTTP/1.1 200 OK
Server: AkamaiNetStorage
Content-Type: text/html
ETag: "5f68223997c3c54ba2195a3af75b6ecd:1494450470"
Vary: Accept-Encoding
Content-Encoding: gzip
Cache-Control: max-age=21600
Date: Tue, 14 Oct 2025 06:56:21 GMT
Content-Length: 2341
Connection: keep-alive
WebListener (Java(TM) EE 7 Specification APIs)
javax.servlet.annotation
Annotation Type WebListener
-
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface WebListener
This annotation is used to declare a WebListener. Any class annotated with WebListener must implement one or more of theServletContextListener
,ServletContextAttributeListener
,ServletRequestListener
,ServletRequestAttributeListener
,HttpSessionListener
, orHttpSessionAttributeListener
, orHttpSessionIdListener
interfaces.- Since:
- Servlet 3.0
-
-
Element Detail
-
value
public abstract String value
Description of the listener- Default:
- ""
-
-
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.