org.dellroad.msrp.msg.FailureReport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of msrp4j Show documentation
Show all versions of msrp4j Show documentation
msrp4j is a Java library for the MSRP protocol defined by RFC 4975.
/*
* Copyright (C) 2014 Archie L. Cobbs. All rights reserved.
*/
package org.dellroad.msrp.msg;
import org.dellroad.msrp.MsrpConstants;
/**
* MSRP failure report values.
*/
public enum FailureReport {
NO(MsrpConstants.NO_HEADER_VALUE),
YES(MsrpConstants.YES_HEADER_VALUE),
PARTIAL(MsrpConstants.PARTIAL_HEADER_VALUE);
private final String headerValue;
FailureReport(String headerValue) {
this.headerValue = headerValue;
}
/**
* Get the header value that represents this instance.
*/
@Override
public String toString() {
return this.headerValue;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy