Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mortbay.jetty.grizzly
Class JettyProtocolFinder

    java.lang.Object
      org.mortbay.jetty.grizzly.JettyProtocolFinder

    public class JettyProtocolFinder

extends Object

A `ProtocolFinder` implementation that parse the available SocketChannel bytes looking for the 'http' bytes. An http request will always has the form of: METHOD URI PROTOCOL/VERSION example: GET / HTTP/1.1 The algorithm will try to find the protocol token. Once found, the request will be redirected from Grizzly embedded in GlassFish to Jetty.

Author:
  Jeanfrancois Arcand

Constructor Summary
`JettyProtocolFinder()`

Method Summary
`void` | `find(ProtocolInfo protocolInfo)` Try to find if the current connection is using the HTTP protocol.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### JettyProtocolFinder

    public JettyProtocolFinder()

Method Detail

### find

    public void find(ProtocolInfo protocolInfo)

  Try to find if the current connection is using the HTTP protocol.

  Parameters:
    `ProtocolInfo` - The ProtocolInfo that contains the information about the current protocol.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 Mort Bay Consulting. All Rights Reserved.