0
serviceIdSegment
はnull
であり、serviceId
はnull
ではありません。なぜ@PathParamがnullではないのに、私のPathSegmentがnullですか?
class MySubResource {
@GET
@Path("{serviceId: .+}")
public Response readById(@PathParam String serviceId) {
// serviceId is not null
// why serviceIdSegment is null?
}
@PathParam("serviceId");
private PathSegment serviceIdSegment;
}
誰でも教えてください。