Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-02


oracle.irm.engine.core.status
Interface StatusPageRequest


public interface StatusPageRequest

A status page HTTP request. A status page request contains the Uri and HTTP Body that can be used to retrieve a status page.

Creation

Instances of Status Page Request objects can be created using the following factory style method(s).

StatusPageRequest object = createStatusPageRequest(
    page,
    state);
StatusPageRequest object = createStatusPageRequest(
    uri,
    body);

XML Serialization

Status Page Request instances can be serialized as an XML document. This XML document can also be used to recreate a Status Page Request object. The following XML document shows an example Status Page Request in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<core:StatusPageRequest xmlns:core="http://xmlns.oracle.com/irm/core">
    <uri>http://irm.example.com/irm_desktop/status?page=LICENSE_EXPIRED</uri>
    <body>d2hhdCB3aWxsIHByaW50IG91dA==</body>
</core:StatusPageRequest>


Nested Class Summary
static class StatusPageRequest.StatusPage
          The status pages provided by the desktop web site.

 

Method Summary
 byte[] getBody()
          Status page body.
 URI getUri()
          Status page URI.

 

Method Detail

getUri

URI getUri()
Status page URI.
Returns:
the value of the property. This method will never return null.

getBody

byte[] getBody()
Status page body. This body should be placed in the HTTP request body before POSTing to the Uri.

State

The array returned by this method can be safely altered without affecting the internal state of the object.
Returns:
the value of the property. This method will never return null.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-02


Copyright © 2010, Oracle. All rights reserved.