Package org.apache.camel.spi
Interface RestRegistry.RestService
-
- Enclosing interface:
- RestRegistry
public static interface RestRegistry.RestServiceDetails about the REST service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetBasePath()Gets the base path to the REST serviceStringgetBaseUrl()Gets the base url to the REST serviceConsumergetConsumer()Gets the consumer of the REST serviceStringgetConsumes()Optional details about what media-types the REST service acceptsStringgetDescription()Optional description about this rest service.StringgetInType()Optional detail about input binding to a FQN class name.StringgetMethod()Gets the HTTP method (GET, POST, PUT etc)StringgetOutType()Optional detail about output binding to a FQN class name.StringgetProduces()Optional details about what media-types the REST service returnsStringgetState()Gets the state of the REST service (started, stopped, etc)StringgetUriTemplate()Gets the uri templateStringgetUrl()Gets the absolute url to the REST service (baseUrl + uriTemplate)
-
-
-
Method Detail
-
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.
-
-