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