From 10aa56aa8d22b44220af0d7084edf9d5edea6d71 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 6 Apr 2017 14:20:40 -0400 Subject: [PATCH] Remove file committed by mistake --- .../web/reactive/result/view/Render.java | 64 ------------------- 1 file changed, 64 deletions(-) delete mode 100644 spring-webflux/src/main/java/org/springframework/web/reactive/result/view/Render.java diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/result/view/Render.java b/spring-webflux/src/main/java/org/springframework/web/reactive/result/view/Render.java deleted file mode 100644 index 2407cb73383..00000000000 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/result/view/Render.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Copyright 2002-2017 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.springframework.web.reactive.result.view; - -import java.util.Map; -import java.util.Optional; - -import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpStatus; -import org.springframework.ui.Model; - -/** - * - * @author Rossen Stoyanchev - * @since 5.0 - */ -public interface Render { - - Optional view(); - - Map model(); - - Optional status(); - - HttpHeaders headers(); - - - static Builder view(String name) { - return null; - } - - - interface Builder> { - - B modelAttribute(String name, Object value); - - B modelMap(Map model); - - B model(Model model); - - B status(HttpStatus status); - - B header(String headerName, String... headerValues); - - B headers(HttpHeaders headers); - - Render build(); - - } - -}