java.lang.Object
org.shredzone.acme4j.AcmeResource
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
AcmeJsonResource
,Certificate
This is the root class of all ACME resources (like accounts, orders, certificates).
Every resource is identified by its location URL.
This class also takes care for proper serialization and de-serialization of the
resource. After de-serialization, the resource must be bound to a Login
again,
using rebind(Login)
.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
AcmeResource
(Login login, URL location) Create a newAcmeResource
. -
Methodenübersicht
-
Konstruktordetails
-
AcmeResource
Create a newAcmeResource
.
-
-
Methodendetails
-
getLogin
Gets theLogin
this resource is bound with. -
getSession
Gets theSession
this resource is bound with. -
rebind
Rebinds this resource to aLogin
.Logins are not serialized, because they contain volatile session data and also a private key. After de-serialization of an
AcmeResource
, use this method to rebind it to aLogin
.- Parameter:
login
-Login
to bind this resource to
-
getLocation
Gets the resource's location. -
finalize
-