类 AbstractBody<T>

  • 所有已实现的接口:
    Body<T>

    public abstract class AbstractBody<T>
    extends Object
    implements Body<T>
    Request body parent class
    作者:
    Liu Dong
    • 构造器详细资料

      • AbstractBody

        protected AbstractBody​(T body,
                               ContentType contentType)
        Construct a new Body.
        参数:
        body - the body data
        contentType - the content type
    • 方法详细资料

      • body

        public T body()
        从接口复制的说明: Body
        Return the body data.
        指定者:
        body 在接口中 Body<T>
        返回:
        the body
      • contentType

        public ContentType contentType()
        从接口复制的说明: Body
        The content type.
        指定者:
        contentType 在接口中 Body<T>
        返回:
        the content type