All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.ipokerface.weixin.request.http.apache.MinimalField Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package cn.ipokerface.weixin.request.http.apache;

/**
 * Created by       PokerFace
 * Create Date      2019-12-27.
 * Email:           [email protected]
 * Version          1.0.0
 * 

* Description: */ public class MinimalField { private final String name; private final String value; public MinimalField(final String name, final String value) { super(); this.name = name; this.value = value; } public String getName() { return this.name; } public String getBody() { return this.value; } @Override public String toString() { final StringBuilder buffer = new StringBuilder(); buffer.append(this.name); buffer.append(": "); buffer.append(this.value); return buffer.toString(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy