This commit is contained in:
@@ -146,6 +146,7 @@ public final class Rest {
|
|||||||
final Map<String, org.redkale.util.Attribute> restAttributes = new LinkedHashMap<>();
|
final Map<String, org.redkale.util.Attribute> restAttributes = new LinkedHashMap<>();
|
||||||
|
|
||||||
for (final Method method : serviceType.getMethods()) {
|
for (final Method method : serviceType.getMethods()) {
|
||||||
|
if(Modifier.isStatic(method.getModifiers())) continue;
|
||||||
Class[] extypes = method.getExceptionTypes();
|
Class[] extypes = method.getExceptionTypes();
|
||||||
if (extypes.length > 1) continue;
|
if (extypes.length > 1) continue;
|
||||||
if (extypes.length == 1 && extypes[0] != IOException.class) continue;
|
if (extypes.length == 1 && extypes[0] != IOException.class) continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user