Package org.apache.camel.spi
Interface RestRegistry.RestService
- Enclosing interface:
RestRegistry
public static interface RestRegistry.RestService
Details about the REST service
-
Method Summary
Modifier and TypeMethodDescriptionGets the base path to the REST serviceGets the base url to the REST serviceGets the consumer of the REST serviceOptional details about what media-types the REST service acceptsOptional description about this rest service.Optional detail about input binding to a FQN class name.Gets the HTTP method (GET, POST, PUT etc)Optional detail about output binding to a FQN class name.Optional details about what media-types the REST service returnsgetState()
Gets the state of the REST service (started, stopped, etc)Gets the uri templategetUrl()
Gets the absolute url to the REST service (baseUrl + uriTemplate)
-
Method Details
-
getConsumer
Consumer getConsumer()Gets the consumer of the REST service -
getState
String getState()Gets the state of the REST service (started, stopped, etc) -
getUrl
String getUrl()Gets the absolute url to the REST service (baseUrl + uriTemplate) -
getBaseUrl
String getBaseUrl()Gets the base url to the REST service -
getBasePath
String getBasePath()Gets the base path to the REST service -
getUriTemplate
String getUriTemplate()Gets the uri template -
getMethod
String getMethod()Gets the HTTP method (GET, POST, PUT etc) -
getConsumes
String getConsumes()Optional details about what media-types the REST service accepts -
getProduces
String getProduces()Optional details about what media-types the REST service returns -
getInType
String getInType()Optional detail about input binding to a FQN class name. If the input accepts a list, then List<class name> is enclosed the name. -
getOutType
String getOutType()Optional detail about output binding to a FQN class name. If the output accepts a list, then List<class name> is enclosed the name. -
getDescription
String getDescription()Optional description about this rest service.
-