A B C E G H I M P R S T V W 

A

abort() - Method in class io.apiman.test.policies.PolicyTesterServiceConnection
 
abort() - Method in class io.apiman.test.policies.PolicyTesterServiceConnectionResponse
 
ApimanPolicyTest - Class in io.apiman.test.policies
Base class for all apiman policy tests.
ApimanPolicyTest() - Constructor for class io.apiman.test.policies.ApimanPolicyTest
 

B

BackEndService - Annotation Type in io.apiman.test.policies
Allows tests to be configured with an alternate simulated back end service.
basicAuth(String, String) - Method in class io.apiman.test.policies.PolicyTestRequest
 
body(String) - Method in class io.apiman.test.policies.PolicyTestRequest
 
body(Object) - Method in class io.apiman.test.policies.PolicyTestRequest
 
body() - Method in class io.apiman.test.policies.PolicyTestRequest
 
body() - Method in class io.apiman.test.policies.PolicyTestResponse
 
bodyHandler(IAsyncHandler<IApimanBuffer>) - Method in class io.apiman.test.policies.PolicyTesterServiceConnectionResponse
 
build(PolicyTestRequestType, String) - Static method in class io.apiman.test.policies.PolicyTestRequest
 

C

code() - Method in class io.apiman.test.policies.PolicyTestResponse
 
Configuration - Annotation Type in io.apiman.test.policies
Allows developers to define the configuration that should be given to the policy during the test.
connect(ServiceRequest, IAsyncResultHandler<IServiceConnectionResponse>) - Method in class io.apiman.test.policies.PolicyTesterConnector
 
createConnector(ServiceRequest, Service, RequiredAuthType) - Method in class io.apiman.test.policies.PolicyTesterConnectorFactory
 
createServiceRequest() - Method in class io.apiman.test.policies.PolicyTester
 

E

EchoBackEndService - Class in io.apiman.test.policies
The default policy test backend service.
EchoBackEndService() - Constructor for class io.apiman.test.policies.EchoBackEndService
 
end() - Method in class io.apiman.test.policies.PolicyTesterServiceConnection
 
endHandler(IAsyncHandler<Void>) - Method in class io.apiman.test.policies.PolicyTesterServiceConnectionResponse
 
entity(Class<T>) - Method in class io.apiman.test.policies.PolicyTestResponse
 

G

getEngine() - Method in class io.apiman.test.policies.PolicyTester
 
getFailure() - Method in exception io.apiman.test.policies.PolicyFailureError
 
getHead() - Method in class io.apiman.test.policies.PolicyTesterServiceConnectionResponse
 
getResponseBody() - Method in class io.apiman.test.policies.PolicyTestBackEndServiceResponse
 
getServiceResponse() - Method in class io.apiman.test.policies.PolicyTestBackEndServiceResponse
 

H

header(String, String) - Method in class io.apiman.test.policies.PolicyTestRequest
 
header(String) - Method in class io.apiman.test.policies.PolicyTestResponse
 
headers() - Method in class io.apiman.test.policies.PolicyTestRequest
 
headers() - Method in class io.apiman.test.policies.PolicyTestResponse
 

I

invoke(ServiceRequest, byte[]) - Method in class io.apiman.test.policies.EchoBackEndService
 
invoke(ServiceRequest, byte[]) - Method in interface io.apiman.test.policies.IPolicyTestBackEndService
Called to invoke the back end service.
io.apiman.test.policies - package io.apiman.test.policies
 
IPolicyTestBackEndService - Interface in io.apiman.test.policies
During a policy test, we need something to simulate an invoke to a back end API/service.
isConnected() - Method in class io.apiman.test.policies.PolicyTesterServiceConnection
 
isFinished() - Method in class io.apiman.test.policies.PolicyTesterServiceConnection
 
isFinished() - Method in class io.apiman.test.policies.PolicyTesterServiceConnectionResponse
 

M

method() - Method in class io.apiman.test.policies.PolicyTestRequest
 

