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

sirius.web.services.JSONServiceCall Maven / Gradle / Ivy

There is a newer version: 22.2.3
Show newest version
/*
 * Made with all the love in the world
 * by scireum in Remshalden, Germany
 *
 * Copyright by scireum GmbH
 * http://www.scireum.de - [email protected]
 */

package sirius.web.services;

import sirius.kernel.xml.StructuredOutput;
import sirius.web.http.WebContext;

/**
 * JSON encoder for calls to a {@link StructuredService}.
 */
class JSONServiceCall extends ServiceCall {

    JSONServiceCall(WebContext ctx) {
        super(ctx);
    }

    @Override
    protected StructuredOutput createOutput() {
        return ctx.respondWith().json();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy