Class RequestBodyExtractor

java.lang.Object
com.arms.api.util.RequestBodyExtractor

@Component public class RequestBodyExtractor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<String>
    extract(org.springframework.http.server.reactive.ServerHttpRequest request)
    HTTP Request Body 추출 (Content-Type에 따라 JSON으로 변환) - application/x-www-form-urlencoded: URL 디코딩 후 JSON으로 변환 - application/json: 그대로 반환

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RequestBodyExtractor

      public RequestBodyExtractor()
  • Method Details

    • extract

      public reactor.core.publisher.Mono<String> extract(org.springframework.http.server.reactive.ServerHttpRequest request)
      HTTP Request Body 추출 (Content-Type에 따라 JSON으로 변환) - application/x-www-form-urlencoded: URL 디코딩 후 JSON으로 변환 - application/json: 그대로 반환