public static final class Descriptor.RestCallId extends Descriptor.CallId
Constructor and Description |
---|
RestCallId(Method method,
String pathPattern) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Method |
method()
The HTTP method for the call.
|
String |
pathPattern()
The path pattern for the call.
|
String |
toString() |
public Method method()
The method will only be used for strict REST calls. For other calls, such as calls implemented by WebSockets or other transports, the method may be ignored completely.
public String pathPattern()