public class ToActionResponseFunction extends Object implements com.google.common.base.Function<HttpResponse,ActionResponse>
Modifier and Type | Field and Description |
---|---|
static ToActionResponseFunction |
INSTANCE |
Constructor and Description |
---|
ToActionResponseFunction() |
Modifier and Type | Method and Description |
---|---|
ActionResponse |
apply(HttpResponse response) |
ActionResponse |
apply(HttpResponse response,
String action) |
public static final ToActionResponseFunction INSTANCE
public ActionResponse apply(HttpResponse response)
apply
in interface com.google.common.base.Function<HttpResponse,ActionResponse>
public ActionResponse apply(HttpResponse response, String action)
Copyright © 2017. All rights reserved.