-
Notifications
You must be signed in to change notification settings - Fork 0
18.07.17
chy edited this page Jul 31, 2018
·
2 revisions
re.finall('pattern', 'string') # result listUriComponentsBuilder.newInstance().scheme("http").host("localhost")
.port(3000).path("/path/{expand}")
.queryParam("name", "values")
.queryParams(body).epand("expand")
.build().toUri();url을 만들 때 사용, expand는 path의 변수들을 확장할 때 사용
JSONObject obj = new JSONObject(jsonStr);get parameter는 request body에 담아서 전송할 수 없음. → uri를 활용
public void foo(String ... args) {
}
public void bar(String [] args) {
}
// foo, bar는 똑같음리스트 형식의 파라미터를 넘길때는 parameter_name[]으로 지정해야함
ids[]=a&ids[]=b ...