private THttpService(Service<RpcRequest, RpcResponse> delegate, SerializationFormat[] allowedSerializationFormatArray) { requireNonNull(delegate, "delegate"); this.delegate = delegate; thriftService = findThriftService(delegate); this.allowedSerializationFormatArray = allowedSerializationFormatArray; allowedSerializationFormats = ImmutableSet.copyOf(allowedSerializationFormatArray); }
private THttpService(Service<RpcRequest, RpcResponse> delegate, SerializationFormat[] allowedSerializationFormatArray) { requireNonNull(delegate, "delegate"); this.delegate = delegate; thriftService = findThriftService(delegate); this.allowedSerializationFormatArray = allowedSerializationFormatArray; allowedSerializationFormats = ImmutableSet.copyOf(allowedSerializationFormatArray); }
private THttpService(Service<RpcRequest, RpcResponse> delegate, SerializationFormat[] allowedSerializationFormatArray) { requireNonNull(delegate, "delegate"); this.delegate = delegate; thriftService = findThriftService(delegate); this.allowedSerializationFormatArray = allowedSerializationFormatArray; allowedSerializationFormats = ImmutableSet.copyOf(allowedSerializationFormatArray); }
private THttpService(Service<RpcRequest, RpcResponse> delegate, SerializationFormat[] allowedSerializationFormatArray) { requireNonNull(delegate, "delegate"); this.delegate = delegate; thriftService = findThriftService(delegate); this.allowedSerializationFormatArray = allowedSerializationFormatArray; allowedSerializationFormats = ImmutableSet.copyOf(allowedSerializationFormatArray); }