Class WSClientAutobahnTest
java.lang.Object
org.apache.pekko.http.impl.engine.ws.WSClientAutobahnTest
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
WSClientAutobahnTestpublic WSClientAutobahnTest()
 
- 
- 
Method Details- 
executionStartpublic static final long executionStart()
- 
systempublic static org.apache.pekko.actor.ActorSystem system()
- 
Agent
- 
Parallelismpublic static int Parallelism()
- 
getCaseCountUri
- 
runCaseUri
- 
getCaseStatusUri
- 
getCaseInfoUri
- 
updateReportsUri
- 
runCasepublic static scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> runCase(int caseIndex, String agent) 
- 
richRunCasepublic static scala.concurrent.Future<WSClientAutobahnTest.CaseResult> richRunCase(int caseIndex, String agent) 
- 
getCaseCount
- 
getCaseInfo
- 
getCaseStatuspublic static scala.concurrent.Future<WSClientAutobahnTest.CaseStatus> getCaseStatus(int caseId, String agent) 
- 
updateReports
- 
getCaseMappublic 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
- 
completionpublic static <T> scala.Function1<scala.util.Try<T>,scala.runtime.BoxedUnit> completion()
- 
updateReportsAndShutdownpublic static void updateReportsAndShutdown()
- 
runWs
- 
completionSignalpublic static <T> org.apache.pekko.stream.scaladsl.Flow<T,T, completionSignal()scala.concurrent.Future<org.apache.pekko.Done>> 
- 
runToSingleTextThe 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)
 
- 
runToSingleJsonValuepublic 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$$initCodepublic static scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> scala$App$$initCode()
- 
delayedInitpublic static void delayedInit(scala.Function0<scala.runtime.BoxedUnit> body) 
- 
main
- 
scala$App$_setter_$executionStart_$eqprotected abstract static void scala$App$_setter_$executionStart_$eq(long x$1) 
- 
scala$App$_setter_$scala$App$$initCode_$eqprotected abstract static void scala$App$_setter_$scala$App$$initCode_$eq(scala.collection.mutable.ListBuffer<scala.Function0<scala.runtime.BoxedUnit>> x$1) 
 
-