- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for title (0.12 sec)
-
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
if (!basePath.endsWith("/")) basePath += "/"; StringBuilder response = new StringBuilder(); response.append(String.format("<html><head><title>%s</title></head><body>", basePath)); response.append(String.format("<h1>%s</h1>", basePath)); for (String file : directory.list()) { response.append(String.format("<div class='file'><a href='%s'>%s</a></div>",
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Jan 02 02:50:44 GMT 2019 - 4.7K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
// Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image RequestBody requestBody = new MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("title", "Square Logo") .addFormDataPart("image", "logo-square.png", RequestBody.create( new File("docs/images/logo-square.png"), MEDIA_TYPE_PNG)) .build();
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jun 24 12:59:42 GMT 2019 - 2.2K bytes - Viewed (0)