P

PolicyFailureError - Exception in io.apiman.test.policies
Thrown when the policy test results in a policy failure.
PolicyFailureError(PolicyFailure) - Constructor for exception io.apiman.test.policies.PolicyFailureError
Constructor.
PolicyTestBackEndServiceResponse - Class in io.apiman.test.policies
A response returned by the IPolicyTestBackEndService.
PolicyTestBackEndServiceResponse(ServiceResponse, String) - Constructor for class io.apiman.test.policies.PolicyTestBackEndServiceResponse
Constructor.
PolicyTester - Class in io.apiman.test.policies
A junit test runner that makes it really easy to unit test custom policy implementations.
PolicyTester(Class<?>) - Constructor for class io.apiman.test.policies.PolicyTester
Constructor.
PolicyTesterConnector - Class in io.apiman.test.policies
Creates a connection to the back end service.
PolicyTesterConnector(Service) - Constructor for class io.apiman.test.policies.PolicyTesterConnector
Constructor.
PolicyTesterConnectorFactory - Class in io.apiman.test.policies
The IConnectorFactory used by the policy testing framework.
PolicyTesterConnectorFactory() - Constructor for class io.apiman.test.policies.PolicyTesterConnectorFactory
 
PolicyTesterServiceConnection - Class in io.apiman.test.policies
A connection a simulated back end service.
PolicyTesterServiceConnection(Service, ServiceRequest, IAsyncResultHandler<IServiceConnectionResponse>) - Constructor for class io.apiman.test.policies.PolicyTesterServiceConnection
Constructor.
PolicyTesterServiceConnectionResponse - Class in io.apiman.test.policies
The response created by the policy tester service connection.
PolicyTesterServiceConnectionResponse(PolicyTestBackEndServiceResponse) - Constructor for class io.apiman.test.policies.PolicyTesterServiceConnectionResponse
Constructor.
PolicyTestRequest - Class in io.apiman.test.policies
Send one of these to the "send" method found in the ApimanPolicyTest class in order to simulate an HTTP request being sent to the API Gateway.
PolicyTestRequest(PolicyTestRequestType, String) - Constructor for class io.apiman.test.policies.PolicyTestRequest
Constructor.
PolicyTestRequestType - Enum in io.apiman.test.policies
The possible request types.
PolicyTestResponse - Class in io.apiman.test.policies
The data returned by a call to the "send" method of ApimanPolicyTest.
PolicyTestResponse(ServiceResponse) - Constructor for class io.apiman.test.policies.PolicyTestResponse
Constructor.
PolicyTestResponse(ServiceResponse, String) - Constructor for class io.apiman.test.policies.PolicyTestResponse
Constructor.
publishService(FrameworkMethod) - Method in class io.apiman.test.policies.PolicyTester
Publish a service configured with the correct policy and policy config.

R

resource() - Method in class io.apiman.test.policies.PolicyTestRequest
 
retireService() - Method in class io.apiman.test.policies.PolicyTester
Retires the service, removing it from the engine.
run(RunNotifier) - Method in class io.apiman.test.policies.PolicyTester
 
runChild(FrameworkMethod, RunNotifier) - Method in class io.apiman.test.policies.PolicyTester
 

S

send(PolicyTestRequest) - Method in class io.apiman.test.policies.ApimanPolicyTest
 

T

tester - Static variable in class io.apiman.test.policies.ApimanPolicyTest
 
TestingPolicy - Annotation Type in io.apiman.test.policies
Allows developers to specify which of their policy implementations they are testing.
transmit() - Method in class io.apiman.test.policies.PolicyTesterServiceConnectionResponse
 

V

valueOf(String) - Static method in enum io.apiman.test.policies.PolicyTestRequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.apiman.test.policies.PolicyTestRequestType
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(IApimanBuffer) - Method in class io.apiman.test.policies.PolicyTesterServiceConnection
 
A B C E G H I M P R S T V W 

Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.