class AbstractStyxService implements StyxService {

    @Override
    public Map<String, HttpHandler> adminInterfaceHandlers() {
        return ImmutableMap.of("status", (request, context) -> Eventual.of(
                response(OK)
                        .addHeader(CONTENT_TYPE, APPLICATION_JSON)
                        .body(format("{ name: \"%s\" status: \"%s\" }", name, status), UTF_8)
                        .build()
                        .stream()));
    }

    public  AbstractStyxService(String name);

}