public class RestEndpointModel extends Object
path and a
request method| Modifier and Type | Method and Description |
|---|---|
static RestEndpointModel |
generateFromMethod(Method method)
Gets the endpoint of a given method, relative to the jersey application
root.
|
String |
getPath() |
String |
getRequestMethod() |
public static RestEndpointModel generateFromMethod(Method method)
method - the method to parseRestEndpointModel specific to the methodpublic String getPath()
public String getRequestMethod()
HttpMethod of the endpoint.Copyright © 2019. All rights reserved.