io.protostuff.generator.java.service.stg Maven / Gradle / Ivy
delimiters "<", ">"
import "io/protostuff/generator/core.stg"
import "io/protostuff/generator/java/generator.stg"
service_compiler_enabled(service) ::= "true"
service_compiler_output(service) ::= "/.java"
service_compiler_template(service) ::= ""
service(service) ::= <<
package ;
import io.protostuff.Service;
import io.protostuff.Rpc;
import io.protostuff.Request;
import io.protostuff.Response;
@Service("")
public interface {
}
>>
namespace(service) ::= <%
.
%>
request_action(method) ::= <%
Request
%>
response_action(method) ::= <%
Response
%>
request_qualifier(method) ::= <%
/
%>
response_qualifier(method) ::= <%
/
%>
rpc_return_type(method) ::= <%
java.util.concurrent.CompletableFuture\<>
%>
service_method_declaration(method) ::= <<
@Rpc
@Request("")
@Response("")
( request);
>>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy