- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 548 for fallback (0.09 seconds)
-
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
*/ protected void writeJsonResponse(final int status, final String body) { final String callback = LaRequestUtil.getOptionalRequest().map(req -> req.getParameter("callback")).orElse(null); final boolean isJsonp = ComponentUtil.getFessConfig().isApiJsonpEnabled() && StringUtil.isNotBlank(callback); final HttpServletResponse response = LaResponseUtil.getResponse(); response.setStatus(status);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 27 13:56:32 GMT 2026 - 55.4K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java
@Override public int load() { loadCallCount.incrementAndGet(); return loadCallback.call(); } public void setLoadCallback(LoadCallback callback) { this.loadCallback = callback; } public int getLoadCallCount() { return loadCallCount.get(); } } @FunctionalInterface interface LoadCallback {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
schema/callbacks_test.go
return nil } func TestCallback(t *testing.T) { user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user with callback, got error %v", err) } for _, str := range []string{"BeforeSave", "AfterCreate"} { if !reflect.Indirect(reflect.ValueOf(user)).FieldByName(str).Interface().(bool) { t.Errorf("%v should be true", str) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Jan 06 07:02:53 GMT 2022 - 939 bytes - Click Count (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
import kotlinx.coroutines.withTimeout import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketEffect import mockwebserver3.junit5.StartStop import okhttp3.Callback import okhttp3.FailingCall import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClientTestRule import okhttp3.Protocol import okhttp3.Request import okhttp3.Response import okhttp3.ResponseBody
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 5.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java
} @Override public MavenOptions interpolate(UnaryOperator<String> callback) { ArrayList<MavenOptions> interpolatedOptions = new ArrayList<>(options.size()); for (MavenOptions o : options) { interpolatedOptions.add((MavenOptions) o.interpolate(callback)); } return layerMavenOptions(interpolatedOptions); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionAggregation.java
/** * @param op The option of condition to be set up. (NotNull) */ void callback(OP op); } @FunctionalInterface public interface OperatorCall<CA extends EsAbstractConditionAggregation> { void callback(CA query); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmStreamCallback.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.llm; /** * Callback interface for receiving streaming chat responses from LLM. */ @FunctionalInterface public interface LlmStreamCallback { /** * Called for each chunk of the streaming response. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 12 10:32:40 GMT 2026 - 1.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEventCatapult.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.building; /** * Assists in firing events from a generic method by abstracting from the actual callback method to be called on the * listener. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") interface ModelBuildingEventCatapult { /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
import java.util.concurrent.atomic.AtomicBoolean; import org.codelibs.fess.app.service.FailureUrlService; import org.codelibs.fess.ds.DataStore; import org.codelibs.fess.ds.DataStoreFactory; import org.codelibs.fess.ds.callback.IndexUpdateCallback; import org.codelibs.fess.entity.DataStoreParams; import org.codelibs.fess.mylasta.direction.FessConfig; import org.codelibs.fess.opensearch.client.SearchEngineClient;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
UnaryOperator<String> callback = v -> { String r = request.getUserProperties().getProperty(v); if (r == null) { r = request.getSystemProperties().getProperty(v); } return r != null ? r : v; }; return v -> interpolator.interpolate(v, callback); } static class SimpleSession extends DefaultSession {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0)