All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webpieces.webserver.impl.RequestReceiver Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.webpieces.webserver.impl;

import javax.inject.Inject;
import javax.inject.Singleton;

import org.webpieces.frontend2.api.HttpStream;
import org.webpieces.frontend2.api.StreamListener;

@Singleton
public class RequestReceiver implements StreamListener {
	
	//private static final Logger log = LoggerFactory.getLogger(RequestReceiver.class);
	
	private final RequestHelpFacade facade;
	
	@Inject
	public RequestReceiver(RequestHelpFacade facade) {
		super();
		this.facade = facade;
	}

	@Override
	public HttpStream openStream() {
		return new WebpiecesStreamHandle(facade);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy