All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.dd4t.mvc.controllers.SeBlankController Maven / Gradle / Ivy

There is a newer version: 2.1.12
Show newest version
package org.dd4t.mvc.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * dd4t-parent
 *
 * @author R. Kempees
 */
@Controller
public class SeBlankController {
    /**
     * Required for XPM - this does not have to return any particular content, just a valid response
     */
    @RequestMapping (value = {"/se_blank.html"}, method = {RequestMethod.GET, RequestMethod.HEAD, RequestMethod.POST})
    protected String seBlank(final HttpServletResponse response) throws IOException {
        response.setStatus(200);
        return null;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy