org.teleal.cling.model.message
Class UpnpResponse
java.lang.Object
org.teleal.cling.model.message.UpnpOperation
org.teleal.cling.model.message.UpnpResponse
public class UpnpResponse
- extends UpnpOperation
A response message, with a status code and message (OK, NOT FOUND, etc).
- Author:
- Christian Bauer
UpnpResponse
public UpnpResponse(int statusCode,
String statusMessage)
UpnpResponse
public UpnpResponse(UpnpResponse.Status status)
getStatusCode
public int getStatusCode()
getStatusMessage
public String getStatusMessage()
isFailed
public boolean isFailed()
- Returns:
true
if the status code was equal or creater 300.
getResponseDetails
public String getResponseDetails()
- Returns:
- The concatenated string of status code and status message (same as
toString()
.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 Teleal GmbH, Switzerland. All Rights Reserved.