if (context instanceof HttpContext)
{
serverContext = (HttpContext)context;
address = getAddressFromConfigAndContext(serverContext);
HttpServer httpServer = serverContext.getHttpServer();
httpServer.publish(serverContext, this);
isPublished = true;
}
}
private static URI getAddressFromConfigAndContext(HttpContext context)