Package google.registry.model.eppoutput
Class EppResponse
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.eppoutput.EppResponse
- All Implemented Interfaces:
EppOutput.ResponseOrGreeting
,Cloneable
The EppResponse class represents an EPP response message.
From the RFC: "An EPP server responds to a client command by returning a response to the client. EPP commands are atomic, so a command will either succeed completely or fail completely. Success and failure results MUST NOT be mixed."
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder forEppResponse
because it is immutable.static interface
Marker interface for types that can go in theresData
field.static interface
Marker interface for types that can go in theextensions
field.Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
-
Field Summary
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList
<? extends EppResponse.ResponseExtension> getFirstExtensionOfType
(com.google.common.collect.ImmutableList<Class<? extends EppResponse.ResponseExtension>> classes) getFirstExtensionOfType
(Class<? extends EppResponse.ResponseExtension> clazz) getFirstExtensionOfType
(Class<? extends EppResponse.ResponseExtension>... classes) com.google.common.collect.ImmutableList
<? extends EppResponse.ResponseData> boolean
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, createVKey, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
EppResponse
public EppResponse()
-
-
Method Details
-
getResponseData
public com.google.common.collect.ImmutableList<? extends EppResponse.ResponseData> getResponseData() -
getExtensions
public com.google.common.collect.ImmutableList<? extends EppResponse.ResponseExtension> getExtensions() -
getFirstExtensionOfType
@Nullable public EppResponse.ResponseExtension getFirstExtensionOfType(Class<? extends EppResponse.ResponseExtension> clazz) -
getFirstExtensionOfType
@Nullable public EppResponse.ResponseExtension getFirstExtensionOfType(com.google.common.collect.ImmutableList<Class<? extends EppResponse.ResponseExtension>> classes) -
getFirstExtensionOfType
@SafeVarargs @Nullable public final EppResponse.ResponseExtension getFirstExtensionOfType(Class<? extends EppResponse.ResponseExtension>... classes) -
getResult
-
isLoginResponse
public boolean isLoginResponse()
-