본문 바로가기

스택오버플로우 해석하기

스택오버플로우 해석하기 # 02 ing 분사구문

sentence.

Creates a new Netty-backed HttpClient instance on every call, using the configuration set in the builder at the time of the build method call.

해석

buld 메서드 호출시 builder 에 설정된 구성을 사용하여 모든 호출에 새 Netty 에서 만든 HttpClient 인스턴스를 만든다.

설명

이 문장은 build() 메소드를 설명하는 문장입니다.
(API doc 한 페이지에서 여러 문법이 나오네요.. ^^)
하나하나 뜯어보도록 하겠습니다.

 

Creates a new Netty-backed HttpClient instance / on every call, / using the configuration set in the builder / at the time of the build method call.

 

, using 이 문법이 무엇인지 알고싶습니다..

이 문장도 대충 해석은 됩니다.

  • 새로운 Netty-backed(네티가 만든) HttpClient 를 만든다.
  • 매 호출시마다
  • builder 에 설정 정보를 사용해서
  • build 메소드 호출시에

 

, using  ing 분사구문으로 자세한 문법 설명은 맨 아래 참고해주세요 :)
간단하게 말하면, 문장의 앞과 뒤의 상황이 동시에 일어나는 상황을 부사로 나타낸 것이라고 해석하시면 됩니다.
그래서 해석할때마는 '~하면서' 라고 해석하시면 쉽습니다.

 

Creates a new Netty-backed HttpClient instance / on every call, / using the configuration set in the builder

해석하면, builder 에 설정 정보들을 사용해서 매 호출시마다 Netty 가 만든 HttpClient 인스턴스를 만든다.

 

at the time of the build method call.
build 메소드가 호출될 때

  • at the time of : ~할때


다시 전체 해석을 하면,

Creates a new Netty-backed HttpClient instance / on every call, / using the configuration set in the builder / at the time of the build method call.

build 메소드가 호출할때 builder 의 설정 정보들을 사용해서 새로운 Netty-backed HttpClient instance 를 만든다.

 

원문 링크

NettyAsyncHttpClientBuilder Class

 

NettyAsyncHttpClientBuilder Class

Builder class responsible for creating instances of HttpClient backed by Reactor Netty. Building a new HttpClient instance HttpClient client = new NettyAsyncHttpClientBuilder() .port(8080) .wiretap(true) .build();

docs.microsoft.com

 

오늘의 문법

ing 분사구문

, -ing 로 이어지는 문장을 흔히 볼 수가 있는데
이 문법은 ing 분사구문으로 간단히 앞의 문장과 뒤의 문장이 동시에 일어나는 상황을 서술한다고 생각하시면 됩니다.
해석은 자연스럽게 ~하면서 라고 해석을 하시면 쉽습니다.

 

ing 분사구문

예시부터 보겠습니다.

She took a shower, humming her favorite song.
She went out, slamming the door.
  • She took a shower, humming her favorite song.
    (그녀는 샤워를 하면서 그녀가 제일 좋아하는 노래를 흥얼거렸다.)
  • She went out, slamming the door.
    (그녀는 나가면서 문을 쾅 닫았다.)