public class UrlEncodedFormEntityBody extends AbstractByteArrayBody<Collection<? extends NameValuePair>> implements FormBody
| 构造器和说明 |
|---|
UrlEncodedFormEntityBody(Collection<? extends NameValuePair> params) |
UrlEncodedFormEntityBody(Collection<? extends NameValuePair> params,
Charset charset) |
UrlEncodedFormEntityBody(Collection<? extends NameValuePair> params,
String charset) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte[] |
contentAsBytes() |
Collection<? extends NameValuePair> |
getContent() |
ContentType |
getContentType() |
getBuffer, getContentLength, getContentStream, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentLength, getContentStream, getContentTypeHeader, writeTo, writeTopublic UrlEncodedFormEntityBody(Collection<? extends NameValuePair> params)
public UrlEncodedFormEntityBody(Collection<? extends NameValuePair> params, Charset charset)
public UrlEncodedFormEntityBody(Collection<? extends NameValuePair> params, String charset)
public ContentType getContentType()
getContentType 在接口中 ContentBody<Collection<? extends NameValuePair>>public Collection<? extends NameValuePair> getContent()
getContent 在接口中 ContentBody<Collection<? extends NameValuePair>>protected byte[] contentAsBytes()
contentAsBytes 在类中 AbstractByteArrayBody<Collection<? extends NameValuePair>>Copyright © 2024. All rights reserved.