This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package jdk9; | |
import jdk.incubator.http.HttpClient; | |
import jdk.incubator.http.HttpRequest; | |
import jdk.incubator.http.HttpResponse; | |
import java.net.URI; | |
/** | |
* JDK 기본 제공하는 HTTP 클라이언트의 초간단 테스트 (GET) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package striped; | |
import com.google.common.util.concurrent.Striped; | |
import java.util.HashMap; | |
import java.util.Map; | |
import java.util.concurrent.Semaphore; | |
/** | |
* Created by chanwook on 2014. 7. 16.. |