Class ResourcePathDeclaration.Component

java.lang.Object
com.soklet.core.ResourcePathDeclaration.Component
Enclosing class:
ResourcePathDeclaration

Represents a /-delimited part of a ResourcePathDeclaration.

For example, given the path declaration /languages/{languageId}:

  • Component 0 would have type LITERAL and value languages
  • Component 1 would have type PLACEHOLDER and value languageId

Note: this type is not normally used by Soklet applications unless they choose to implement a custom ResourceMethodResolver.

Author:
Mark Allen
See Also: