Annotation Type WebRequestHandler


  • @Retention(RUNTIME)
    @Target(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
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String urlPattern
      Returns the URL pattern for URL request this class is capable of handling.
    • Element Detail

      • urlPattern

        String urlPattern
        Returns the URL pattern for URL request this class is capable of handling.
        Returns:
        URL pattern
        Default:
        ""