Class HttpRequestContext.Body

java.lang.Object
io.clientcore.annotation.processor.models.HttpRequestContext.Body
Enclosing class:
HttpRequestContext

public static class HttpRequestContext.Body extends Object
Represents the body of an HTTP request.
  • Constructor Details

    • Body

      public Body(String contentType, TypeMirror parameterType, String parameterName)
      Constructs a new Body.
      Parameters:
      contentType - the content type.
      parameterType - the parameter type.
      parameterName - the parameter name.
  • Method Details

    • getContentType

      public String getContentType()
      Gets the content type.
      Returns:
      the content type.
    • getParameterType

      public TypeMirror getParameterType()
      Gets the parameter type.
      Returns:
      the parameter type.
    • getParameterName

      public String getParameterName()
      Gets the parameter name.
      Returns:
      the parameter name.