- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 491 for Json (0.02 seconds)
-
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
// ============== /** * Retrieves the list of available log files. * * @return JSON response containing log file list */ // GET /api/admin/log/files @Execute public JsonResponse<ApiResult> files() { final List<Map<String, Object>> list = getLogFileItems();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
src/main/webapp/js/search.js
if (values.length === 2 && $queryId.length > 0) { var docId = values[1]; var actionUrl = contextPath + "/api/v1/documents/" + docId + "/favorite"; $.ajax({ dataType: "json", cache: false, type: "post", timeout: AJAX_TIMEOUT, url: actionUrl, data: { queryId: $queryId.val() } }) .done(function(data) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 6.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
import com.google.gson.Gson import com.google.gson.GsonBuilder import com.google.gson.reflect.TypeToken import common.Arch import common.Os import common.VersionedSettingsBranch import configurations.ParallelizationMethod import java.io.File import java.util.LinkedList const val MASTER_CHECK_CONFIGURATION = "Gradle_Master_Check" const val MAX_PROJECT_NUMBER_IN_BUCKET = 11 /**
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/RateLimitFilter.java
*/ protected void sendBlockedResponse(final HttpServletResponse response) throws IOException { response.setStatus(HttpServletResponse.SC_FORBIDDEN); response.setContentType("application/json;charset=UTF-8"); response.getWriter().write("{\"error\":\"ip_blocked\",\"message\":\"Access denied.\"}"); } /** * Send a 429 Too Many Requests response. * @param response the HTTP responseCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 4.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy
@TaskAction void clean() { def jsonFileManager = new AcceptedApiChangesJsonFileManager() jsonFileDirectory.asFile.get().listFiles() ?.findAll { it.name.endsWith(".json") } ?.each { jsonFileManager.emptyAcceptedApiChanges(it) } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 05 08:27:29 GMT 2024 - 1.6K bytes - Click Count (0) -
docs/recipes.md
System.out.println(response.body().string()); } } ``` ### Parse a JSON Response With Moshi ([.kt][ParseResponseWithMoshiKotlin], [.java][ParseResponseWithMoshiJava]) [Moshi](https://github.com/square/moshi) is a handy API for converting between JSON and Java objects. Here we're using it to decode a JSON response from a GitHub API.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
"-d", "foo", "-H", "Content-Type: application/json", "http://example.com", ).createRequest() val body = request.body assertThat(request.method).isEqualTo("POST") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(body!!.contentType().toString()) .isEqualTo("application/json; charset=utf-8") assertThat(bodyAsString(body)).isEqualTo("foo") }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
server.enqueue( MockResponse( code = 401, body = "{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}", headers = Headers.headersOf("content-type", "application/json"), ), ) server.enqueue( MockResponse( body = """ |data: hey | | """.trimMargin(),
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/StorageTests.java
} @Test void testCreateDir_ok() { // Create a directory Response response = given().contentType("application/json") .header("Authorization", getTestToken()) .body("{\"name\":\"" + NAME_PREFIX + "testdir\"}") .when() .post(getApiPath() + "/createDir/");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/SearchRequestParams.java
*/ public enum SearchRequestType { /** Search request type. */ SEARCH, /** Admin search request type. */ ADMIN_SEARCH, /** JSON request type. */ JSON, /** GSA request type. */ GSA, /** Suggest request type. */ SUGGEST; } /** * Returns the response fields. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8K bytes - Click Count (0)