public class ConnectOptions extends AbstractConnectOptions
Modifier and Type | Field and Description |
---|---|
org.apache.http.HttpEntity |
entity
Request entity.
|
ACCEPT_HEADER, DEFAULT_BOOLEAN_ACCEPT_HEADER, DEFAULT_GRAPH_ACCEPT_HEADER, DEFAULT_SOLUTIONS_ACCEPT_HEADER, method, requestHeaders, requestParams, serviceURL, update
MIME_APPLICATION_JSON, MIME_APPLICATION_URL_ENCODED, MIME_APPLICATION_XML, MIME_DEFAULT_BINARY, MIME_GRAPH_ML, MIME_PROPERTIES_XML, MIME_TEXT_HTML, MIME_TEXT_JAVASCRIPT, MIME_TEXT_PLAIN
Constructor and Description |
---|
ConnectOptions(String serviceURL) |
Modifier and Type | Method and Description |
---|---|
String |
getBestRequestURL()
Return the best URL for error reporting purposes.
|
String |
getRequestURL(String contextPath,
boolean useLBS)
Return the effective request URL
|
addQueryParams, addRequestParam, addRequestParam, addRequestParam, getAcceptHeader, getFormEntity, getHeader, getRequestParam, setAcceptHeader, setHeader, toString, urlEncode
public org.apache.http.HttpEntity entity
RemoteRepository
. We should
try to encapsulate this within the scope of the logic that manages its
value and pass it through function calls rather than by side effect on
this object.public ConnectOptions(String serviceURL)
public String getRequestURL(String contextPath, boolean useLBS)
contextPath
- The context path of the web application.useLBS
- When true
the load balancer aware paths will be
used.public String getBestRequestURL()
serviceURL
provided to the constructor unless the
getRequestURL(String, boolean)
has been set, in which case that
is returned instead.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.