Class WSClientAutobahnTest
java.lang.Object
org.apache.pekko.http.impl.engine.ws.WSClientAutobahnTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringAgent()protected static final String[]args()static <T> scala.Function1<scala.util.Try<T>,scala.runtime.BoxedUnit> static <T> org.apache.pekko.stream.scaladsl.Flow<T,T, scala.concurrent.Future<org.apache.pekko.Done>> static voiddelayedInit(scala.Function0<scala.runtime.BoxedUnit> body) static org.apache.pekko.stream.scaladsl.Flow<Message,Message, scala.concurrent.Future<org.apache.pekko.Done>> echo()static final longstatic scala.concurrent.Future<Object>static Uristatic scala.concurrent.Future<WSClientAutobahnTest.IndexedCaseInfo>getCaseInfo(int caseId) static UrigetCaseInfoUri(int caseIndex) static scala.concurrent.Future<scala.collection.immutable.Map<String,WSClientAutobahnTest.IndexedCaseInfo>> Map from textual case ID (like 1.1.1) to IndexedCaseInfostatic scala.concurrent.Future<WSClientAutobahnTest.CaseStatus>getCaseStatus(int caseId, String agent) static UrigetCaseStatusUri(int caseIndex, String agent) static final voidstatic intstatic scala.concurrent.Future<WSClientAutobahnTest.CaseResult>richRunCase(int caseIndex, String agent) static scala.concurrent.Future<WSClientAutobahnTest.CaseStatus>static UrirunCaseUri(int caseIndex, String agent) static <T> scala.concurrent.Future<T>runToSingleJsonValue(Uri uri, spray.json.JsonReader<T> evidence$1) static scala.concurrent.Future<String>runToSingleText(Uri uri) The autobahn tests define a weird API where every request must be a WebSocket request and they will send a single websocket message with the result.static <T> Tprotected abstract static voidscala$App$_setter_$executionStart_$eq(long x$1) protected abstract static voidscala$App$_setter_$scala$App$$initCode_$eq(scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> x$1) static String[]static voidscala$App$$_args_$eq(String[] x$1) static scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>>static org.apache.pekko.actor.ActorSystemsystem()static scala.concurrent.Future<scala.runtime.BoxedUnit>updateReports(String agent) static voidstatic UriupdateReportsUri(String agent)
-
Constructor Details
-
WSClientAutobahnTest
public WSClientAutobahnTest()
-
-
Method Details
-
executionStart
public static final long executionStart() -
system
public static org.apache.pekko.actor.ActorSystem system() -
Agent
-
Parallelism
public static int Parallelism() -
getCaseCountUri
-
runCaseUri
-
getCaseStatusUri
-
getCaseInfoUri
-
updateReportsUri
-
runCase
public static scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> runCase(int caseIndex, String agent) -
richRunCase
public static scala.concurrent.Future<WSClientAutobahnTest.CaseResult> richRunCase(int caseIndex, String agent) -
getCaseCount
-
getCaseInfo
-
getCaseStatus
public static scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> getCaseStatus(int caseId, String agent) -
updateReports
-
getCaseMap
public static scala.concurrent.Future<scala.collection.immutable.Map<String,WSClientAutobahnTest.IndexedCaseInfo>> getCaseMap()Map from textual case ID (like 1.1.1) to IndexedCaseInfo- Returns:
-
echo
-
completion
public static <T> scala.Function1<scala.util.Try<T>,scala.runtime.BoxedUnit> completion() -
updateReportsAndShutdown
public static void updateReportsAndShutdown() -
runWs
-
completionSignal
public static <T> org.apache.pekko.stream.scaladsl.Flow<T,T, completionSignal()scala.concurrent.Future<org.apache.pekko.Done>> -
runToSingleText
The autobahn tests define a weird API where every request must be a WebSocket request and they will send a single websocket message with the result. WebSocket everywhere? Strange, but somewhat consistent.- Parameters:
uri- (undocumented)- Returns:
- (undocumented)
-
runToSingleJsonValue
public static <T> scala.concurrent.Future<T> runToSingleJsonValue(Uri uri, spray.json.JsonReader<T> evidence$1) -
args
-
scala$App$$_args
-
scala$App$$_args_$eq
-
scala$App$$initCode
public static scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> scala$App$$initCode() -
delayedInit
public static void delayedInit(scala.Function0<scala.runtime.BoxedUnit> body) -
main
-
scala$App$_setter_$executionStart_$eq
protected abstract static void scala$App$_setter_$executionStart_$eq(long x$1) -
scala$App$_setter_$scala$App$$initCode_$eq
protected abstract static void scala$App$_setter_$scala$App$$initCode_$eq(scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> x$1)
-