Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for GetResource (0.17 sec)

  1. cmd/handler-utils.go

    	}
    }
    
    func collectAPIStats(api string, f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		resource, err := getResource(r.URL.Path, r.Host, globalDomainNames)
    		if err != nil {
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    			apiErr := errorCodes.ToAPIErr(ErrUnsupportedHostHeader)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  2. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
      val lines =
        inputFile?.readLines() ?: sampleTestClass.getResource("/testlist.txt").readText().lines()
    
      val flatClassnameList =
        lines
          .filter { it.isNotBlank() }
    
      return flatClassnameList
        .mapNotNull {
          try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/wagon/wagon-provider-api/1.0-beta-2/wagon-provider-api-1.0-beta-2.jar

    void TransferEvent(org.apache.maven.wagon.Wagon, org.apache.maven.wagon.resource.Resource, Exception, int); public org.apache.maven.wagon.resource.Resource getResource(); public Exception getException(); public int getRequestType(); public void setRequestType(int); public int getEventType(); public void setEventType(int); public void setResource(org.apache.maven.wagon.resource.Resource); public java.io.File getLocalFile(); public void setLocalFile(java.io.File); } org/apache/maven/wagon/events/WagonEvent.class...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 45.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/TraversalUtil.java

         */
        public static Traverser getTraverser(final Class<?> referenceClass) {
            assertArgumentNotNull("referenceClass", referenceClass);
    
            final URL url = ResourceUtil.getResource(toClassFile(referenceClass.getName()));
            final String[] path = referenceClass.getName().split("\\.");
            String baseUrl = url.toExternalForm();
            for (final String element : path) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            request.setProcessPlugins(false);
            request.setValidationLevel(ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL);
    
            ModelSource modelSource = new UrlModelSource(getClass().getResource("standalone.xml"));
    
            MavenProject project = projectBuilder.build(modelSource, request).getProject();
            project.setExecutionRoot(true);
            return project;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

            this(wagon, TRANSFER_ERROR, requestType, artifact);
    
            this.exception = exception;
        }
    
        public ArtifactTransferResource getResource() {
            return artifact;
        }
    
        /**
         * @return Returns the exception.
         */
        public Exception getException() {
            return exception;
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

    import org.junit.Test;
    import org.junit.rules.ExpectedException;
    import org.junit.rules.TemporaryFolder;
    
    /**
     * @author wyukawa
     *
     */
    public class PropertiesUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         *
         */
        @Rule
        public TemporaryFolder tempFolder = new TemporaryFolder();
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/FileUtil.java

        public static String readText(final String path, final String encoding) {
            assertArgumentNotEmpty("path", path);
            assertArgumentNotEmpty("encoding", encoding);
    
            final URL url = ResourceUtil.getResource(path);
            if (url.getProtocol().equals("file")) {
                return readText(URLUtil.toFile(url), encoding);
            }
            final InputStream is = URLUtil.openStream(url);
            try {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. istioctl/pkg/wait/wait_test.go

    				t.Fatal(err)
    			}
    			fc := k.Dynamic().(*dynamicfake.FakeDynamicClient)
    			fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) {
    				gvr := action.GetResource()
    				ns := action.GetNamespace()
    				watch, err := fc.Tracker().Watch(gvr, ns)
    				if err != nil {
    					return false, nil, err
    				}
    				// Kubernetes Fake watches do not add initial state, but real server does
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

        /**
         * Returns the url identifying the resource.
         *
         * <p>See {@link ClassLoader#getResource}
         *
         * @throws NoSuchElementException if the resource cannot be loaded through the class loader,
         *     despite physically existing in the class path.
         */
        public final URL url() {
          URL url = loader.getResource(resourceName);
          if (url == null) {
            throw new NoSuchElementException(resourceName);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
Back to top