Package org.apache.olingo.server.api.uri
Interface UriInfo
- All Superinterfaces:
UriInfoAll
,UriInfoBatch
,UriInfoCrossjoin
,UriInfoEntityId
,UriInfoMetadata
,UriInfoResource
,UriInfoService
public interface UriInfo
extends UriInfoService, UriInfoMetadata, UriInfoResource, UriInfoBatch, UriInfoAll, UriInfoCrossjoin, UriInfoEntityId
Object acting as general access to URI information extracted from the request URI.
Depending on the URI info kind different interfaces are used to provide access to that information.
Use method getKind()
to obtain URI info kind information and to perform an appropriate cast.
-
Method Summary
Modifier and TypeMethodDescriptionConvenience casting method.Convenience casting method.Convenience casting method.Convenience casting method.Convenience casting method.Convenience casting method.Convenience casting method.Gets a list of all alias definitions which were in the URI (including aliases not used anywhere).getKind()
SeeUriInfoKind
for more details which kinds are allowed.Gets a list of all system query options which were in the URI.Methods inherited from interface org.apache.olingo.server.api.uri.UriInfoAll
getCountOption, getCustomQueryOptions, getDeltaTokenOption, getFormatOption, getSearchOption, getSkipOption, getSkipTokenOption, getTopOption
Methods inherited from interface org.apache.olingo.server.api.uri.UriInfoCrossjoin
getCountOption, getDeltaTokenOption, getEntitySetNames, getExpandOption, getFilterOption, getFormatOption, getOrderByOption, getSearchOption, getSelectOption, getSkipOption, getSkipTokenOption, getTopOption
Methods inherited from interface org.apache.olingo.server.api.uri.UriInfoEntityId
getCustomQueryOptions, getEntityTypeCast, getExpandOption, getFormatOption, getIdOption, getSelectOption
Methods inherited from interface org.apache.olingo.server.api.uri.UriInfoMetadata
getFormatOption, getFragment
Methods inherited from interface org.apache.olingo.server.api.uri.UriInfoResource
getApplyOption, getCountOption, getCustomQueryOptions, getDeltaTokenOption, getExpandOption, getFilterOption, getFormatOption, getIdOption, getOrderByOption, getSearchOption, getSelectOption, getSkipOption, getSkipTokenOption, getTopOption, getUriResourceParts, getValueForAlias
-
Method Details
-
getKind
UriInfoKind getKind()SeeUriInfoKind
for more details which kinds are allowed.- Returns:
- the kind of this URI info object.
-
asUriInfoService
UriInfoService asUriInfoService()Convenience casting method.- Returns:
- this as a
UriInfoService
object
-
asUriInfoAll
UriInfoAll asUriInfoAll()Convenience casting method.- Returns:
- this as a
UriInfoAll
object
-
asUriInfoBatch
UriInfoBatch asUriInfoBatch()Convenience casting method.- Returns:
- this as a
UriInfoBatch
object
-
asUriInfoCrossjoin
UriInfoCrossjoin asUriInfoCrossjoin()Convenience casting method.- Returns:
- this as a
UriInfoCrossjoin
object
-
asUriInfoEntityId
UriInfoEntityId asUriInfoEntityId()Convenience casting method.- Returns:
- this as a
UriInfoEntityId
object
-
asUriInfoMetadata
UriInfoMetadata asUriInfoMetadata()Convenience casting method.- Returns:
- this as a
UriInfoMetadata
object
-
asUriInfoResource
UriInfoResource asUriInfoResource()Convenience casting method.- Returns:
- this as a
UriInfoResource
object
-
getSystemQueryOptions
List<SystemQueryOption> getSystemQueryOptions()Gets a list of all system query options which were in the URI.- Returns:
- a list of all system query options used
-
getAliases
List<AliasQueryOption> getAliases()Gets a list of all alias definitions which were in the URI (including aliases not used anywhere).- Returns:
- a list of all alias definitions
-