Author: mibo
Date: Tue Apr 28 12:55:38 2015
New Revision: 1676523

URL: http://svn.apache.org/r1676523
Log:
CMS commit to olingo by mibo

Modified:
    olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext

Modified: 
olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext
URL: 
http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext?rev=1676523&r1=1676522&r2=1676523&view=diff
==============================================================================
--- olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext 
(original)
+++ olingo/site/trunk/content/doc/odata4/tutorials/read/tutorial_read.mdtext 
Tue Apr 28 12:55:38 2015
@@ -727,9 +727,13 @@ The steps for implementating the method
   Furthermore, we have to set the HTTP status code, which means that we have 
the opportunity to do proper error handling.  
   And finally we have to set the content type.  
 
-      :::java
-      public void readEntityCollection(ODataRequest request, ODataResponse 
response, UriInfo uriInfo, ContentType responseFormat)
+
+Sample:
+
+    :::java
+    public void readEntityCollection(ODataRequest request, ODataResponse 
response, UriInfo uriInfo, ContentType responseFormat)
                          throws ODataApplicationException, SerializerException 
{
+
        // 1st retrieve the requested EntitySet from the uriInfo 
(representation of the parsed URI)
        List<UriResource> resourcePaths = uriInfo.getUriResourceParts();
        // in our example, the first segment is the EntitySet:


Reply via email to