/** * Sets the request remote only. * * @param requestremoteOnly the new request remote only */ public void setRequestRemoteOnly( boolean requestRemoteOnly ) { getRequestContext().setRequestRemoteOnly( requestRemoteOnly ); }
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 ); }