Package | Description |
---|---|
de.knipp.rritoolkit | |
de.knipp.rritoolkit.request | |
de.knipp.rritoolkit.response | |
de.knipp.rritoolkit.test |
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<? extends Response> |
DefaultResponseFactory.ListRule.cls
the class that shall be instantiated
|
private java.lang.Class<? extends Response> |
DefaultResponseFactory.defaultClass
the default class
|
private java.util.Map<javax.xml.namespace.QName,java.lang.Class<? extends Response>> |
DefaultResponseFactory.xmlMap
map from the name of the first element to the class
|
Modifier and Type | Method and Description |
---|---|
protected Response |
DefaultResponseFactory.createInstance(java.lang.Class<? extends Response> cls)
create an instance of the given class, mapping the special exceptions
to RuntimeExceptions
|
Response |
DefaultResponseFactory.createResponse(org.w3c.dom.Document doc,
Request request)
create an instance based on the given XML document.
|
Response |
ResponseFactory.createResponse(org.w3c.dom.Document doc,
Request request)
create an instance based on the given XML document.
|
Response |
DefaultResponseFactory.createResponse(KVMultiList list,
Request request)
create an instance based on the given key-value pair list.
|
Response |
ResponseFactory.createResponse(KVMultiList list,
Request request)
create an instance based on the given key-value pair list.
|
Response |
Codec.decodeResponse(byte[] data,
Request req)
convert the given byte sequence to a response object.
|
Response |
Codec.docToResponse(org.w3c.dom.Document doc,
Request req)
convert the document to a response
|
private Response |
PooledPort.execute(RegistryChannel channel,
Request request)
execute a request on the given channel
|
Response |
Port.execute(Request request)
"execute" a request, i.e. send it to the registry and wait for the
response
|
Response |
SinglePort.execute(Request request)
"execute" a request, i.e. send it to the registry and wait for the
response
|
Response |
PooledPort.execute(Request request)
"execute" a request, i.e. send it to the registry and wait for the
response
|
Response |
Codec.listToResponse(KVMultiList list,
Request request)
convert the list to the response instance
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Response> |
DefaultResponseFactory.ListRule.getResponseClass()
return the class
|
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultResponseFactory.addXmlMapping(javax.xml.namespace.QName qName,
java.lang.Class<? extends Response> cls)
add an XML mapping
|
protected void |
DefaultResponseFactory.addXmlMapping(java.lang.String uri,
java.lang.String localName,
java.lang.Class<? extends Response> cls)
add an XML mapping
|
protected Response |
DefaultResponseFactory.createInstance(java.lang.Class<? extends Response> cls)
create an instance of the given class, mapping the special exceptions
to RuntimeExceptions
|
protected void |
DefaultResponseFactory.setDefaultClass(java.lang.Class<? extends Response> cls)
set the default class
|
Constructor and Description |
---|
ClassRule(int thePriority,
java.lang.Class<? extends Response> theClass,
java.lang.Class<? extends Request> theMatchClass,
boolean withSub)
constructor
|
KeyRule(int thePriority,
java.lang.Class<? extends Response> theClass,
java.lang.String... keys)
constructor
|
ListRule(int thePriority,
java.lang.Class<? extends Response> theClass)
constructor
|
Modifier and Type | Method and Description |
---|---|
Response |
Request.execute(Port port)
execute the this request on the given port.
|
Modifier and Type | Class and Description |
---|---|
class |
AuthInfo1CreateResponse
response of a AuthInfo 1 create request
|
class |
AuthInfo1DeleteResponse
response of a AuthInfo 1 delete request
|
class |
AuthInfo2CreateResponse
response of a AuthInfo 2 create request
|
class |
ContactCheckResponse
response of a contact check request
|
class |
ContactCreateResponse
response of a contact create request
|
class |
ContactInfoResponse
response of a contact info request
|
class |
ContactUpdateResponse
response of a contact update request
|
class |
DomainChangeHolderResponse
response of a domain change holder request
|
class |
DomainChangeProvResponse
response of a domain change prov request
|
class |
DomainCheckResponse
request to retrieve information about a given domain
|
class |
DomainCreateResponse
response of a domain create request
|
class |
DomainDeleteResponse
response of a domain delete request
|
class |
DomainInfoResponse
response of a domain info request
|
class |
DomainRestoreResponse
response of a domain restore request
|
class |
DomainTransitResponse
response of a domain transit request
|
class |
DomainUpdateResponse
response of a domain update request
|
class |
LoginResponse
response of a login request
|
class |
LogoutResponse
response of a logout request
|
class |
QueueDeleteResponse
response of a queue delete request
|
class |
QueueReadResponse
response of a queue read request
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<ResultMessage> |
ErrorType.filter(Response resp,
ErrorType... types)
filter those result messages that match one of the given types
|
void |
ErrorMapper.findMatches(Response resp,
java.util.Collection<E> result)
test the given response and add all objects whose related pattern
matches any result message of the response
|
static java.util.EnumSet<ErrorType> |
ErrorType.getErrors(Response resp)
create a summary of all errors occurring in the response.
|
static java.util.EnumSet<ErrorType> |
ErrorType.getSelectedErrors(Response resp,
ErrorType first,
ErrorType... other)
create a summary of all errors occurring in the response.
|
static ErrorType |
ErrorType.test(Response resp,
ErrorType... types)
test whether any of the given error types occur in the response.
|
void |
AbstractResponseVisitor.visit(Response response)
called by a generic response
|
void |
ResponseVisitor.visit(Response response)
called by a generic response
|
Modifier and Type | Method and Description |
---|---|
Response |
DebugPort.execute(Request request)
"execute" a request, i.e. send it to the registry and wait for the
response
|
Copyright © 2005-2013 Knipp Medien und Kommunikation GmbH