net.sourceforge.pebble.web.filter
Class UriTransformer

java.lang.Object
  extended by net.sourceforge.pebble.web.filter.UriTransformer

public class UriTransformer
extends java.lang.Object

Responsible for converting an incoming URI to a real URI used by Pebble.

Author:
Simon Brown

Constructor Summary
UriTransformer()
           
 
Method Summary
 java.lang.String getUri(java.lang.String uri, Blog blog)
          Checks for URI patterns and converts them to the appropriate action.
 java.lang.String getUri(java.lang.String uri, MultiBlog blog)
          Checks for URI patterns and converts them to the appropriate action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UriTransformer

public UriTransformer()
Method Detail

getUri

public java.lang.String getUri(java.lang.String uri,
                               Blog blog)
Checks for URI patterns and converts them to the appropriate action.

Parameters:
uri - the initial URI
blog - the current Blog instance
Returns:
the URI to used to service the original request (could be the same)

getUri

public java.lang.String getUri(java.lang.String uri,
                               MultiBlog blog)
Checks for URI patterns and converts them to the appropriate action.

Parameters:
uri - the initial URI
blog - the current Blog instance
Returns:
the URI to used to service the original request (could be the same)


Copyright © 2003-2006, Simon Brown. All Rights Reserved.