com.sun.enterprise.v3.services.impl
Class HttpUtils

java.lang.Object
  extended by com.sun.enterprise.v3.services.impl.HttpUtils

public class HttpUtils
extends Object

Utility class for parsing ByteBuffer

Author:
Jeanfrancois

Constructor Summary
HttpUtils()
           
 
Method Summary
static int findBytes(ByteBuffer byteBuffer, byte[] b)
          Specialized utility method: find a sequence of lower case bytes inside a ByteBuffer.
static byte[] getErrorPage(String serverName, String message, String errorCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUtils

public HttpUtils()
Method Detail

findBytes

public static int findBytes(ByteBuffer byteBuffer,
                            byte[] b)
Specialized utility method: find a sequence of lower case bytes inside a ByteBuffer.


getErrorPage

public static final byte[] getErrorPage(String serverName,
                                        String message,
                                        String errorCode)


Copyright © 2012. All Rights Reserved.