| Interface | Description |
|---|---|
| PageCrawler |
A page crawler will collect all applicable urls and opens it.
|
| PageHandler<T> |
The
PageHandler is responsible for calling correct handler method for
specified url. |
| PageHandlerFactory |
This class is responsible for generating the wrapper for annotated page
handlers of vani's crawling mechanism.
|
| Class | Description |
|---|---|
| DefaultPageCrawler |
This implementation collects all classes annotated with
PageHandler and use its
declarations of UrlMapping as applicable url patterns. |
| DefaultPageHandler<T> |
This implementation use a method map to find correct handler method.
|
| DefaultPageHandlerFactory |
This implementation wraps the desired page handler with
DefaultPageHandler and sets the method map (pattern => method). |
Copyright © 2016. All rights reserved.