org.glassfish.jersey.server.model
Interface Routed

All Known Implementing Classes:
Resource, ResourceMethod

public interface Routed

Marker interface for all resource model components that contain path information usable for routing.

Author:
Marc Hadley, Marek Potociar (marek.potociar at oracle.com)

Method Summary
 java.lang.String getPath()
          Get the path direct assigned to the component.
 PathPattern getPathPattern()
          Get the path pattern that can be used for matching the remaining request URI against this component represented by this model.
 

Method Detail

getPath

java.lang.String getPath()
Get the path direct assigned to the component.

Returns:
component path.

getPathPattern

PathPattern getPathPattern()
Get the path pattern that can be used for matching the remaining request URI against this component represented by this model.

Returns:
component path pattern.


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.