Class DocService

All Implemented Interfaces:
Unwrappable, HttpService, Service<HttpRequest,​HttpResponse>

public final class DocService
extends AbstractCompositeService<HttpService,​HttpRequest,​HttpResponse>
implements HttpService
An HttpService that provides information about the Services running in a Server. It does not require any configuration besides adding it to a VirtualHost; it discovers all the eligible Services automatically.

How is the documentation generated?

DocService looks up the DocServicePlugins available in the current JVM using Java SPI (Service Provider Interface). The DocServicePlugin implementations will generate ServiceSpecifications for the Services they support.

See Also:
DocServiceBuilder.include(DocServiceFilter), DocServiceBuilder.exclude(DocServiceFilter)