Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for routes (0.16 sec)

  1. android/guava/src/com/google/common/xml/XmlEscapers.java

       * safely be included in an XML document as element content. See section <a
       * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification.
       *
       * <p><b>Note:</b> Double and single quotes are not escaped, so it is <b>not safe</b> to use this
       * escaper to escape attribute values. Use {@link #xmlContentEscaper} if the output can appear in
       * element content or {@link #xmlAttributeEscaper} in attribute values.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/Authenticate.java

    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class Authenticate {
      private final OkHttpClient client;
    
      public Authenticate() {
        client = new OkHttpClient.Builder()
            .authenticator((route, response) -> {
              if (response.request().header("Authorization") != null) {
                return null; // Give up, we've already attempted to authenticate.
              }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

      public void testXmlContentEscaper() throws Exception {
        CharEscaper xmlContentEscaper = (CharEscaper) XmlEscapers.xmlContentEscaper();
        assertBasicXmlEscaper(xmlContentEscaper, false, false);
        // Test quotes are not escaped.
        assertEquals("\"test\"", xmlContentEscaper.escape("\"test\""));
        assertEquals("'test'", xmlContentEscaper.escape("'test'"));
      }
    
      public void testXmlAttributeEscaper() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 4.7K bytes
    - Viewed (0)
Back to top