public abstract class RangeAwareServletContextHelper extends ServletContextHelper
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER
Constructor and Description |
---|
RangeAwareServletContextHelper() |
RangeAwareServletContextHelper(Bundle bundle) |
Modifier and Type | Method and Description |
---|---|
boolean |
rangeableContentType(String contentType,
String userAgent)
Return true if the content type should result in a ranged content response
based on the user agent.
|
getMimeType, getRealPath, getResource, getResourcePaths, handleSecurity
public RangeAwareServletContextHelper()
public RangeAwareServletContextHelper(Bundle bundle)
public boolean rangeableContentType(String contentType, String userAgent)
User-Agent
request header.
This mechanism is only applicable if the browser didn't make a range request for a known ranged content type.
contentType
- the content type of the requestuserAgent
- the value obtained from the "User-Agent" header
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.