com.ning.http.client
Class Response.ResponseBuilder
java.lang.Object
com.ning.http.client.Response.ResponseBuilder
- Enclosing interface:
- Response
public static class Response.ResponseBuilder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Response.ResponseBuilder
public Response.ResponseBuilder()
accumulate
public Response.ResponseBuilder accumulate(HttpContent httpContent)
- Accumulate
HttpContent
in order to build a Response
- Parameters:
httpContent
- HttpContent
- Returns:
- this
build
public Response build()
- Build a
Response
instance
- Returns:
- a
Response
instance
reset
public void reset()
- Reset the internal state of this builder.
Copyright © 2011. All Rights Reserved.