public final class Downloader
extends akka.actor.UntypedActor
| Modifier and Type | Field and Description |
|---|---|
static int |
LOGGED_RESPONSE_MAX_SIZE |
| Constructor and Description |
|---|
Downloader() |
| Modifier and Type | Method and Description |
|---|---|
HttpResponseDescriptor |
fetch(HttpRequestDescriptor descriptor) |
void |
onReceive(Object message) |
void |
postStop() |
org.apache.http.client.methods.HttpUriRequest |
request(HttpRequestDescriptor descriptor) |
public static final int LOGGED_RESPONSE_MAX_SIZE
public HttpResponseDescriptor fetch(HttpRequestDescriptor descriptor) throws IllegalArgumentException, IOException, URISyntaxException, XMLStreamException
public void onReceive(Object message) throws Exception
onReceive in class akka.actor.UntypedActorExceptionpublic org.apache.http.client.methods.HttpUriRequest request(HttpRequestDescriptor descriptor) throws IllegalArgumentException, URISyntaxException, UnsupportedEncodingException
public void postStop()
postStop in interface akka.actor.ActorpostStop in class akka.actor.UntypedActorCopyright © 2017. All Rights Reserved.