com.atlassian.httpclient.api
Class ResponsePromiseMapFunction<O>

java.lang.Object
  extended by com.atlassian.httpclient.api.ResponsePromiseMapFunction<O>
All Implemented Interfaces:
com.google.common.base.Function<Response,O>

public final class ResponsePromiseMapFunction<O>
extends java.lang.Object
implements com.google.common.base.Function<Response,O>


Method Summary
 O apply(Response response)
           
static
<T> ResponsePromiseMapFunctionBuilder<T>
builder()
           
static
<T> com.google.common.base.Function<Response,T>
newUnexpectedResponseFunction()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Method Detail

builder

public static <T> ResponsePromiseMapFunctionBuilder<T> builder()

newUnexpectedResponseFunction

public static <T> com.google.common.base.Function<Response,T> newUnexpectedResponseFunction()

apply

public O apply(Response response)
Specified by:
apply in interface com.google.common.base.Function<Response,O>


Copyright © 2012 Atlassian. All Rights Reserved.