org.glassfish.jersey.server.model
Interface Routed

All Known Implementing Classes:
Resource

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
 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

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-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.