- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for methodTest (0.16 sec)
-
cmd/server_test.go
}, }) } // Marshal delete request. deleteReqBytes, err := xml.Marshal(delObjReq) c.Assert(err, nil) // Delete list of objects. request, err = newTestSignedRequest(http.MethodPost, getMultiDeleteObjectURL(s.endPoint, bucketName), int64(len(deleteReqBytes)), bytes.NewReader(deleteReqBytes), s.accessKey, s.secretKey, s.signer) c.Assert(err, nil) response, err = s.client.Do(request)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
cmd/test-utils_test.go
// Register PostPolicy handler. bucket.Methods(http.MethodPost).HeadersRegexp("Content-Type", "multipart/form-data*").HandlerFunc(api.PostPolicyBucketHandler) case "HeadObject": // Register HeadObject handler. bucket.Methods("Head").Path("/{object:.+}").HandlerFunc(api.HeadObjectHandler) case "GetObject": // Register GetObject handler. bucket.Methods(http.MethodGet).Path("/{object:.+}").HandlerFunc(api.GetObjectHandler)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0) -
api/go1.6.txt
pkg net/http, const MethodGet = "GET" pkg net/http, const MethodGet ideal-string pkg net/http, const MethodHead = "HEAD" pkg net/http, const MethodHead ideal-string pkg net/http, const MethodOptions = "OPTIONS" pkg net/http, const MethodOptions ideal-string pkg net/http, const MethodPatch = "PATCH" pkg net/http, const MethodPatch ideal-string pkg net/http, const MethodPost = "POST"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 13 23:40:13 UTC 2016 - 12.9K bytes - Viewed (0) -
cmd/object-handlers_test.go
} } testObject := "testobject" // Initiate Multipart upload for testing CopyObjectPartHandler. rec := httptest.NewRecorder() req, err := newTestSignedRequestV4(http.MethodPost, getNewMultipartURL("", bucketName, testObject), 0, nil, credentials.AccessKey, credentials.SecretKey, nil) if err != nil { t.Fatalf("Failed to create HTTP request for NewMultipart Request: <ERROR> %v", err) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/generic-handlers.go
func guessIsRPCReq(req *http.Request) bool { if req == nil { return false } if req.Method == http.MethodGet && req.URL != nil { switch req.URL.Path { case grid.RoutePath, grid.RouteLockPath: return true } } return (req.Method == http.MethodPost || req.Method == http.MethodGet) && strings.HasPrefix(req.URL.Path, minioReservedBucketPath+SlashSeparator) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 20.7K bytes - Viewed (1) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* constructorDesc.newInstance(...); // Create an instance of Foo * } * * for (String methodName : beanDesc.getMethodNames()) { * for (MethodDesc methodDesc : beanDesc.getMethodDescs(methodName)) { * methodDesc.invoke(foo, ...); // Invoke Foo's method * } * } * </pre> * * @author higa * @see BeanDescFactory */ public interface BeanDesc { /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 24 01:52:43 UTC 2025 - 7.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
for (final String methodName : beanDesc.getMethodNames()) { final MethodDesc methodDesc = beanDesc.getMethodDescNoException(methodName); if (methodDesc != null) { final Method method = methodDesc.getMethod(); final PreDestroy postConstruct = method.getAnnotation(PreDestroy.class);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); MethodDesc methodDesc = beanDesc.getMethodDescNoException("getAaa"); assertThat(methodDesc, is(notNullValue())); assertThat(methodDesc.getMethodName(), is("getAaa")); methodDesc = beanDesc.getMethodDescNoException("getaaa"); assertThat(methodDesc, is(nullValue())); } /** * @throws Exception */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
cmd/healthcheck-router.go
// Cluster check handler to verify cluster is active healthRouter.Methods(http.MethodGet).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler)) healthRouter.Methods(http.MethodHead).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler)) healthRouter.Methods(http.MethodGet).Path(healthCheckClusterReadPath).HandlerFunc(httpTraceAll(ClusterReadCheckHandler))
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 23 11:12:47 UTC 2023 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
* @return a {@link MethodDesc} that matches the arguments, or {@literal null} if none exists */ protected MethodDesc findSuitableMethodDescAdjustNumber(final MethodDesc[] methodDescs, final Object[] args) { for (final MethodDesc methodDesc : methodDescs) { if (isSuitable(methodDesc.getParameterTypes(), args, true)) { return methodDesc; } }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1)