org.webpieces.webserver.impl.RequestReceiver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-webserver Show documentation
Show all versions of http-webserver Show documentation
The full webpieces server AS A library
package org.webpieces.webserver.impl;
import javax.inject.Inject;
import org.webpieces.frontend2.api.HttpStream;
import org.webpieces.frontend2.api.StreamListener;
public class RequestReceiver implements StreamListener {
//private static final Logger log = LoggerFactory.getLogger(RequestReceiver.class);
@Inject
private RequestHelpFacade facade;
@Override
public HttpStream openStream() {
return new WebpiecesStreamHandle(facade);
}
}