]>
nmode's Git Repositories - signal-cli/blob - src/main/java/org/asamk/signal/commands/JsonRpcCommand.java
1 package org
.asamk
.signal
.commands
;
3 import com
.fasterxml
.jackson
.core
.type
.TypeReference
;
5 import org
.asamk
.signal
.OutputType
;
9 public interface JsonRpcCommand
<T
> extends Command
{
11 default TypeReference
<T
> getRequestType() {
15 default List
<OutputType
> getSupportedOutputTypes() {
16 return List
.of(OutputType
.JSON
);