trait GraphStoreRequestFlowBuilder extends SparqlClientHelpers with HttpClientFlowBuilder with ErrorHandlerSupport
- Alphabetic
- By Inheritance
- GraphStoreRequestFlowBuilder
- ErrorHandlerSupport
- HttpClientFlowBuilder
- SparqlClientHelpers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
errorHandler: ErrorHandler
- Definition Classes
- ErrorHandlerSupport
-
implicit abstract
val
materializer: ActorMaterializer
- Definition Classes
- GraphStoreRequestFlowBuilder → SparqlClientHelpers
-
implicit abstract
val
system: ActorSystem
- Definition Classes
- GraphStoreRequestFlowBuilder → SparqlClientHelpers
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
acceptQueryMediaType(queryType: QueryType): MediaType
- Definition Classes
- SparqlClientHelpers
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
calculateSuccess(statusCode: StatusCode): Boolean
Returns true or false if a supported success or failure code is given.
Returns true or false if a supported success or failure code is given. For unsupported codes, a SparqlClientRequestFailed is thrown.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
defaultHttpClientFlow[T](endpoint: HttpEndpoint)(implicit system: ActorSystem, materializer: ActorMaterializer): Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed]
- Definition Classes
- HttpClientFlowBuilder
-
def
defaultSSLConfig()(implicit system: ActorSystem, materializer: ActorMaterializer): AkkaSSLConfig
The default HTTPS connection context config is very slack, use only for tests - not very useful for real world use.
The default HTTPS connection context config is very slack, use only for tests - not very useful for real world use.
- Attributes
- protected
- Definition Classes
- HttpClientFlowBuilder
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def graphStoreOpToRequest(endpoint: HttpEndpoint)(graphStoreRequest: GraphStoreRequest): (HttpRequest, GraphStoreRequest)
- def graphStoreRequestFlow(endpointFlow: HttpEndpointFlow[GraphStoreRequest]): Flow[GraphStoreRequest, GraphStoreResponse, NotUsed]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
httpsConnectionContext(config: Option[AkkaSSLConfig])(implicit system: ActorSystem, materializer: ActorMaterializer): HttpsConnectionContext
Override if the default connection context is not satisfactory.
Override if the default connection context is not satisfactory.
- Attributes
- protected
- Definition Classes
- HttpClientFlowBuilder
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isSparqlResultsJson(contentType: ContentType): Boolean
- Definition Classes
- SparqlClientHelpers
- def makeHttpRequest(endpoint: HttpEndpoint, request: GraphStoreRequest): HttpRequest
-
def
makeHttpRequest(endpoint: HttpEndpoint, statement: SparqlStatement): HttpRequest
- Definition Classes
- SparqlClientHelpers
- def makeModelSource(entity: HttpEntity): Source[Option[Model], Any]
-
def
makeRequestHeaders(endpoint: HttpEndpoint): List[HttpHeader]
- Definition Classes
- SparqlClientHelpers
-
def
mapContentTypeToRdfFormat(contentType: ContentType): RDFFormat
- Definition Classes
- SparqlClientHelpers
-
def
mapRdfFormatToContentType(format: RDFFormat): ContentType
- Definition Classes
- SparqlClientHelpers
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
pooledHttpClientFlow[T](endpoint: HttpEndpoint, akkaSSLConfig: Option[AkkaSSLConfig] = None)(implicit system: ActorSystem, materializer: ActorMaterializer): Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed]
Returns the default
Returns the default
- Definition Classes
- HttpClientFlowBuilder
-
def
queuedAndPooledHttpClientFlow[T](endpoint: HttpEndpoint, queueSize: Int = 10, overflowStrategy: OverflowStrategy = OverflowStrategy.backpressure, akkaSSLConfig: Option[AkkaSSLConfig] = None)(implicit system: ActorSystem, materializer: ActorMaterializer): Flow[(HttpRequest, T), (Try[HttpResponse], T), NotUsed]
Creates a flow that allows for access to the connection pool via a bounded request queue.
Creates a flow that allows for access to the connection pool via a bounded request queue.
{@see https://doc.akka.io/docs/akka-http/current/client-side/host-level.html#using-the-host-level-api-with-a-queue}
- endpoint
the HTTP(S) endpoint
- queueSize
the size of the queue
- overflowStrategy
the overflow strategy to apply if the queue overruns
- akkaSSLConfig
SSL config
- Definition Classes
- HttpClientFlowBuilder
-
implicit
val
rawBooleanFromEntityUnmarshaller: FromEntityUnmarshaller[Boolean]
- Definition Classes
- SparqlClientHelpers
-
def
responseToSparqlResponse(response: (Try[HttpResponse], SparqlRequest)): SparqlResponse
Takes the HttpResponse and makes a SparqlResponse.
Takes the HttpResponse and makes a SparqlResponse.
NB: This function will NOT consume the response entity!!
- Definition Classes
- SparqlClientHelpers
-
def
sparqlToRequest(endpoint: HttpEndpoint)(request: SparqlRequest): (HttpRequest, SparqlRequest)
- Definition Classes
- SparqlClientHelpers
-
val
strictEntityMaximumLengthInBytes: Int
Limit the response entity size to 100MB by default
-
val
strictEntityReadTimeout: FiniteDuration
Specifies for how long to wait for a "strict" http entity.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
useStrictByteStringStrategy: Boolean
If this is set to true then the response entity is "strictified", i.e.
If this is set to true then the response entity is "strictified", i.e. all chunks are loaded into memory in one go. However by being false, the result is processed as a proper stream but there is the risk is that the user might get more than a single response per request.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )