Class ParseMessagesToStream
- java.lang.Object
-
- org.jclouds.openstack.marconi.v1.functions.ParseMessagesToStream
-
- All Implemented Interfaces:
com.google.common.base.Function<HttpResponse,MessageStream>
,Function<HttpResponse,MessageStream>
public class ParseMessagesToStream extends Object implements com.google.common.base.Function<HttpResponse,MessageStream>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ParseMessagesToStream.MessageWithHref
-
Field Summary
Fields Modifier and Type Field Description protected static com.google.common.base.Function<String,String>
TO_ID_FROM_HREF
protected static com.google.common.base.Function<ParseMessagesToStream.MessageWithHref,Message>
TO_MESSAGE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageStream
apply(HttpResponse response)
-
-
-
Field Detail
-
TO_MESSAGE
protected static final com.google.common.base.Function<ParseMessagesToStream.MessageWithHref,Message> TO_MESSAGE
-
-
Method Detail
-
apply
public MessageStream apply(HttpResponse response)
- Specified by:
apply
in interfacecom.google.common.base.Function<HttpResponse,MessageStream>
- Specified by:
apply
in interfaceFunction<HttpResponse,MessageStream>
-
-