net.sf.jradius.webservice
Class WebServiceProcessor

java.lang.Object
  extended by java.lang.Thread
      extended by net.sf.jradius.server.JRadiusThread
          extended by net.sf.jradius.server.Processor
              extended by net.sf.jradius.webservice.WebServiceProcessor
All Implemented Interfaces:
java.lang.Runnable

public class WebServiceProcessor
extends Processor

JRadius Relay Request Processor

Author:
David Bird

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected static byte[] clength
           
protected static byte[] conclose
           
protected static byte[] ctype
           
protected static byte[] found
           
protected static byte[] newline
           
protected static byte[] ok
           
protected static byte[] server
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WebServiceProcessor()
           
 
Method Summary
protected  void processRequest(ListenerRequest listenerRequest)
           
protected static byte[] toHTTPBytes(java.lang.String text)
           
 
Methods inherited from class net.sf.jradius.server.Processor
getEventDispatcher, getRequestHandlers, getRequestQueue, process, run, setEventDispatcher, setRequestHandlers, setRequestQueue
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

newline

protected static final byte[] newline

ctype

protected static final byte[] ctype

clength

protected static final byte[] clength

server

protected static final byte[] server

conclose

protected static final byte[] conclose

ok

protected static final byte[] ok

found

protected static final byte[] found
Constructor Detail

WebServiceProcessor

public WebServiceProcessor()
Method Detail

processRequest

protected void processRequest(ListenerRequest listenerRequest)
                       throws java.io.IOException,
                              RadiusException
Specified by:
processRequest in class Processor
Throws:
java.io.IOException
RadiusException

toHTTPBytes

protected static final byte[] toHTTPBytes(java.lang.String text)


Copyright © 2006 The JRadius Project, All Rights Reserved.