Examples of toURI()


Examples of org.restlet.data.Reference.toUri()

            String q = form.getQueryString();

            Reference redirRef = new Reference(params.getBaseRef(),
                    params.getAuthorizePath(), q, null);
            getLogger().info("Redirecting to : " + redirRef.toUri());
            // response.redirectSeeOther(redirRef);
            response.setCacheDirectives(no);
            response.redirectTemporary(redirRef);
            // response.commit();
            getLogger().info("After Redirecting to : " + redirRef.toUri());
View Full Code Here

Examples of org.semanticweb.owlapi.model.IRI.toURI()

                if (sup != null && !formats.contains(sup)) formats.add(sup);
        }

        for (String currentFormat : formats) {
            try {
                final URLConnection con = location.toURI().toURL().openConnection();
                con.setRequestProperty("Accept", currentFormat);
                final InputStream is = con.getInputStream();
                if (is != null) {
                    /*
                     * We provide the current format, so the recursive call won't be trying to sort preferred
View Full Code Here

Examples of org.springframework.web.util.UriComponents.toUri()

    delegate.createCluster(request.getClusterId(), request.getClusterDef(), projectionData, extraProperties);

    HttpHeaders responseHeaders = new HttpHeaders();
    UriComponents uriComponents = MvcUriComponentsBuilder
          .fromMethodCall(on(YarnContainerClusterMvcEndpoint.class).clusterInfo(request.getClusterId())).build();
    responseHeaders.setLocation(uriComponents.toUri());

    return new ResponseEntity<Void>(responseHeaders, HttpStatus.CREATED);
  }

  /**
 
View Full Code Here

Examples of org.uberfire.backend.vfs.ObservablePath.toURI()

        @Override
        public boolean matches( Object argument ) {
            if ( argument instanceof ObservablePath ) {
                final ObservablePath that = (ObservablePath) argument;
                return that.toURI().equals( path.toURI() );
            }
            return false;
        }

    }
View Full Code Here

Examples of org.uberfire.backend.vfs.Path.toURI()

    @Override
    public String getRepositoryGlobalDir(String uuid) {
        if(uuid != null) {
            Path uuidPath = vfsServices.get(UriUtils.encode(uuid) );
            String pathURI = uuidPath.toURI();

            if(pathURI != "/") {
                String[] pathParts = pathURI.split("/");
                try {
                    String pathProjectName = pathParts[3];
View Full Code Here

Examples of org.uberfire.java.nio.file.Path.toUri()

                final Path resource = Paths.convert( pathCollectionEntry.getKey() );

                checkNotNull( "type", type );
                checkNotNull( "resource", resource );

                final String destinationPath = resource.toUri().toString().substring( projectPrefix.length() + 1 );
                changedFilesKieBuilderPaths.add( destinationPath );
                switch ( type ) {
                    case ADD:
                    case UPDATE:
                        //Only files can be processed
View Full Code Here
TOP
Copyright © 2015 www.massapi.com. 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.