/** * Sets the request local only. * * @param requestLocalOnly the new request local only */ public void setRequestLocalOnly( boolean requestLocalOnly ) { getRequestContext().setRequestLocalOnly( requestLocalOnly ); }
public ResourceStoreRequest( String requestPath, boolean localOnly, boolean remoteOnly ) { super(); this.requestPath = requestPath; this.pathStack = new Stack<String>(); this.processedRepositories = new ArrayList<String>(); this.appliedMappings = new HashMap<String, List<String>>(); this.requestContext = new RequestContext(); this.requestContext.setRequestLocalOnly( localOnly ); this.requestContext.setRequestRemoteOnly( remoteOnly ); }