0
나는 모든 클라이언트에 응답하는 편안한 게시 방법을 사용하고 있습니다. 호출되면 표준 쿼리를 실행하고 그 결과를 호출자에게 반환합니다.Restable Java의 발신자 주소
이 메서드에서 호출자 URL을 기록하려고합니다. 발신자 URL을받는 방법?
@POST
public static Response makeQuery() {
return Response.ok(query()).build(); // invoke query() and hand in the result
}
중복 http://stackoverflow.com/questions/5118752/how-do-i-access-the-http-request? – numX