|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface WebServlet
Annotation used to declare a servlet.
This annotation is processed by the container at deployment time, and the corresponding servlet made available at the specified URL patterns.
Servlet
Optional Element Summary | |
---|---|
boolean |
asyncSupported
Declares whether the servlet supports asynchronous operation mode. |
java.lang.String |
description
The description of the servlet |
java.lang.String |
displayName
The display name of the servlet |
WebInitParam[] |
initParams
The init parameters of the servlet |
java.lang.String |
largeIcon
The large-icon of the servlet |
int |
loadOnStartup
The load-on-startup order of the servlet |
java.lang.String |
name
The name of the servlet |
java.lang.String |
smallIcon
The small-icon of the servlet |
java.lang.String[] |
urlPatterns
The URL patterns of the servlet |
java.lang.String[] |
value
The URL patterns of the servlet |
public abstract java.lang.String name
public abstract java.lang.String[] value
public abstract java.lang.String[] urlPatterns
public abstract int loadOnStartup
public abstract WebInitParam[] initParams
public abstract boolean asyncSupported
ServletRequest.startAsync()
,
ServletRequest.startAsync(ServletRequest,
ServletResponse)
public abstract java.lang.String smallIcon
public abstract java.lang.String largeIcon
public abstract java.lang.String description
public abstract java.lang.String displayName
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34