org.globalplatform
Interface HTTPReportListener

All Superinterfaces:
javacard.framework.Shareable

public interface HTTPReportListener
extends javacard.framework.Shareable

This interface defines a method to receive a notification upon completion (success or failure) of an HTTP Administration Session.

An Application that wishes to receive such a notification shall implement the Applet.getShareableInterfaceObject(javacard.framework.AID, byte) to return an HTTPReportListener instance when the clientAID parameter is set to null, and the parameter parameter is set to GPSystem.FAMILY_HTTP_REPORT.

Since:

Field Summary
static short HTTP_SESSION_ERROR
          Constant notifying that a HTTP Administration Session failed.
static short HTTP_SESSION_NO_ERROR
          Constant notifying that a HTTP Administration Session ended successfully
 
Method Summary
 void httpAdministationSessionReport(short status)
          Notifies the Application that the requested HTTP Administration Session successfully completed or not.
 

Field Detail

HTTP_SESSION_NO_ERROR

static final short HTTP_SESSION_NO_ERROR
Constant notifying that a HTTP Administration Session ended successfully

See Also:
Constant Field Values

HTTP_SESSION_ERROR

static final short HTTP_SESSION_ERROR
Constant notifying that a HTTP Administration Session failed. That is, the retry policy of the session is exhausted and the administration session request is aborted.

See Also:
Constant Field Values
Method Detail

httpAdministationSessionReport

void httpAdministationSessionReport(short status)
Notifies the Application that the requested HTTP Administration Session successfully completed or not.

The OPEN notifies the Application when the HTTP Administration Session ends or when the retry policy is exhausted.

Parameters:
status - Either HTTP_SESSION_NO_ERROR (failure) or HTTP_SESSION_ERROR (success).


Copyright © 2003-2014 GlobalPlatform, Inc. All rights reserved. The technology provided or described in this specification is subject to updates, revisions, and extensions by GlobalPlatform. Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights or other intellectual property rights of which they may be aware which might be necessarily infringed by the implementation of the specification or other work product set forth in this document, and to provide supporting documentation.
THIS SPECIFICATION OR OTHER WORK PRODUCT IS BEING OFFERED WITHOUT ANY WARRANTY WHATSOEVER, AND IN PARTICULAR, ANY WARRANTY OF NON-INFRINGEMENT IS EXPRESSLY DISCLAIMED. ANY IMPLEMENTATION OF THIS SPECIFICATION OR OTHER WORK PRODUCT SHALL BE MADE ENTIRELY AT THE IMPLEMENTER'S OWN RISK, AND NEITHER THE COMPANY, NOR ANY OF ITS MEMBERS OR SUBMITTERS, SHALL HAVE ANY LIABILITY WHATSOEVER TO ANY IMPLEMENTER OR THIRD PARTY FOR ANY DAMAGES OF ANY NATURE WHATSOEVER DIRECTLY OR INDIRECTLY ARISING FROM THE IMPLEMENTATION OF THIS SPECIFICATION OR OTHER WORK PRODUCT.