rewrite-api-servlet 2.0.0.Alpha6

org.ocpsoft.rewrite.servlet.spi
Interface ResourcePathResolver

All Superinterfaces:
org.ocpsoft.common.pattern.Weighted

public interface ResourcePathResolver
extends org.ocpsoft.common.pattern.Weighted

SPI which is responsible to resolve the server-side target resource assigned to a given Class.

Author:
Christian Kaltepoth, Lincoln Baxter, III

Method Summary
 String resolveFrom(Class<?> clazz)
          Resolve the server side target resource.
 
Methods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
 

Method Detail

resolveFrom

String resolveFrom(Class<?> clazz)
Resolve the server side target resource. This should return the path to the resource as it would be requested from the client. E.g.: "/pages/index.xhtml".


rewrite-api-servlet 2.0.0.Alpha6

Copyright © 2013 OCPsoft. All Rights Reserved.