= DomainServiceResource
:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

== API

[source,java]
.DomainServiceResource.java
----
interface DomainServiceResource {
  Response services()
  Response deleteServicesNotAllowed()
  Response putServicesNotAllowed()
  Response postServicesNotAllowed()
  Response service(String serviceId)
  Response deleteServiceNotAllowed(String serviceId)
  Response putServiceNotAllowed(String serviceId)
  Response postServiceNotAllowed(String serviceId)
  Response actionPrompt(String serviceId, String actionId)
  Response deleteActionPromptNotAllowed(String serviceId, String actionId)
  Response putActionPromptNotAllowed(String serviceId, String actionId)
  Response postActionPromptNotAllowed(String serviceId, String actionId)
  Response invokeActionQueryOnly(String serviceId, String actionId, String xCausewayQueryString)     // <.>
  Response invokeActionIdempotent(String serviceId, String actionId, InputStream arguments)
  Response invokeAction(String serviceId, String actionId, InputStream arguments)
  Response deleteInvokeActionNotAllowed(String serviceId, String actionId)
}
----

<.> xref:#invokeActionQueryOnly_String_String_String[invokeActionQueryOnly(String, String, String)]
+
--
Because it isn't possible with the RestEasy client-side framework to specify a query string nor to pass arbitrary query params; instead we provide an additional syntax of passing an Causeway-defined query param `x-causeway-querystring` .
--

== Members

[#invokeActionQueryOnly_String_String_String]
=== invokeActionQueryOnly(String, String, String)

Because it isn't possible with the RestEasy client-side framework to specify a query string nor to pass arbitrary query params; instead we provide an additional syntax of passing an Causeway-defined query param `x-causeway-querystring` .

The content of this is taken to be the URL encoded map of arguments.
