Java Code Examples for javax.ws.rs.core.HttpHeaders#ETAG

The following examples show how to use javax.ws.rs.core.HttpHeaders#ETAG . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GroupService.java    From syncope with Apache License 2.0 5 votes vote down vote up
@ApiResponses(
        @ApiResponse(responseCode = "200", description =
                "Group matching the provided key; if value looks like a UUID then it is interpreted as key,"
                + " otherwise as a name.", headers =
                @Header(name = HttpHeaders.ETAG, schema =
                        @Schema(type = "string"),
                        description = "Opaque identifier for the latest modification made to the entity returned"
                        + " by this endpoint")))
@Override
GroupTO read(String key);
 
Example 2
Source File: AnyObjectService.java    From syncope with Apache License 2.0 5 votes vote down vote up
@ApiResponses(
        @ApiResponse(responseCode = "200", description =
                "Any object matching the provided key; if value looks like a UUID then it is interpreted as key,"
                + " otherwise as a name.", headers =
                @Header(name = HttpHeaders.ETAG, schema =
                        @Schema(type = "string"),
                        description = "Opaque identifier for the latest modification made to the entity returned"
                        + " by this endpoint")))
@Override
AnyObjectTO read(String key);
 
Example 3
Source File: UserService.java    From syncope with Apache License 2.0 5 votes vote down vote up
@ApiResponses(
        @ApiResponse(responseCode = "200", description =
                "User matching the provided key; if value looks like a UUID then it is interpreted as key,"
                + " otherwise as a username.", headers =
                @Header(name = HttpHeaders.ETAG, schema =
                        @Schema(type = "string"),
                        description = "Opaque identifier for the latest modification made to the entity returned"
                        + " by this endpoint")))
@Override
UserTO read(String key);