Property | Type | Description | |
---|---|---|---|
Allocate | RequestData | ||
DoAppearance | void | ||
FormatPart | void | ||
FormatUserAppearance | void | ||
GetUserAppearance | bool |
Method | Description | |
---|---|---|
Close ( ) : void |
Called by the plug-in to halt service processing. Local processing is disabled.
|
|
Initialize ( ) : void |
Post-construction, pre-enabled initialization opportunity Not currently exploited.
|
|
RestAppearanceServices ( ) : System |
The constructor makes sure that the service prefix is absolute and the registers the service handler and the allocator.
|
Method | Description | |
---|---|---|
Allocate ( OpenSim.Framework.Servers.HttpServer.OSHttpRequest request, OpenSim.Framework.Servers.HttpServer.OSHttpResponse response, string prefix ) : RequestData |
The plugin (RestHandler) calls this method to allocate the request state carrier for a new request. It is destroyed when the request completes. All request-instance specific state is kept here. This is registered when this service provider is registered.
|
|
DoAppearance ( RequestData hdata ) : void |
This method is registered with the handler when this service provider is initialized. It is called whenever the plug-in identifies this service provider as the best match for a given request. It handles all aspects of inventory REST processing, i.e. /admin/inventory
|
|
FormatPart ( AppearanceRequestData rdata, string part, UUID item, UUID asset ) : void | ||
FormatUserAppearance ( AppearanceRequestData rdata ) : void | ||
GetUserAppearance ( AppearanceRequestData rdata ) : bool |
Delete the specified user's appearance. This actually performs a reset to the default avatar appearance, if the info is already there. Existing ownership is preserved. All prior updates are lost and can not be recovered.
|