public static String param(String name){
        if(name.equals("id")){
            return getId();
        }else if(RequestContext.getRequestVo().getUserSegments().get(name) != null){
            return RequestContext.getRequestVo().getUserSegments().get(name);
        }else if(RequestContext.getRequestVo().getWildCardName() != null
                && name.equals(RequestContext.getRequestVo().getWildCardName())){
            return RequestContext.getRequestVo().getWildCardValue();
        }else{
            return RequestContext.getHttpRequest().getParameter(name);
        }
    }
public static String param ( String name ) { if ( name . equals ( "id" ) ) { return getId ( ) ; } else if ( RequestContext . getRequestVo ( ) . getUserSegments ( ) . get ( name ) != null ) { return RequestContext . getRequestVo ( ) . getUserSegments ( ) . get ( name ) ; } else if ( RequestContext . getRequestVo ( ) . getWildCardName ( ) != null && name . equals ( RequestContext . getRequestVo ( ) . getWildCardName ( ) ) ) { return RequestContext . getRequestVo ( ) . getWildCardValue ( ) ; } else { return RequestContext . getHttpRequest ( ) . getParameter ( name ) ; } }
Returns value of routing user segment, or route wild card value, or request parameter.
If this name represents multiple values, this  call will result in {@link IllegalArgumentException}.

@param name name of parameter.
@return value of routing user segment, or route wild card value, or request parameter.