public static class

Response.ResponseBuilder

extends Object
java.lang.Object
   ↳ com.ning.http.client.Response.ResponseBuilder

Summary

Public Constructors
Response.ResponseBuilder()
Public Methods
Response.ResponseBuilder accumulate(HttpContent httpContent)
Accumulate HttpContent in order to build a Response
Response build()
Build a Response instance
void reset()
Reset the internal state of this builder.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Response.ResponseBuilder ()

Public Methods

public Response.ResponseBuilder accumulate (HttpContent httpContent)

Accumulate HttpContent in order to build a Response

Parameters
httpContent HttpContent
Returns
  • this

public Response build ()

Build a Response instance

Returns

public void reset ()

Reset the internal state of this builder.