Class GetAllAssetAdministrationShellsRequestMapper
java.lang.Object
de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.AbstractRequestMapper
de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.AbstractRequestMapperWithOutputModifier<T,R>
de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.AbstractRequestMapperWithOutputModifierAndPaging<GetAllAssetAdministrationShellsRequest,GetAllAssetAdministrationShellsResponse>
de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.aasrepository.GetAllAssetAdministrationShellsRequestMapper
public class GetAllAssetAdministrationShellsRequestMapper
extends AbstractRequestMapperWithOutputModifierAndPaging<GetAllAssetAdministrationShellsRequest,GetAllAssetAdministrationShellsResponse>
class to map HTTP-GET-Request path: shells.
-
Field Summary
Fields inherited from class de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.AbstractRequestMapper
BOUNDARY, deserializer, method, PATTERN_CONTENT_TYPE, PATTERN_NAME, serviceContext, urlPattern
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoParse
(HttpRequest httpRequest, Map<String, String> urlParameters, OutputModifier outputModifier, PagingInfo pagingInfo) Converts the HTTP request to protocol-agnostic request including output modifier information.boolean
matchesUrl
(HttpRequest httpRequest) Decides if a given HTTP request matches this concrete protocol-agnostic request.Methods inherited from class de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.AbstractRequestMapperWithOutputModifierAndPaging
doParse
Methods inherited from class de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.AbstractRequestMapperWithOutputModifier
doParse, ensureUrlPatternAllowsContentModifier
Methods inherited from class de.fraunhofer.iosb.ilt.faaast.service.endpoint.http.request.mapper.AbstractRequestMapper
equals, getMethod, hashCode, matchesUrl, parse, parseBody, parseBodyAsList, parseMergePatch, parseMultiPartBody, pathElement
-
Constructor Details
-
GetAllAssetAdministrationShellsRequestMapper
-
-
Method Details
-
matchesUrl
Description copied from class:AbstractRequestMapper
Decides if a given HTTP request matches this concrete protocol-agnostic request.- Overrides:
matchesUrl
in classAbstractRequestMapper
- Parameters:
httpRequest
- the HTTP request to check- Returns:
- true if matches, otherwise false
-
doParse
public GetAllAssetAdministrationShellsRequest doParse(HttpRequest httpRequest, Map<String, String> urlParameters, OutputModifier outputModifier, PagingInfo pagingInfo) Description copied from class:AbstractRequestMapperWithOutputModifierAndPaging
Converts the HTTP request to protocol-agnostic request including output modifier information.- Specified by:
doParse
in classAbstractRequestMapperWithOutputModifierAndPaging<GetAllAssetAdministrationShellsRequest,
GetAllAssetAdministrationShellsResponse> - Parameters:
httpRequest
- the HTTP request to converturlParameters
- map of named regex groups and their valuesoutputModifier
- output modifier for this requestpagingInfo
- the paging information- Returns:
- the protocol-agnostic request
-