public class HttpSession extends Object
Constructor and Description |
---|
HttpSession(FedoraSession session)
Create an HTTP session from a Fedora session
|
Modifier and Type | Method and Description |
---|---|
void |
commit()
Commit a non-batch session
|
void |
expire()
Expire a non-batch session
|
FedoraSession |
getFedoraSession()
Return the underlying FedoraSession
|
String |
getId()
Return the id of the underlying session
|
boolean |
isBatchSession()
Return whether this session is part of a batch operation
|
void |
makeBatchSession()
Make this HTTP Session into a batch operation.
|
public HttpSession(FedoraSession session)
session
- the Fedora session
Note: by default, the HTTP Session is not marked as a batch operation.
Client code must call makeBatch in order to promote the session into
a batch operation.public void makeBatchSession()
public void commit()
public void expire()
public boolean isBatchSession()
public FedoraSession getFedoraSession()
Copyright © 2013–2017 DuraSpace, Inc.. All rights reserved.