-
- All Implemented Interfaces:
public abstract class CorsTest
-
-
Constructor Summary
Constructors Constructor Description CorsTest(ServerPort adapter)
-
Method Summary
Modifier and Type Method Description final ServergetServer()final Unitinitialize()final Unitshutdown()final UnitRequest without origin continues as non CORS()final UnitRequest with not allowed origin is forbidden()final UnitAllowed origin is returned properly()final UnitSimple CORS request()final UnitSimple CORS request with not allowed method()final UnitSimple CORS request with exposed headers()final UnitCORS pre flight with empty request method()final UnitCORS pre flight without request method()final UnitCORS pre flight()final UnitCORS full pre flight()final UnitCORS pre flight with not allowed method()final UnitCORS pre flight with not allowed headers()final UnitCORS pre flight with allowed headers()-
-
Constructor Detail
-
CorsTest
CorsTest(ServerPort adapter)
-
-
Method Detail
-
initialize
final Unit initialize()
-
Request without origin continues as non CORS
final Unit Request without origin continues as non CORS()
-
Request with not allowed origin is forbidden
final Unit Request with not allowed origin is forbidden()
-
Allowed origin is returned properly
final Unit Allowed origin is returned properly()
-
Simple CORS request
final Unit Simple CORS request()
-
Simple CORS request with not allowed method
final Unit Simple CORS request with not allowed method()
-
Simple CORS request with exposed headers
final Unit Simple CORS request with exposed headers()
-
CORS pre flight with empty request method
final Unit CORS pre flight with empty request method()
-
CORS pre flight without request method
final Unit CORS pre flight without request method()
-
CORS pre flight
final Unit CORS pre flight()
-
CORS full pre flight
final Unit CORS full pre flight()
-
CORS pre flight with not allowed method
final Unit CORS pre flight with not allowed method()
-
CORS pre flight with not allowed headers
final Unit CORS pre flight with not allowed headers()
-
CORS pre flight with allowed headers
final Unit CORS pre flight with allowed headers()
-
-
-
-