Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for json (0.15 sec)

  1. samples/guide/src/main/java/okhttp3/guide/PostExample.java

    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public class PostExample {
      public static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
    
      final OkHttpClient client = new OkHttpClient();
    
      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

      private static final String ENDPOINT = "https://api.github.com/repos/square/okhttp/contributors";
      private static final Moshi MOSHI = new Moshi.Builder().build();
      private static final JsonAdapter<List<Contributor>> CONTRIBUTORS_JSON_ADAPTER = MOSHI.adapter(
          Types.newParameterizedType(List.class, Contributor.class));
    
      static class Contributor {
        String login;
        int contributions;
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String API_SEARCH_SCROLL = "api.search.scroll";
    
        /** The key of the configuration. e.g.  */
        String API_JSON_RESPONSE_HEADERS = "api.json.response.headers";
    
        /** The key of the configuration. e.g. false */
        String API_JSON_RESPONSE_EXCEPTION_INCLUDED = "api.json.response.exception.included";
    
        /** The key of the configuration. e.g.  */
        String API_GSA_RESPONSE_HEADERS = "api.gsa.response.headers";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 459.2K bytes
    - Viewed (5)
  4. src/main/java/org/codelibs/core/text/JsonUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.text;
    
    /**
     * JSON utilities.
     *
     * @author shinsuke
     *
     */
    public class JsonUtil {
    
        /**
         * Defualt constructor.
         */
        protected JsonUtil() {
        }
    
        /**
         * Escapes a value as Json string.
         *
         * @param value input
         * @return escaped string.
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: JavaScript */
        public static final String LABELS_facet_filetype_javascript = "{labels.facet_filetype_javascript}";
    
        /** The key of the message: Json */
        public static final String LABELS_facet_filetype_json = "{labels.facet_filetype_json}";
    
        /** The key of the message: OCaml */
        public static final String LABELS_facet_filetype_ocaml = "{labels.facet_filetype_ocaml}";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.upgrades;
    
    import com.google.gson.Gson;
    import com.google.gson.reflect.TypeToken;
    import gradlebuild.binarycompatibility.upgrades.UpgradedProperty.AccessorKey;
    import gradlebuild.binarycompatibility.upgrades.UpgradedProperty.ReplacedAccessor;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.upgrades;
    
    import com.google.common.collect.ImmutableList;
    import com.google.gson.annotations.SerializedName;
    import japicmp.model.JApiMethod;
    
    import java.util.List;
    import java.util.Objects;
    
    public class UpgradedProperty {
        private final String propertyName;
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    stakat?moihsagih??na&mihcahimo?nok??o&hsia?mag?t&asoyot?ok?tir???us&ay?t&asuk?o??????k&aso!.&a&d&awihsik?eki??k&a&noyot?s&akaayahihc?oihsagih???oadat?uziak??m&ayas!akaso??odak??r&a&bustam?wihsak??ediijuf??t&akarih?i&k?us???wag&ayen?odoyihsagih???e&son?tawanojihs??honim?i&akas?h&cugirom?s&ayabadnot?i&a&kat?t??n??oyimusihsagih???k&a&rabi?sim??ustakat??muzi?r&ijat?otamuk???nan&ak?n&ah?es???o&ay?n&a&ganihcawak?simuzi?tak??eba?ikibah?oyot??t&anim?iad?omamihs??uhc??ust&oimuzi?tes????ou&kuf!.&a&d&amay?...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  9. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

        }
    
        @Test
        void wagonProviderConfigurationTest() throws InvalidRepositoryException {
            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            Xpp3Dom wagonProvider = new Xpp3Dom("wagonProvider");
            wagonProvider.setValue("httpclient");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            assertEquals(basedir, new File(repo.getBasedir()));
        }
    
        @Test
        void testAuthenticationHandling() {
            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
    
            ArtifactRepository repository =
                    repositorySystem.createArtifactRepository("repository", "http://foo", null, null, null);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.4K bytes
    - Viewed (0)
Back to top