Package com.helger.photon.core.interror
Class InternalErrorMetadata
- java.lang.Object
-
- com.helger.photon.core.interror.InternalErrorMetadata
-
- All Implemented Interfaces:
com.helger.xml.microdom.IHasMicroNodeRepresentation
@NotThreadSafe public class InternalErrorMetadata extends Object implements com.helger.xml.microdom.IHasMicroNodeRepresentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalErrorMetadata.Entry
-
Constructor Summary
Constructors Constructor Description InternalErrorMetadata(String sErrorID)
-
Method Summary
-
-
-
Method Detail
-
addField
@Nonnull public InternalErrorMetadata addField(@Nonnull @Nonempty String sKey, @Nullable String sValue)
-
addFieldRetrievalError
@Nonnull public InternalErrorMetadata addFieldRetrievalError(@Nonnull @Nonempty String sKey, @Nonnull Throwable t)
-
getFieldValue
@Nullable public String getFieldValue(@Nullable String sKey, @Nullable String sDefaultValue)
-
getAllFields
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<InternalErrorMetadata.Entry> getAllFields()
-
addRequestField
@Nonnull public InternalErrorMetadata addRequestField(@Nonnull @Nonempty String sKey, @Nullable String sValue)
-
getAllRequestFields
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<InternalErrorMetadata.Entry> getAllRequestFields()
-
addRequestHeader
@Nonnull public InternalErrorMetadata addRequestHeader(@Nonnull @Nonempty String sKey, @Nullable String sValue)
-
getAllRequestHeaders
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<InternalErrorMetadata.Entry> getAllRequestHeaders()
-
addRequestParameter
@Nonnull public InternalErrorMetadata addRequestParameter(@Nonnull @Nonempty String sKey, @Nullable String sValue)
-
getAllRequestParameters
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<InternalErrorMetadata.Entry> getAllRequestParameters()
-
addRequestCookie
@Nonnull public InternalErrorMetadata addRequestCookie(@Nonnull @Nonempty String sKey, @Nullable String sValue)
-
getAllRequestCookies
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<InternalErrorMetadata.Entry> getAllRequestCookies()
-
addSessionField
@Nonnull public InternalErrorMetadata addSessionField(@Nonnull @Nonempty String sKey, @Nullable String sValue)
-
getAllSessionFields
@Nonnull @ReturnsMutableCopy public com.helger.commons.collection.impl.ICommonsList<InternalErrorMetadata.Entry> getAllSessionFields()
-
getAsMicroNode
@Nonnull public com.helger.xml.microdom.IMicroElement getAsMicroNode()
- Specified by:
getAsMicroNode
in interfacecom.helger.xml.microdom.IHasMicroNodeRepresentation
-
-