-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathRPCInterfaceExample.java
More file actions
102 lines (54 loc) · 2.71 KB
/
RPCInterfaceExample.java
File metadata and controls
102 lines (54 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package com.thrift.example.artificial;
import org.apache.thrift.TException;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* created by manzhang on 2021/11/15
*/
public interface RPCInterfaceExample {
String simplePrimitive(int argInt, float argfloat, long arglong, double argdouble, char argchar, byte argbyte, boolean argboolean, short argshort);
String simpleWrapPrimitive(Integer argInt, Float argfloat, Long arglong, Double argdouble, Character argchar, Byte argbyte, Boolean argboolean, Short argshort);
GenericResponse array(List<String>[] args0);
GenericResponse arrayboolean(boolean[] args0);
GenericResponse list(List<String> args0);
GenericResponse map(Map<String, String> args0);
GenericResponse listAndMap(List<Map<String, String>> args0);
ObjectResponse objResponse();
CycleAObj objCycleA(CycleAObj objA);
CycleBObj objCycleB();
String dateToString(Date date);
String constraintInputs(ConstrainedRequest arg0, @NotNull String arg1);
String handleCustomizedRequestA(CustomizedRequestA request);
String handleCustomizedRequestB(CustomizedRequestB request);
void login(AuthLoginDto dto);
PrivateFieldInResponseDto accessFieldDtoCheck(PrivateFieldInRequestDto dto);
ByteResponse byteResponse(byte arg1, Byte arg2);
String authorizedEndpoint();
void throwRuntimeException();
void throwUndeclaredThrowableException();
StringChildDto handledInheritedGenericStringDto(StringChildDto dto);
IntChildDto handledInheritedGenericIntDto(IntChildDto dto);
ListChildDto handledInheritedGenericListDto(ListChildDto dto);
GenericDto<Integer, String> handleGenericIntString(GenericDto<Integer, String> dto);
GenericDto<StringChildDto, String> handleGenericObjectString(GenericDto<StringChildDto, String> dto);
NestedGenericDto<String> handleNestedGenericString(NestedGenericDto<String> dto);
void handleException(String type) throws Exception;
String handleEnumWithConstructor(ObjectEnum arg1);
String bigNumber(BigNumberObj arg1);
String immutableObj(ImmutableObj arg1);
String numericString(NumericStringObj arg1);
Map<String, NumericStringObj> mapResponse();
List<BigNumberObj> listResponse();
boolean pBoolResponse();
byte pByteResponse();
char pCharResponse();
short pShortResponse();
int pIntResponse();
long pLongResponse();
float pFloatResponse();
double pDoubleResponse();
String seedcheck(List<Long> longList, List<Integer> integerList, List<BigNumberObj> objList, Map<Integer, String> integerStringMap, BigNumberObj obj);
boolean throwTException(int type) throws Exception;
}