Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for baseUrl (0.06 sec)

  1. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * http://localhost:53203/oauth/}, passing the same port to this class’ constructor.
     */
    public final class SlackApi {
      private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/");
      private final OkHttpClient httpClient;
      private final Moshi moshi;
    
      public final String clientId;
      public final String clientSecret;
      public final int port;
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

            final String[] path = referenceClass.getName().split("\\.");
            String baseUrl = url.toExternalForm();
            for (final String element : path) {
                final int pos = baseUrl.lastIndexOf('/');
                baseUrl = baseUrl.substring(0, pos);
            }
            return getTraverser(URLUtil.create(baseUrl + '/'), null, null);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. mockwebserver/README.md

      server.start();
    
      // Ask the server for its URL. You'll need this to make HTTP requests.
      HttpUrl baseUrl = server.url("/v1/chat/");
    
      // Exercise your application code, which should make those HTTP requests.
      // Responses are returned in the same order that they are enqueued.
      Chat chat = new Chat(baseUrl);
    
      chat.loadMore();
      assertEquals("hello, world!", chat.messages());
    
      chat.loadMore();
      chat.loadMore();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

    ) {
      private val moshi = Moshi.Builder().build()
    
      private val moshiConverterFactory = MoshiConverterFactory.create(moshi)
    
      private val retrofit =
        Retrofit
          .Builder()
          .baseUrl(SslLabsApi.BASE_URL)
          .addConverterFactory(moshiConverterFactory)
          .callFactory(callFactory)
          .build()
    
      private val sslLabsApi = retrofit.create(SslLabsApi::class.java)
    
      suspend fun clients(): List<Client> =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         * Normalizes the canonical URL relative to the base URL.
         *
         * @param baseUrl the base URL
         * @param canonicalUrl the canonical URL to normalize
         * @return the normalized canonical URL
         */
        protected String normalizeCanonicalUrl(final String baseUrl, final String canonicalUrl) {
            try {
                final URL u = new URL(baseUrl);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsApi.kt

     */
    package okhttp3.survey.ssllabs
    
    import retrofit2.http.GET
    
    interface SslLabsApi {
      @GET("getClients")
      suspend fun clients(): List<UserAgentCapabilities>
    
      companion object {
        const val BASE_URL = "https://api.ssllabs.com/api/v3/"
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 844 bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

        private static final String NAME_PREFIX = "crawlingInfoTest_";
    
        private static String webConfigId;
    
        @BeforeAll
        protected static void initAll() {
            RestAssured.baseURI = getFessUrl();
            settingTestToken();
    
            // create and execute a web crawler
            createWebConfig();
            logger.info("WebConfig is created");
            refresh();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrudTestBase.java

        // ================
        // Constant
        // ================
        protected String getIdKey() {
            return "id";
        }
    
        @BeforeAll
        protected static void initAll() {
            RestAssured.baseURI = getFessUrl();
            settingTestToken();
        }
    
        @BeforeEach
        protected void init() {
        }
    
        @AfterEach
        protected void tearDown() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        private static String fileConfigId;
        private static String labelId;
        private static String crawlLabelId;
    
        @BeforeAll
        protected static void initAll() {
            RestAssured.baseURI = getFessUrl();
            settingTestToken();
    
            // create and execute a file crawler
            labelId = createLabel();
            crawlLabelId = createCrawlLabel();
    
            createFileConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top