You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2015/10/06 13:12:07 UTC
svn commit: r1706991 -
/olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_action.mdtext
Author: chrish
Date: Tue Oct 6 11:12:06 2015
New Revision: 1706991
URL: http://svn.apache.org/viewvc?rev=1706991&view=rev
Log:
CMS commit to olingo by chrish
Modified:
olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_action.mdtext
Modified: olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_action.mdtext
URL: http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_action.mdtext?rev=1706991&r1=1706990&r2=1706991&view=diff
==============================================================================
--- olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_action.mdtext (original)
+++ olingo/site/trunk/content/doc/odata4/tutorials/action/tutorial_action.mdtext Tue Oct 6 11:12:06 2015
@@ -112,7 +112,8 @@ As you can see, this function does not r
http://host/myService/StaticReset
The parameters are passed within the body of the request. In this case such a body could look like the following (JSON - Syntax):
-
+
+ ::::json
{
"Amount": 2
}
@@ -361,6 +362,7 @@ The first method returns a collection of
We also create two methods to reset the data of our service.
+ ::::java
public void resetDataSet(final int amount) {
// Replace the old lists with empty ones
productList = new ArrayList<Entity>();
@@ -463,7 +465,7 @@ Next we will implement the processor to
HttpStatusCode.NOT_IMPLEMENTED.getStatusCode(), Locale.ENGLISH);
}
}
-
+
private void readFunctionImportInternal(final ODataRequest request, final ODataResponse response,
final UriInfo uriInfo, final ContentType responseFormat) throws ODataApplicationException, SerializerException {