Example usage for org.springframework.web.servlet View interface-usage

List of usage examples for org.springframework.web.servlet View interface-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet View interface-usage.

Usage

From source file werecloud.api.view.StringView.java

public class StringView implements View {
    @Override
    public String getContentType() {
        return "test/plain";
    }

From source file com.proteanplatform.web.core.mvc.JsonView.java

/**
 * This class uses jackson to serialize anything put in the model map as json for
 * a spring mvc request.  There is a possible security hole if classes are
 * put into the model map that contain sensitive data and aren't annotated
 * so that jackson ignores the sensitive data. 
 *

From source file uk.org.iay.mdq.server.ResultTextView.java

/**
 * Render a query result in a text format for diagnostic purposes.
 */
public class ResultTextView implements View {

    /** Class logger. */

From source file es.itecban.deployment.executionmanager.web.view.ReportView.java

public class ReportView implements View {

    public String getContentType() {
        return "application/octet-stream";
    }

From source file es.itecban.deployment.executionmanager.web.view.ReportActivityView.java

public class ReportActivityView implements View {

    public String getContentType() {
        return "application/octet-stream";
    }

From source file elw.miniweb.ViewJackson.java

/**
 * Install JsonView to have the data nicely formatted in firefox.
 *
 * http://stackoverflow.com/a/815578/148926
 * */
public class ViewJackson implements View {

From source file com.astamuse.asta4d.misc.spring.mvc.SpringWebPageView.java

public class SpringWebPageView implements View {

    private Asta4DPageProvider templateProvider;

    private UrlMappingRule dummyRule = new UrlMappingRule();

From source file com.yahoo.glimmer.web.JsObjectView.java

/**
 * @{View} that renders an Object as JSON or a JavaScript
 * callback.
 * The Object is rendered as a callback only when the request has a 
 * parameter CALLBACK_PARAMETER defined.
 * 

From source file werecloud.api.view.JSONView.java

/**
 * <code>JSONView</code>
 * Date: 28/12/2014
 * Time: 10:58 AM
 */
public class JSONView implements View {

From source file de.perdian.apps.dashboard.mvc.portal.PortalView.java

class PortalView implements View {

    private Resource jsResource = null;
    private List<PortalModule> modules = null;

    @Override