Package com.predic8.membrane.core.util
Record Class SOAPUtil.SOAPAnalysisResult
java.lang.Object
java.lang.Record
com.predic8.membrane.core.util.SOAPUtil.SOAPAnalysisResult
- Enclosing class:
- SOAPUtil
public static record SOAPUtil.SOAPAnalysisResult(boolean isSOAP, boolean isFault, Constants.SoapVersion version, QName soapElement)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSOAPAnalysisResult(boolean isSOAP, boolean isFault, Constants.SoapVersion version, QName soapElement) Creates an instance of aSOAPAnalysisResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisFault()Returns the value of theisFaultrecord component.booleanisSOAP()Returns the value of theisSOAPrecord component.Returns the value of thesoapElementrecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
SOAPAnalysisResult
public SOAPAnalysisResult(boolean isSOAP, boolean isFault, Constants.SoapVersion version, QName soapElement) Creates an instance of aSOAPAnalysisResultrecord class.- Parameters:
isSOAP- the value for theisSOAPrecord componentisFault- the value for theisFaultrecord componentversion- the value for theversionrecord componentsoapElement- the value for thesoapElementrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
isSOAP
public boolean isSOAP()Returns the value of theisSOAPrecord component.- Returns:
- the value of the
isSOAPrecord component
-
isFault
public boolean isFault()Returns the value of theisFaultrecord component.- Returns:
- the value of the
isFaultrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
soapElement
Returns the value of thesoapElementrecord component.- Returns:
- the value of the
soapElementrecord component
-