Package net.sbbi.upnp.jmx
Class HttpPostRequest
- java.lang.Object
-
- net.sbbi.upnp.jmx.HttpPostRequest
-
- All Implemented Interfaces:
HttpRequestHandler
public class HttpPostRequest extends Object implements HttpRequestHandler
Class to handle HTTP POST requests on UPNPMBeanDevices- Version:
- 1.0
- Author:
- SuperBonBon
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpRequestHandlergetInstance()Stringservice(Set devices, HttpRequest request)Handles the HTTP request
-
-
-
Method Detail
-
getInstance
public static HttpRequestHandler getInstance()
-
service
public String service(Set devices, HttpRequest request)
Description copied from interface:HttpRequestHandlerHandles the HTTP request- Specified by:
servicein interfaceHttpRequestHandler- Parameters:
devices- the potential target UPNPMBeanDevice objectsrequest- teh client http request- Returns:
- the content who should be sent to the client or null if the request does not match any target UPNPMBeanDevice provided in the Set
-
-