Back to project page ElyTheme.
The source code is released under:
GNU General Public License
If you think the Android project ElyTheme listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.afollestad.silk.http; // w w w.j a v a 2 s. c o m import ch.boye.httpclientandroidlib.Header; /** * Represents a header for an HTTP request. * * @author Aidan Follestad (afollestad) */ public class SilkHttpHeader { private final String mName; private final String mValue; public SilkHttpHeader(String name, String value) { mName = name; mValue = value; } public SilkHttpHeader(Header header) { this(header.getName(), header.getValue()); } public String getName() { return mName; } public String getValue() { return mValue; } @Override public String toString() { return mName + " = " + mValue; } }