Class RestContextRefDefinition

java.lang.Object
org.apache.camel.model.RestContextRefDefinition

@Metadata(label="configuration,rest") public class RestContextRefDefinition extends Object
To refer to an XML file with rest services defined using the rest-dsl
  • Constructor Details

    • RestContextRefDefinition

      public RestContextRefDefinition()
    • RestContextRefDefinition

      public RestContextRefDefinition(String ref)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRef

      public String getRef()
    • setRef

      public void setRef(String ref)
      Reference to the rest-dsl
    • lookupRests

      public List<RestDefinition> lookupRests(org.apache.camel.CamelContext camelContext)