com.bea.p13n.url
Interface UrlRewriterAdapter


public interface UrlRewriterAdapter

Public interface for URL handling.


Field Summary
static String ADAPTER_REQUEST_ATTR_KEY
          The request attribute key to use for the adapter.
 
Method Summary
 String createUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String path, Map<String,Object> parameters)
          Creates an URL and returns in the form of a String.
 

Field Detail

ADAPTER_REQUEST_ATTR_KEY

static final String ADAPTER_REQUEST_ATTR_KEY
The request attribute key to use for the adapter.

Method Detail

createUrl

String createUrl(javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response,
                 String path,
                 Map<String,Object> parameters)
Creates an URL and returns in the form of a String.

Parameters
request - The javax.servlet.ServletRequest
response - The javax.servlet.ServletResponse
path - The path to the resource
parameters - A map of query parameters
Returns
A "stringified" version of the url.


Copyright © 2011, Oracle. All rights reserved.