Package com.pugh.sockso.web.action

Examples of com.pugh.sockso.web.action.BaseAction


    public BaseAction getAction( final Request req ) {

        final String command = req.getUrlParam( 0 );
        final String host = getHost();

        BaseAction action = null;
       
        if ( command.equals("file") ) {
            final String fileType = req.getUrlParam( 1 );
            if ( fileType != null && fileType.equals("cover") ) {
                action = getCoverer();
View Full Code Here


        expect( req.getUrlParam(0) ).andReturn( "--DOES-NOT-EXIST--" );
        replay( req );

        final Dispatcher d = new Dispatcher( injector, new StringProperties() );
        d.init( "http", 4444 );
        final BaseAction a = d.getAction( req );
       
        assertNull( a );
       
        verify( req );
       
View Full Code Here

TOP

Related Classes of com.pugh.sockso.web.action.BaseAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.