public static FoxHttpAuthorizationScope create(final String url, final RequestType requestType) {
        if (url == null) {
            throw new IllegalArgumentException("url can not be null");
        }
        if (requestType == null) {
            throw new IllegalArgumentException("requestType can not be null");
        }
        if (url.length() == 0) {
            throw new IllegalArgumentException("url can not be empty");
        }
        return new FoxHttpAuthorizationScope(url, requestType.toString());
    }
public static FoxHttpAuthorizationScope create ( final String url , final RequestType requestType ) { if ( url == null ) { throw new IllegalArgumentException ( "url can not be null" ) ; } if ( requestType == null ) { throw new IllegalArgumentException ( "requestType can not be null" ) ; } if ( url . length ( ) == 0 ) { throw new IllegalArgumentException ( "url can not be empty" ) ; } return new FoxHttpAuthorizationScope ( url , requestType . toString ( ) ) ; }
Creates a new instance of {@link FoxHttpAuthorizationScope}.

@param url         The url to use for the FoxHttpAuthorizationScope.
@param requestType The requestType to use for the FoxHttpAuthorizationScope.
@return FoxHttpAuthorizationScope