Module jfxtras.icalendarfx
Class RequestStatus
java.lang.Object
jfxtras.icalendarfx.VElementBase
jfxtras.icalendarfx.VParentBase<U>
jfxtras.icalendarfx.properties.VPropertyBase<T,U>
jfxtras.icalendarfx.properties.PropBaseLanguage<String,RequestStatus>
jfxtras.icalendarfx.properties.component.misc.RequestStatus
REQUEST-STATUS
RFC 5545, 3.8.8.3, page 141
This property defines the status code returned for a scheduling request.
Examples:
REQUEST-STATUS:2.0;Success
REQUEST-STATUS:3.1;Invalid property value;DTSTART:96-Apr-01
-
Nested Class Summary
Nested classes/interfaces inherited from class jfxtras.icalendarfx.VElementBase
VElementBase.Message, VElementBase.MessageEffect -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DecimalFormatprivate Stringprivate Stringprivate DoubleFields inherited from class jfxtras.icalendarfx.properties.VPropertyBase
actualValueContent, allowedValueTypes, defaultValueType, propertyNameFields inherited from class jfxtras.icalendarfx.VParentBase
contentLineGenerator, ordererFields inherited from class jfxtras.icalendarfx.VElementBase
BEGIN, END -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTextual status descriptionTextual exception data.Hierarchical, numeric return status code +--------+----------------------------------------------------------+ | Short | Longer Return Status Description | | Return | | | Status | | | Code | | +--------+----------------------------------------------------------+ | 1.xx | Preliminary success.static RequestStatusvoidsetDescription(String description) voidsetException(String exception) voidsetStatusCode(Double statusCode) voidSet the value of the propertyprivate voidprotected StringApplies string converter only to description and exception parts of the RequestStatus property This leaves the semicolon delimiters unescapedwithDescription(String description) withException(String exception) withStatusCode(Double statusCode) Methods inherited from class jfxtras.icalendarfx.properties.PropBaseLanguage
getLanguage, setLanguage, setLanguage, withLanguage, withLanguageMethods inherited from class jfxtras.icalendarfx.properties.VPropertyBase
copyValue, equals, errors, getConverter, getNonStandard, getParent, getUnknownValue, getValue, getValueType, hashCode, modifiedValue, name, parseContent, processInLineChild, setConverter, setConverterByClass, setNonStandard, setParent, setValueType, setValueType, toString, withNonStandard, withNonStandard, withNonStandard, withValue, withValueTypeMethods inherited from class jfxtras.icalendarfx.VParentBase
addChild, addChild, addChild, addChildInternal, checkChild, childrenUnmodifiable, collectGetterMap, collectSetterMap, copyChildrenInto, getGetter, getGetters, getSetter, getSetters, orderChild, orderChild, orderChild, parseContent, removeChild, removeChild, replaceChild, replaceChild, withChildMethods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptionsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jfxtras.icalendarfx.VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChildMethods inherited from interface jfxtras.icalendarfx.properties.VProperty
getNonStandard, getValue, getValueType, setNonStandard, setValueType
-
Field Details
-
statusCode
-
DECIMAL_FORMAT
-
description
-
exception
-
-
Constructor Details
-
RequestStatus
-
RequestStatus
public RequestStatus()
-
-
Method Details
-
getStatusCode
Hierarchical, numeric return status code +--------+----------------------------------------------------------+ | Short | Longer Return Status Description | | Return | | | Status | | | Code | | +--------+----------------------------------------------------------+ | 1.xx | Preliminary success. This class of status code | | | indicates that the request has been initially processed | | | but that completion is pending. | | | | | 2.xx | Successful. This class of status code indicates that | | | the request was completed successfully. However, the | | | exact status code can indicate that a fallback has been | | | taken. | | | | | 3.xx | Client Error. This class of status code indicates that | | | the request was not successful. The error is the result | | | of either a syntax or a semantic error in the client- | | | formatted request. Request should not be retried until | | | the condition in the request is corrected. | | | | | 4.xx | Scheduling Error. This class of status code indicates | | | that the request was not successful. Some sort of error | | | occurred within the calendaring and scheduling service, | | | not directly related to the request itself. | +--------+----------------------------------------------------------+ -
setStatusCode
-
withStatusCode
-
getDescription
Textual status description -
setDescription
-
withDescription
-
getException
Textual exception data. For example, the offending property name and value or complete property line. -
setException
-
withException
-
valueContent
Applies string converter only to description and exception parts of the RequestStatus property This leaves the semicolon delimiters unescaped- Overrides:
valueContentin classVPropertyBase<String,RequestStatus>
-
setValue
Description copied from interface:VPropertySet the value of the property- Specified by:
setValuein interfaceVProperty<String>- Overrides:
setValuein classVPropertyBase<String,RequestStatus>
-
updateValue
private void updateValue() -
parse
-