OSLC Create artefact in different component
Accepted answer
The eclipse/Lyo OSLC4J java client does not yet support OSLC configuration management. However, you may be able to specify the Configuration-Context to use for creating resources using a receptor to set the header. Try something like this:
Header header = new BasicHeader("Configuration-Context", "https://some-context-uri");
List<Header> headers = new ArrayList<Header>();
headers.add(header);
RequestDefaultHeaders defaultHeaders = new RequestDefaultHeaders(headers);
((DefaultHttpClient)client.getHttpClient()).addRequestInterceptor(defaultHeaders);