public HttpServer build() { final HttpServer httpServer = getFactory().createHttpServer( this.getConfig(), this.getEndpointName(), this.getSystemManager(), this.getServiceDiscovery(), this.getHealthServiceAsync(), this.getServiceDiscoveryTtl(), this.getServiceDiscoveryTtlTimeUnit(), this.getResponseDecorators(), this.getHttpResponseCreator(), this.getRequestBodyContinuePredicate() ); if (requestContinuePredicate != null) { httpServer.setShouldContinueHttpRequest(requestContinuePredicate); } if (qBitSystemManager != null) { qBitSystemManager.registerServer(httpServer); } return httpServer; }
public HttpServer build() { final HttpServer httpServer = getFactory().createHttpServer( this.getConfig(), this.getEndpointName(), this.getSystemManager(), this.getServiceDiscovery(), this.getHealthServiceAsync(), this.getServiceDiscoveryTtl(), this.getServiceDiscoveryTtlTimeUnit(), this.getResponseDecorators(), this.getHttpResponseCreator() ); if (requestContinuePredicate!=null) { httpServer.setShouldContinueHttpRequest(requestContinuePredicate); } if (qBitSystemManager != null) { qBitSystemManager.registerServer(httpServer); } return httpServer; }
public HttpServer build() { final HttpServer httpServer = getFactory().createHttpServer( this.getConfig(), this.getEndpointName(), this.getSystemManager(), this.getServiceDiscovery(), this.getHealthServiceAsync(), this.getServiceDiscoveryTtl(), this.getServiceDiscoveryTtlTimeUnit(), this.getResponseDecorators(), this.getHttpResponseCreator(), this.getRequestBodyContinuePredicate() ); if (requestContinuePredicate != null) { httpServer.setShouldContinueHttpRequest(requestContinuePredicate); } if (qBitSystemManager != null) { qBitSystemManager.registerServer(httpServer); } return httpServer; }