|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.framework.EPPWhoWasHandler
com.verisign.epp.serverstub.WhoWasHandler
public class WhoWasHandler
This class is a concrete implementation of the abstract
EPPWhoWasHandler
class. It defines the Server's response to all
received EPP WhoWas Commands.
Constructor Summary | |
---|---|
WhoWasHandler()
Default constructor |
Method Summary | |
---|---|
protected EPPEventResponse |
doWhoWasInfo(EPPEvent aEvent,
java.lang.Object aData)
Returns the EPPEventResponse back to the client after processing
the passed in aEvent . |
protected void |
preHandleEvent(EPPEvent aEvent,
java.lang.Object aData)
Verifies that passed in aSessionData has valid logged in
state, otherwise throws EPPHandleEventException . |
Methods inherited from class com.verisign.epp.framework.EPPWhoWasHandler |
---|
getNamespace, handleEvent, postHandleEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WhoWasHandler()
Method Detail |
---|
protected void preHandleEvent(EPPEvent aEvent, java.lang.Object aData) throws EPPHandleEventException
aSessionData
has valid logged in
state, otherwise throws EPPHandleEventException
.
preHandleEvent
in class EPPWhoWasHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPWhoWasHandler
Thrown
- if an error condition occurs. It must contain an
EPPEventResponse
EPPHandleEventException
- Thrown if an error condition occurs. It must contain an
EPPEventResponse
protected EPPEventResponse doWhoWasInfo(EPPEvent aEvent, java.lang.Object aData)
EPPEventResponse
back to the client after processing
the passed in aEvent
. Invoked when a WhoWas Info command is
received. Subclasses should define the behavior when a WhoWas Info command
is received.create-operation-history.com
or Roid
create-rep
- Return history with CREATE operation record.
all-operation-history.com.com
or Roid
all-rep
- Return history with list of all possible operation
records.
non-existing.com
or Roid non-existing
-
Return EPPResult.OBJECT_DOES_NOT_EXIST
response.
doWhoWasInfo
in class EPPWhoWasHandler
aEvent
- The EPPEvent
that is being handledaData
- Any data that a Server needs to send to this
EPPWhoWasHandler
EPPEventResponse
back to the client after processing
the passed in aEvent
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |