public class ClassicTestClientAdapter extends ClientPOJOAdapter
BODY, CONTENT_TYPE, HEADERS, METHOD, NAME, PATH, PROTOCOL_VERSION, QUERY, REQUEST, RESPONSE, STATUS, TIMEOUT
Constructor and Description |
---|
ClassicTestClientAdapter() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
execute(String defaultURI,
Map<String,Object> request)
Execute an HTTP request.
|
String |
getClientName()
Name of the HTTP Client that this adapter uses.
|
assertRequestSupported, checkRequestSupport, modifyRequest
public Map<String,Object> execute(String defaultURI, Map<String,Object> request) throws Exception
execute
in class ClientPOJOAdapter
defaultURI
- the URI used by default. The path in the request is
usually appended to it.request
- the request as specified above.Exception
- in case of a problempublic String getClientName()
getClientName
in class ClientPOJOAdapter
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.