Class RestServiceResourceInfo
java.lang.Object
com.peterphi.std.guice.web.rest.service.servicedescription.freemarker.RestServiceResourceInfo
- All Implemented Interfaces:
Comparable<RestServiceResourceInfo>
Helper type to provide
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCurlTemplate
(String url, ExampleGenerator exampleGenerator) getPath()
Class<?>
boolean
boolean
boolean
static boolean
isResource
(Method method) boolean
-
Constructor Details
-
RestServiceResourceInfo
-
-
Method Details
-
isResource
-
isDeprecated
public boolean isDeprecated() -
getHttpMethod
-
isPlainGet
public boolean isPlainGet() -
isRequestXML
public boolean isRequestXML() -
isResponseXML
public boolean isResponseXML() -
getMethodString
-
getParameters
-
getRequestEntity
-
compareTo
- Specified by:
compareTo
in interfaceComparable<RestServiceResourceInfo>
-
getPath
-
getLocalPath
-
getReturnType
-
getConsumes
-
getProduces
-
getDescription
-
getSeeAlsoURLs
-
getCurlTemplate
- Throws:
Exception
-