Interface DecoratorExecution

All Known Implementing Classes:
DefaultDecoratorExecution

public interface DecoratorExecution
Represents a Decorator execution step.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.HttpEntity<Map<String,Object>>
    createHttpEntity(org.springframework.http.HttpHeaders httpHeaders, Map<String,Object> payload, DecoratorContext context)
    Calls the next decorator in the chain.
  • Method Details

    • createHttpEntity

      org.springframework.http.HttpEntity<Map<String,Object>> createHttpEntity(org.springframework.http.HttpHeaders httpHeaders, Map<String,Object> payload, DecoratorContext context)
      Calls the next decorator in the chain.
      Parameters:
      httpHeaders - The headers to be used for the outgoing request.
      payload - The payload used for the request
      context - Some extra information that can be used by decorators.
      Returns:
      An HttpEntity containing the result of the decoration.