org.iids.aos.systemservices.communicator
Enum LSWebServer.HttpResultType

java.lang.Object
  extended by java.lang.Enum<LSWebServer.HttpResultType>
      extended by org.iids.aos.systemservices.communicator.LSWebServer.HttpResultType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LSWebServer.HttpResultType>
Enclosing class:
LSWebServer

public static enum LSWebServer.HttpResultType
extends java.lang.Enum<LSWebServer.HttpResultType>

The result returned by httpMethod.


Enum Constant Summary
CSS
           
GIF
           
HTML
           
JAVASCRIPT
           
 
Method Summary
static LSWebServer.HttpResultType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LSWebServer.HttpResultType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 void writeResponse(java.io.OutputStream out, byte[] payload, java.lang.String httpVersion, boolean keepAlive)
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HTML

public static final LSWebServer.HttpResultType HTML

CSS

public static final LSWebServer.HttpResultType CSS

JAVASCRIPT

public static final LSWebServer.HttpResultType JAVASCRIPT

GIF

public static final LSWebServer.HttpResultType GIF
Method Detail

values

public static final LSWebServer.HttpResultType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(LSWebServer.HttpResultType c : LSWebServer.HttpResultType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static LSWebServer.HttpResultType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

writeResponse

public void writeResponse(java.io.OutputStream out,
                          byte[] payload,
                          java.lang.String httpVersion,
                          boolean keepAlive)
                   throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.