Example usage for org.springframework.web.servlet.view AbstractView subclass-usage

List of usage examples for org.springframework.web.servlet.view AbstractView subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.view AbstractView subclass-usage.

Usage

From source file org.opensafety.hishare.view.ByteOutput.java

public class ByteOutput extends AbstractView {

    @Override
    protected void renderMergedOutputModel(Map<String, Object> model, HttpServletRequest request,
            HttpServletResponse response) throws Exception {
        byte[] data = (byte[]) model.get("bytes");

From source file org.openmrs.module.logmanager.web.view.AutocompleteView.java

/**
 * View to render object in model as JSON
 */
public class AutocompleteView extends AbstractView {

    protected String sourceKey = "source";

From source file com.asual.summer.core.view.AbstractResponseView.java

/**
 * 
 * @author Rostislav Hristov
 *
 */
public abstract class AbstractResponseView extends AbstractView implements ResponseView {

From source file org.reallysqs.server.views.ReceivedMessagesResponseView.java

/**
 * Responsible for rendering a list of messages.
 * 
 * In this case a SQS standard XML ocument is rendered and returned.
 * 
 * See http://docs.amazonwebservices.com/AWSSimpleQueueService/2006-04-01/REST_RestOperations.html

From source file org.iwethey.forums.web.json.FastJsonView.java

/**
 * <p>Simple view to return a JSON value and possibly some text.</p>
 *
 * <p>@author Scott Anderson (<a href="mailto:scott@iwethey.org">scott@iwethey.org</a>)</p>
 */
public class FastJsonView extends AbstractView {

From source file org.reallysqs.server.views.QueueListView.java

/**
 * Responsible for rendering the response to a request
 * to list all the current queues.
 * 
 * In this case a SQS standard XML document is rendered and returned.
 * 

From source file arena.web.view.ErrorView.java

public class ErrorView extends AbstractView {

    private int errorCode = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
    private String message;
    private boolean allowRequestArgs = false;

From source file org.shimlib.web.servlet.view.filedownload.FileDownloadView.java

public class FileDownloadView extends AbstractView {
    public static final String VIEW_NAME_KEY = "shim-file-download-view";
    public static final String MODEL_NAME_KEY = "shim-file-download-file";

    protected static final String CONTENT_DISPOSITION = "Content-Disposition";

From source file de.topicmapslab.majortom.server.http.util.JSONView.java

/**
 * View which gets an already rendered json string.
 * 
 * @author Hannes Niederhausen
 * 
 */

From source file com.mattbertolini.statusboard.view.graph.AbstractGraphView.java

/**
 * @author Matt Bertolini
 */
public abstract class AbstractGraphView extends AbstractView implements InitializingBean {
    private static final String DEFAULT_CONTENT_TYPE = "application/json; charset=UTF-8";