244.4. 끝점 옵션


끝점 URI에서 또는 메시지 헤더에서 동적으로 끝점 옵션을 제공할 수 있습니다. 메시지 헤더 이름은 CamelOlingo2.<option> 형식이어야 합니다. inBody 옵션은 메시지 헤더를 덮어씁니다. 즉 inBody=option 의 엔드포인트 옵션은 CamelOlingo2.option 헤더를 재정의합니다. 또한 쿼리 매개 변수를 지정할 수 있습니다.In addition, query parameters can be specified. 

Expand
이름유형설명

data

개체

OData 리소스를 만들거나 수정하는 데 사용되는 적절한 유형의 데이터

keyPredicate

문자열

매개 변수가 있는 OData 리소스 끝점을 생성하는 키 서술자입니다. 헤더에 키 서술자 값이 동적으로 제공되는 생성/업데이트 작업에 유용합니다.

queryParams

java.util.Map<String,String>

OData 시스템 옵션 및 사용자 정의 쿼리 옵션. 자세한 내용은 OData 2.0 URI 규칙에서 참조하십시오.

resourcePath

문자열

OData 리소스 경로는 키 서술자를 포함하거나 포함하지 않을 수 있습니다.

endpointHttpHeaders

java.util.Map<String, String>

끝점으로 보낼 동적 HTTP 헤더

responseHttpHeaders

java.util.Map<String, String>

끝점의 동적 HTTP 응답 헤더

resourcePath 옵션은 URI 경로의 일부로 URI 경로의 일부로 지정된 in에 있는 ?resourcePath=<resource-path> 또는 헤더 값 CamelOlingo2.resourcePath로 사용할 수 있습니다. OData 엔터티 키 서술자는 리소스 경로의 일부일 수 있습니다(예: manufacturers ( ' 1' ), 여기서 '__1' 은 핵심 서술자이거나 리소스 경로 manufacturers 및 keyPredicate 옵션 '1'로 별도로 지정됩니다.  

Expand
끝점옵션HTTP 메서드결과 본문 유형

batch

data, endpointHttpHeaders

multipart/mixed 일괄 요청이 있는 POST

java.util.List<org.apache.camel.component.olingo2.api.batch.Olingo2BatchResponse>

create

data, resourcePath, endpointHttpHeaders

POST

org.apache.olingo.odata2.api.ep.entry.ODataEntry - 다른 OData 리소스의 경우 org.apache.olingo.odata2.api.commons.HttpStatusCodes

delete

resourcePath, endpointHttpHeaders

DELETE

org.apache.olingo.odata2.api.commons.HttpStatusCodes

merge

data, resourcePath, endpointHttpHeaders

MERGE

org.apache.olingo.odata2.api.commons.HttpStatusCodes

patch

data, resourcePath, endpointHttpHeaders

PATCH

org.apache.olingo.odata2.api.commons.HttpStatusCodes

read

queryParams, resourcePath, endpointHttpHeaders

GET

다음에 설명되는 OData 리소스에 따라 쿼리됩니다.Depends on OData resource being queried as described next.

update

data, resourcePath, endpointHttpHeaders

PUT

org.apache.olingo.odata2.api.commons.HttpStatusCodes

맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat