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 DecimalFormat
private String
private String
private Double
Fields inherited from class jfxtras.icalendarfx.properties.VPropertyBase
actualValueContent, allowedValueTypes, defaultValueType, propertyName
Fields inherited from class jfxtras.icalendarfx.VParentBase
contentLineGenerator, orderer
Fields 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 RequestStatus
void
setDescription
(String description) void
setException
(String exception) void
setStatusCode
(Double statusCode) void
Set the value of the propertyprivate void
protected String
Applies 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, withLanguage
Methods 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, withValueType
Methods 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, withChild
Methods inherited from class jfxtras.icalendarfx.VElementBase
elementName, isContentValid, newEmptyVElement, parse, throwMessageExceptions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface jfxtras.icalendarfx.VParent
addChild, addChild, addChild, childrenUnmodifiable, orderChild, orderChild, orderChild, removeChild, removeChild, replaceChild, replaceChild
Methods 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:
valueContent
in classVPropertyBase<String,
RequestStatus>
-
setValue
Description copied from interface:VProperty
Set the value of the property- Specified by:
setValue
in interfaceVProperty<String>
- Overrides:
setValue
in classVPropertyBase<String,
RequestStatus>
-
updateValue
private void updateValue() -
parse
-