public class GetNextPIDResponse extends FedoraResponseImpl
FedoraResponse
for the GetNextPID
request.FedoraResponseImpl.ContextPath
Constructor and Description |
---|
GetNextPIDResponse(com.sun.jersey.api.client.ClientResponse cr) |
Modifier and Type | Method and Description |
---|---|
String |
getPid()
Convenience method that returns the first pid returned by the request.
|
PidList |
getPids()
The List of requested pids.
|
close, getEntity, getEntityInputStream, getStatus, getType, getXPath, unmarshallResponse
public GetNextPIDResponse(com.sun.jersey.api.client.ClientResponse cr) throws FedoraClientException
FedoraClientException
public PidList getPids() throws FedoraClientException
If the GetNextPIDs request explicitly set format=html, this method call will fail.
FedoraClientException
public String getPid() throws FedoraClientException
FedoraClientException
Copyright © 2010-2013 MediaShelf. All Rights Reserved.