public class EPPFullExtValuePollMessageFilter extends java.lang.Object implements EPPPollMessageFilter
EPPFullExtValuePollMessageFilter is a utility class used to filter
poll message EPPResponse instances against the list of
client-specified object services and extension services, per
draft-gould-casanova-regext-unhandled-namespace. Any non-supported services
(object or extension) will be removed from the poll message and moved to an
<extValue> element with the full XML block along with a formatted
string <reason>. REASON = NAMESPACE-URI " not in login services" NAMESPACE-URI = 1*VCHAR
| Constructor and Description |
|---|
EPPFullExtValuePollMessageFilter() |
| Modifier and Type | Method and Description |
|---|---|
EPPResponse |
filter(EPPResponse aResponse,
java.util.List<EPPService> aServices,
java.util.List<EPPService> aExtServices)
Filter any poll messages that are not supported by the client based on the
passed in login services (object extensions) and extension services
(command response extensions) from the poll message and encode into the
response the information associated with the unsupported extensions
(object or command / response).
|
EPPResponse |
filter(EPPResponse aResponse,
java.util.List<EPPService> aServices,
java.util.List<EPPService> aExtServices,
boolean aNoOp)
Filter any poll messages that are not supported by the client based on the
passed in login services (object extensions) and extension services
(command response extensions) from the poll message and encode into the
response the information associated with the unsupported extensions
(object or command / response).
|
public EPPResponse filter(EPPResponse aResponse, java.util.List<EPPService> aServices, java.util.List<EPPService> aExtServices) throws EPPException
filter in interface EPPPollMessageFilteraResponse - Source poll messageaServices - List of EPPService login services (object
extensions) supported by the client.aExtServices - List of EPPService login extension services
(command response extensions) supported by the client.EPPResponse that contains extensions
that the client supports.EPPException - Exception filtering the poll messagepublic EPPResponse filter(EPPResponse aResponse, java.util.List<EPPService> aServices, java.util.List<EPPService> aExtServices, boolean aNoOp) throws EPPException
filter in interface EPPPollMessageFilteraResponse - Source poll messageaServices - List of EPPService login services (object
extensions) supported by the client.aExtServices - List of EPPService login extension services
(command response extensions) supported by the client.aNoOp - Set to true to only identify unsupported services by
logging them and not removing them or encoding them in the
<extValue> elements.EPPResponse that contains extensions
that the client supports.EPPException - Exception filtering the poll message