org.repoweb.action
Class UriBeautifier

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.repoweb.action.UriBeautifier

public class UriBeautifier
extends org.apache.struts.action.Action

Transform an URI to action call.

Read URI such as : repository/junit/jars/junti-3.8.1.jar.


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
UriBeautifier()
           
 
Method Summary
static org.apache.struts.action.ActionForward buildActionForwardTo(Artifact artifact)
           
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm objForm, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UriBeautifier

public UriBeautifier()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm objForm,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse res)

buildActionForwardTo

public static org.apache.struts.action.ActionForward buildActionForwardTo(Artifact artifact)


Copyright © 2003-2005 Repoweb. All Rights Reserved.