org.jboss.resteasy.plugins.server.servlet
Class ServletUtil

java.lang.Object
  extended by org.jboss.resteasy.plugins.server.servlet.ServletUtil

public class ServletUtil
extends java.lang.Object

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
ServletUtil()
           
 
Method Summary
static java.util.List<MediaType> extractAccepts(MultivaluedMap<java.lang.String,java.lang.String> requestHeaders)
           
static HttpHeaders extractHttpHeaders(javax.servlet.http.HttpServletRequest request)
           
static java.util.List<java.lang.String> extractLanguages(MultivaluedMap<java.lang.String,java.lang.String> requestHeaders)
           
static MultivaluedMap<java.lang.String,java.lang.String> extractRequestHeaders(javax.servlet.http.HttpServletRequest request)
           
static UriInfoImpl extractUriInfo(javax.servlet.http.HttpServletRequest request, java.lang.String servletPrefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletUtil

public ServletUtil()
Method Detail

extractUriInfo

public static UriInfoImpl extractUriInfo(javax.servlet.http.HttpServletRequest request,
                                         java.lang.String servletPrefix)

extractHttpHeaders

public static HttpHeaders extractHttpHeaders(javax.servlet.http.HttpServletRequest request)

extractAccepts

public static java.util.List<MediaType> extractAccepts(MultivaluedMap<java.lang.String,java.lang.String> requestHeaders)

extractLanguages

public static java.util.List<java.lang.String> extractLanguages(MultivaluedMap<java.lang.String,java.lang.String> requestHeaders)

extractRequestHeaders

public static MultivaluedMap<java.lang.String,java.lang.String> extractRequestHeaders(javax.servlet.http.HttpServletRequest request)


Copyright © 2010. All Rights Reserved.