sirius.web.services.JSONServiceCall Maven / Gradle / Ivy
/*
* 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 - 2025 Weber Informatics LLC | Privacy Policy