net.jradius.webservice
Class WebServiceProcessor

java.lang.Object
  extended by java.lang.Thread
      extended by net.jradius.server.JRadiusThread
          extended by net.jradius.server.Processor
              extended by net.jradius.webservice.WebServiceProcessor
All Implemented Interfaces:
java.lang.Runnable, org.springframework.context.ApplicationContextAware

public class WebServiceProcessor
extends net.jradius.server.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
           
protected static byte[] unauthorized
           
 
Fields inherited from class net.jradius.server.Processor
applicationContext
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WebServiceProcessor()
           
 
Method Summary
protected  void processRequest(net.jradius.server.ListenerRequest listenerRequest)
           
protected  void processRequest(WebServiceRequest request)
           
protected  void runHandlers(WebServiceRequest request)
           
protected static byte[] toHTTPBytes(java.lang.String text)
           
 
Methods inherited from class net.jradius.server.Processor
getApplicationContext, getEventDispatcher, getRequestHandlers, getRequestQueue, isActive, process, run, setActive, setApplicationContext, 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

unauthorized

protected static final byte[] unauthorized
Constructor Detail

WebServiceProcessor

public WebServiceProcessor()
Method Detail

processRequest

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

runHandlers

protected void runHandlers(WebServiceRequest request)

processRequest

protected void processRequest(WebServiceRequest request)

toHTTPBytes

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


Copyright © 2008 JRadius Project, All Rights Reserved.