org.springframework.extensions.surf
Interface PageMapper

All Known Implementing Classes:
AbstractPageMapper, DefaultPageMapper

public interface PageMapper

Interface for custom PageMapper implementations. A PageMapper is utilized by the request context instantiation process to map from page parameters (on the URL) into the current request context. Classes implementing this interface are responsible for populating context onto a given request context instance.

Author:
muzquiano

Method Summary
 void execute(RequestContext context, javax.servlet.ServletRequest request)
          Execute the page mapper against the given request and populate into the provided request context instance.
 

Method Detail

execute

void execute(RequestContext context,
             javax.servlet.ServletRequest request)
             throws PageMapperException
Execute the page mapper against the given request and populate into the provided request context instance.

Parameters:
context - the context
request - the request
Throws:
PageMapperException


Copyright © 2009 SpringSource, Inc. All Rights Reserved.