Package org.apache.camel.spi
Interface RestRegistry.RestService
-
- Enclosing interface:
- RestRegistry
public static interface RestRegistry.RestService
Details about the REST service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBasePath()
Gets the base path to the REST serviceString
getBaseUrl()
Gets the base url to the REST serviceConsumer
getConsumer()
Gets the consumer of the REST serviceString
getConsumes()
Optional details about what media-types the REST service acceptsString
getDescription()
Optional description about this rest service.String
getInType()
Optional detail about input binding to a FQN class name.String
getMethod()
Gets the HTTP method (GET, POST, PUT etc)String
getOutType()
Optional detail about output binding to a FQN class name.String
getProduces()
Optional details about what media-types the REST service returnsString
getRouteId()
Gets the id of the route this rest service will be using.String
getState()
Gets the state of the REST service (started, stopped, etc)String
getUriTemplate()
Gets the uri templateString
getUrl()
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.
-
getRouteId
String getRouteId()
Gets the id of the route this rest service will be using.
-
getDescription
String getDescription()
Optional description about this rest service.
-
-