com.ning.http.client.filter
Class FilterContext.FilterContextBuilder<T>

java.lang.Object
  extended by com.ning.http.client.filter.FilterContext.FilterContextBuilder<T>
Enclosing class:
FilterContext<T>

public static class FilterContext.FilterContextBuilder<T>
extends Object


Constructor Summary
FilterContext.FilterContextBuilder()
           
FilterContext.FilterContextBuilder(FilterContext clone)
           
 
Method Summary
 FilterContext.FilterContextBuilder asyncHandler(AsyncHandler<T> asyncHandler)
           
 FilterContext build()
           
 AsyncHandler<T> getAsyncHandler()
           
 IOException getIoException()
           
 Request getRequest()
           
 HttpResponseStatus getResponseStatus()
           
 FilterContext.FilterContextBuilder ioException(IOException ioException)
           
 boolean replayRequest()
           
 FilterContext.FilterContextBuilder replayRequest(boolean replayRequest)
           
 FilterContext.FilterContextBuilder request(Request request)
           
 FilterContext.FilterContextBuilder responseStatus(HttpResponseStatus responseStatus)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterContext.FilterContextBuilder

public FilterContext.FilterContextBuilder()

FilterContext.FilterContextBuilder

public FilterContext.FilterContextBuilder(FilterContext clone)
Method Detail

getAsyncHandler

public AsyncHandler<T> getAsyncHandler()

asyncHandler

public FilterContext.FilterContextBuilder asyncHandler(AsyncHandler<T> asyncHandler)

getRequest

public Request getRequest()

request

public FilterContext.FilterContextBuilder request(Request request)

getResponseStatus

public HttpResponseStatus getResponseStatus()

responseStatus

public FilterContext.FilterContextBuilder responseStatus(HttpResponseStatus responseStatus)

replayRequest

public boolean replayRequest()

replayRequest

public FilterContext.FilterContextBuilder replayRequest(boolean replayRequest)

getIoException

public IOException getIoException()

ioException

public FilterContext.FilterContextBuilder ioException(IOException ioException)

build

public FilterContext build()


Copyright © 2011. All Rights Reserved.