org.jboss.resteasy.core.registry
Class Segment

java.lang.Object
  extended by org.jboss.resteasy.core.registry.Segment
Direct Known Subclasses:
PathParamSegment, RootSegment

public class Segment
extends Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  ResourceLocator locator
           
protected  List<ResourceMethod> methods
           
static String RESTEASY_CHOSEN_ACCEPT
           
 
Constructor Summary
Segment()
           
 
Method Summary
protected  boolean isEmpty()
           
protected  ResourceInvoker match(String httpMethod, HttpRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESTEASY_CHOSEN_ACCEPT

public static final String RESTEASY_CHOSEN_ACCEPT
See Also:
Constant Field Values

methods

protected List<ResourceMethod> methods

locator

protected ResourceLocator locator
Constructor Detail

Segment

public Segment()
Method Detail

isEmpty

protected boolean isEmpty()

match

protected ResourceInvoker match(String httpMethod,
                                HttpRequest request)
Parameters:
httpMethod - this is so we can find a GET match when HEAD is called (and there is no head)
request -
Returns:


Copyright © 2012. All Rights Reserved.