@Documented @Target(TYPE) @Retention(RUNTIME) public @interface Processor
RequestProcessor
s may be annotated with this annotation in order to be automatically detected.
The stincmale.server
module implements automatic detection via SpringRequestDispatcher
,
other mechanisms may be implemented by a user.
RequestDispatcher
must not be annotated with this annotation.- See Also:
SpringRequestDispatcher
-
Element Details
-
value
String value- Returns:
- The name of a
RequestProcessor
which is unique within a givenServer
. The semantics of the name depends on theRequestDispatcher
implementation. For example,RequestDispatcherByProcessorName
simply extracts the name from a request and delegates processing to aRequestProcessor
with this name;SimpleHttpRequestDispatcherByUrl
is aRequestDispatcherByProcessorName
that uses URI path from a request as the name of aRequestProcessor
. - See Also:
RequestDispatcherByProcessorName
,SimpleHttpRequestDispatcherByUrl
,SimpleSpringHttpRequestDispatcherByUrl
-