com.koushikdutta.async.http
Interface AsyncHttpRequestBody<T>

All Known Implementing Classes:
JSONObjectBody, MultipartFormDataBody, StringBody, UnknownRequestBody, UrlEncodedFormBody

public interface AsyncHttpRequestBody<T>


Method Summary
 T get()
           
 java.lang.String getContentType()
           
 int length()
           
 void parse(DataEmitter emitter, CompletedCallback completed)
           
 boolean readFullyOnRequest()
           
 void write(AsyncHttpRequest request, AsyncHttpResponse sink)
           
 

Method Detail

write

void write(AsyncHttpRequest request,
           AsyncHttpResponse sink)

parse

void parse(DataEmitter emitter,
           CompletedCallback completed)

getContentType

java.lang.String getContentType()

readFullyOnRequest

boolean readFullyOnRequest()

length

int length()

get

T get()