- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getHandlerName (0.33 sec)
-
cmd/api-utils.go
return s3URLEncode(name) } return name } // getHandlerName returns the name of the handler function. It takes the type // name as a string to clean up the name retrieved via reflection. This function // only works correctly when the type is present in the cmd package. func getHandlerName(f http.HandlerFunc, cmdType string) string { name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
final DataStoreFactory dataStoreFactory = ComponentUtil.getDataStoreFactory(); dataStore = dataStoreFactory.getDataStore(dataConfig.getHandlerName()); if (dataStore == null) { logger.error("DataStore({}) is not found.", dataConfig.getHandlerName()); } else { try { dataStore.store(dataConfig, indexUpdateCallback, initParamMap);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsDataConfig.java
} public void setDescription(String value) { registerModifiedProperty("description"); this.description = value; } public String getHandlerName() { checkSpecifiedProperty("handlerName"); return convertEmptyToNull(handlerName); } public void setHandlerName(String value) { registerModifiedProperty("handlerName");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java
setupEpg(_epgMap, et -> ((DataConfig) et).getDescription(), (et, vl) -> ((DataConfig) et).setDescription(DfTypeUtil.toString(vl)), "description"); setupEpg(_epgMap, et -> ((DataConfig) et).getHandlerName(), (et, vl) -> ((DataConfig) et).setHandlerName(DfTypeUtil.toString(vl)), "handlerName"); setupEpg(_epgMap, et -> ((DataConfig) et).getHandlerParameter(),
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 13.8K bytes - Viewed (0) -
cmd/api-router.go
// Collect all flags with bitwise-OR and assign operator var handlerFlags s3HFlag for _, flag := range flags { handlerFlags |= flag } // Get name of the handler using reflection. handlerName := getHandlerName(f, "objectAPIHandlers") var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) { // Wrap the actual handler with the appropriate tracing middleware. var tracedHandler http.HandlerFunc
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 15:25:16 UTC 2024 - 23.1K bytes - Viewed (0) -
cmd/admin-router.go
// Collect all flags with bitwise-OR and assign operator var handlerFlags hFlag for _, flag := range flags { handlerFlags |= flag } // Get name of the handler using reflection. handlerName := getHandlerName(f, "adminAPIHandlers") var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) { // Update request context with `logger.ReqInfo`. r = r.WithContext(newContext(r, w, handlerName))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 11:35:40 UTC 2024 - 26.2K bytes - Viewed (0)