no.ntnu.item.router.utilities
Class ClientAccessPolicyHandler

java.lang.Object
  extended by no.ntnu.item.router.utilities.ClientAccessPolicyHandler
All Implemented Interfaces:
com.sun.net.httpserver.HttpHandler

 class ClientAccessPolicyHandler
extends java.lang.Object
implements com.sun.net.httpserver.HttpHandler

This is a handler for the clientaccesspolicy context.
It's only task is to return the clientaccesspolicy.xml when the server is asked for it. This is a Silverlight thing, for security reasons our server must allow the Silverlight application to read from it. It will ask for the xml file.

Author:
Kristian Haugene

Constructor Summary
ClientAccessPolicyHandler()
           
 
Method Summary
 void handle(com.sun.net.httpserver.HttpExchange t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientAccessPolicyHandler

ClientAccessPolicyHandler()
Method Detail

handle

public void handle(com.sun.net.httpserver.HttpExchange t)
            throws java.io.IOException
Specified by:
handle in interface com.sun.net.httpserver.HttpHandler
Throws:
java.io.IOException