Class HttpRequestContext.Body
java.lang.Object
io.clientcore.annotation.processor.models.HttpRequestContext.Body
- Enclosing class:
HttpRequestContext
Represents the body of an HTTP request.
-
Constructor Summary
ConstructorsConstructorDescriptionBody(String contentType, TypeMirror parameterType, String parameterName) Constructs a new Body. -
Method Summary
Modifier and TypeMethodDescriptionGets the content type.Gets the parameter name.Gets the parameter type.
-
Constructor Details
-
Body
Constructs a new Body.- Parameters:
contentType- the content type.parameterType- the parameter type.parameterName- the parameter name.
-
-
Method Details
-
getContentType
Gets the content type.- Returns:
- the content type.
-
getParameterType
Gets the parameter type.- Returns:
- the parameter type.
-
getParameterName
Gets the parameter name.- Returns:
- the parameter name.
-