Class WSClientAutobahnTest$
java.lang.Object
org.apache.pekko.http.impl.engine.ws.WSClientAutobahnTest$
- All Implemented Interfaces:
scala.App,scala.DelayedInit
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WSClientAutobahnTest$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAgent()<T> scala.Function1<scala.util.Try<T>,scala.runtime.BoxedUnit> <T> org.apache.pekko.stream.scaladsl.Flow<T,T, scala.concurrent.Future<org.apache.pekko.Done>> org.apache.pekko.stream.scaladsl.Flow<Message,Message, scala.concurrent.Future<org.apache.pekko.Done>> echo()final longscala.concurrent.Future<Object>scala.concurrent.Future<WSClientAutobahnTest.IndexedCaseInfo>getCaseInfo(int caseId) getCaseInfoUri(int caseIndex) scala.concurrent.Future<scala.collection.immutable.Map<String,WSClientAutobahnTest.IndexedCaseInfo>> Map from textual case ID (like 1.1.1) to IndexedCaseInfoscala.concurrent.Future<WSClientAutobahnTest.CaseStatus>getCaseStatus(int caseId, String agent) getCaseStatusUri(int caseIndex, String agent) intscala.concurrent.Future<WSClientAutobahnTest.CaseResult>richRunCase(int caseIndex, String agent) scala.concurrent.Future<WSClientAutobahnTest.CaseStatus>runCaseUri(int caseIndex, String agent) <T> scala.concurrent.Future<T>runToSingleJsonValue(Uri uri, spray.json.JsonReader<T> evidence$1) 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.<T> Torg.apache.pekko.actor.ActorSystemsystem()scala.concurrent.Future<scala.runtime.BoxedUnit>updateReports(String agent) voidupdateReportsUri(String agent) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.App
args, delayedInit, main, scala$App$_setter_$executionStart_$eq, scala$App$_setter_$scala$App$$initCode_$eq, scala$App$$_args, scala$App$$_args_$eq, scala$App$$initCode
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
WSClientAutobahnTest$
public WSClientAutobahnTest$()
-
-
Method Details
-
executionStart
public final long executionStart()- Specified by:
executionStartin interfacescala.App
-
system
public org.apache.pekko.actor.ActorSystem system() -
Agent
-
Parallelism
public int Parallelism() -
getCaseCountUri
-
runCaseUri
-
getCaseStatusUri
-
getCaseInfoUri
-
updateReportsUri
-
runCase
public scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> runCase(int caseIndex, String agent) -
richRunCase
public scala.concurrent.Future<WSClientAutobahnTest.CaseResult> richRunCase(int caseIndex, String agent) -
getCaseCount
-
getCaseInfo
-
getCaseStatus
public scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> getCaseStatus(int caseId, String agent) -
updateReports
-
getCaseMap
public 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 <T> scala.Function1<scala.util.Try<T>,scala.runtime.BoxedUnit> completion() -
updateReportsAndShutdown
public void updateReportsAndShutdown() -
runWs
-
completionSignal
public <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 <T> scala.concurrent.Future<T> runToSingleJsonValue(Uri uri, spray.json.JsonReader<T> evidence$1)
-