Package org.apache.olingo.odata2.core
Class ODataRequestHandler
- java.lang.Object
-
- org.apache.olingo.odata2.core.ODataRequestHandler
-
public class ODataRequestHandler extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static booleanPRINT_EXCEPTION
-
Constructor Summary
Constructors Constructor Description ODataRequestHandler(ODataServiceFactory factory, ODataService service, ODataContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ODataResponsehandle(ODataRequest request)ODataResponsehandle(ODataRequest request, boolean requestMode)Handles theODataRequestin a way that it results in a correspondingODataResponse.
-
-
-
Constructor Detail
-
ODataRequestHandler
public ODataRequestHandler(ODataServiceFactory factory, ODataService service, ODataContext context)
-
-
Method Detail
-
handle
public ODataResponse handle(ODataRequest request)
-
handle
public ODataResponse handle(ODataRequest request, boolean requestMode)
Handles the
ODataRequestin a way that it results in a correspondingODataResponse.This includes delegation of URI parsing and dispatching of the request internally. Building of the
ODataContexttakes place outside of this method.- Parameters:
request- the incoming request- Returns:
- the corresponding result
-
-