uicc.scws
Interface ScwsExtension

All Superinterfaces:
javacard.framework.Shareable
All Known Implementing Classes:
ScwsExtensionService

public interface ScwsExtension
extends javacard.framework.Shareable

Interface which specifies all methods used to pass information included in a HTTP request to the registered application.


Method Summary
 void doDelete(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in DELETE mode has been received by the SCWS for the associated application.
 void doGet(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in GET mode has been received by the SCWS for the associated application.
 void doHead(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in HEAD mode has been received by the SCWS for the associated application.
 void doOptions(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in OPTIONS mode has been received by the SCWS for the associated application.
 void doPost(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in POST mode has been received by the SCWS for the associated application.
 void doPut(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in PUT mode has been received by the SCWS for the associated application.
 void doTrace(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in TRACE mode has been received by the SCWS for the associated application.
 

Method Detail

doGet

void doGet(HttpRequest request,
           HttpResponse response)
           throws ScwsException
Invoked if a HTTP request in GET mode has been received by the SCWS for the associated application.

Parameters:
request - the object containing the HTTP request
response - the object to prepare the response in
Throws:
ScwsException

doPost

void doPost(HttpRequest request,
            HttpResponse response)
            throws ScwsException
Invoked if a HTTP request in POST mode has been received by the SCWS for the associated application.

Parameters:
request - the object containing the HTTP request
response - the object to prepare the response in
Throws:
ScwsException

doHead

void doHead(HttpRequest request,
            HttpResponse response)
            throws ScwsException
Invoked if a HTTP request in HEAD mode has been received by the SCWS for the associated application.

Parameters:
request - the object containing the HTTP request
response - the object to prepare the response in
Throws:
ScwsException

doPut

void doPut(HttpRequest request,
           HttpResponse response)
           throws ScwsException
Invoked if a HTTP request in PUT mode has been received by the SCWS for the associated application.

Parameters:
request - the object containing the HTTP request
response - the object to prepare the response in
Throws:
ScwsException

doDelete

void doDelete(HttpRequest request,
              HttpResponse response)
              throws ScwsException
Invoked if a HTTP request in DELETE mode has been received by the SCWS for the associated application.

Parameters:
request - the object containing the HTTP request
response - the object to prepare the response in
Throws:
ScwsException

doOptions

void doOptions(HttpRequest request,
               HttpResponse response)
               throws ScwsException
Invoked if a HTTP request in OPTIONS mode has been received by the SCWS for the associated application.

Parameters:
request - the object containing the HTTP request
response - the object to prepare the response in
Throws:
ScwsException

doTrace

void doTrace(HttpRequest request,
             HttpResponse response)
             throws ScwsException
Invoked if a HTTP request in TRACE mode has been received by the SCWS for the associated application.

Parameters:
request - the object containing the HTTP request
response - the object to prepare the response in
Throws:
ScwsException