- containsAttributebool containsAttribute(string key) 
- @param key The key of the attribute we are looking for in the connection 
@return <tt>true</tt> if this connection contains the attribute with
the specified <tt>key</tt>. 
- getAttachmentdeprecated Object getAttachment() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getAttributeObject getAttribute(string key) 
- Returns the value of the user-defined attribute of this connection. 
- getAttributeObject getAttribute(string key, Object defaultValue) 
- Returns the value of user defined attribute associated with the
specified key.  If there's no such attribute, the specified default
value is associated with the specified key, and the default value is
returned.  This method is same with the following code except that the
operation is performed atomically.
<pre>
if (containsAttribute(key)) {
    return getAttribute(key);
} else {
    setAttribute(key, defaultValue);
    return defaultValue;
}
</pre> 
- getAttributeKeysstring[] getAttributeKeys() 
- @return the set of keys of all user-defined attributes. 
- getMethodstring getMethod() 
- getURIHttpURI getURI() 
- getURIStringstring getURIString() 
- @return the HTTP URI in string form 
- headerExistsbool headerExists(HttpHeader header) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- headerExistsbool headerExists(string key) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isChunkedbool isChunked() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isHttpsbool isHttps() 
- Checks whether the request is secure or not. 
- isRequestbool isRequest() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- recyclevoid recycle() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- removeAttributeObject removeAttribute(string key) 
- Removes a user-defined attribute with the specified key. 
- setAttachmentdeprecated void setAttachment(Object attachment) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setAttributeObject setAttribute(string key, Object value) 
- Sets a user-defined attribute. 
- setMethodvoid setMethod(string method) 
- @param method the HTTP method to set 
- setURIvoid setURI(HttpURI uri) 
- @param uri the HTTP URI to set 
- toStringstring toString() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- ConntentTypeHeaderenum string ConntentTypeHeader; 
- Undocumented in source. 
- ConntentLengthHeaderenum string ConntentLengthHeader; 
- Undocumented in source. 
- _contentTypestring _contentType; 
- Undocumented in source. 
- recyclevoid recycle() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isRequestbool isRequest() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- isResponsebool isResponse() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- haveBodybool haveBody() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getHttpVersionHttpVersion getHttpVersion() 
- @return the HTTP version of this HttpMetaData object 
- setHttpVersionvoid setHttpVersion(HttpVersion httpVersion) 
- @param httpVersion the HTTP version to set 
- getFieldsHttpFields getFields() 
- @return the HTTP fields of this HttpMetaData object 
- getTrailerSupplierSupplier!HttpFields getTrailerSupplier() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- setTrailerSuppliervoid setTrailerSupplier(Supplier!HttpFields trailers) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getBodyHttpBody getBody() 
- Returns a non-null value if this response was passed to {@link Callback#onResponse} or returned
from {@link Call#execute()}. Response bodies must be {@linkplain ResponseBody closed} and may
be consumed only once. 
- setBodyHttpMetaData setBody(HttpBody b) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getContentLengthlong getContentLength() 
- @return the content length if available, otherwise {@link Long#MIN_VALUE} 
- getContentTypestring getContentType() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- headersstring[] headers(string name) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- headersstring[] headers(HttpHeader header) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- headerstring header(string name) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- headerstring header(HttpHeader h) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- headersHttpFields headers() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- iteratorInputRange!HttpField iterator() 
- @return an iterator over the HTTP fields
@see #getFields() 
- opApplyint opApply(int delegate(ref HttpField) dg) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- toStringstring toString() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- withBodyalias withBody = setBody 
- Undocumented in source.