# Class Diagram

The chapter and sections can be helpful for us to understand EasyWeb framework. Form the class diagrams, we can see two parts of framework: 1. core basic objects and building

* **WebContextLoadListener** Servlet context listener, initialize framework from here
* **WebConfigure** Configuration of framework
* **WebProcesser** Processor of objects such as WebContainer, WebController, WebFilter, WebMethod
* **WebContainer** store mappings which from request path to WebMethod instance
  1. handler for HTTP request
* **FilterHandler** Base handler, mostly used in EasyWebFilter, hold WebMethod from WebFilter
* **WebHandler** Handler used in EasyWebDispatcher, hold WebMethod from WebController
* **EasyWebDispatcher** Main servlet for framework to dispatch http request
* **EasyWebFilter** Main filter for framework to main servlet EasyWebDispatcher

![](https://692849660-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LOWz706pyxeJitQ0e16%2F-LOWzbSdLrH1KzTZoRd5%2F-LOWzdnaNP6AEyvSx6j5%2Feasyweb-core-classes.png?generation=1539242369129666\&alt=media)

![](https://692849660-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LOWz706pyxeJitQ0e16%2F-LOWzbSdLrH1KzTZoRd5%2F-LOWzdnc2E1j7_kJlpWA%2Feasyweb-handler-classes.png?generation=1539242369096703\&alt=media)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://openthinks.gitbook.io/docs/easyweb/chapter2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
