org.glassfish.api.content
Annotation Type WebRequestHandler


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface WebRequestHandler

Annotation that denote a class capable of handling particular URL patterns. The definition of handling is loose in this particular context as it can be file servicing, or any other type of behaviour. The type of handling the annotated class will usually be defined by an interface the class implements

Author:
Jerome Dochez
See Also:
{link:FileServer}

Optional Element Summary
 java.lang.String urlPattern
          Returns the URL pattern for URL request this class is capable of handling.
 

urlPattern

public abstract java.lang.String urlPattern
Returns the URL pattern for URL request this class is capable of handling.

Returns:
URL pattern
Default:
""


Copyright © 2012 GlassFish Community. All Rights Reserved.