A B C D E F G I J L N O P Q R S T V W 

A

activate(ComponentContext) - Method in class org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
 
activate(ComponentContext) - Method in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 
activate(ComponentContext) - Method in class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
activate(ComponentContext) - Method in class org.apache.sling.bgservlets.impl.storage.JobStorageImpl
 
activate(BundleContext) - Method in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin.Plugin
 
addCookie(Cookie) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
addDateHeader(String, long) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
addHeader(String, String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
addIntHeader(String, int) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
available() - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeInputStream
 

B

BackgroundHttpServletRequest - Class in org.apache.sling.bgservlets
Minimal HttpServletRequest for background processing
BackgroundHttpServletRequest(HttpServletRequest, String[]) - Constructor for class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
BackgroundHttpServletResponse - Class in org.apache.sling.bgservlets
Minimal HttpServletResponse for background processing
BackgroundHttpServletResponse(HttpServletResponse, OutputStream) - Constructor for class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
BackgroundServletConstants - Class in org.apache.sling.bgservlets
 
BackgroundServletConstants() - Constructor for class org.apache.sling.bgservlets.BackgroundServletConstants
 
BackgroundServletStarterFilter - Class in org.apache.sling.bgservlets.impl
Filter that runs the current request in the background if specific request parameters are set.
BackgroundServletStarterFilter() - Constructor for class org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
 
BackgroundTestServlet - Class in org.apache.sling.bgservlets.impl.servlets
Servlet used for interactive testing of the background servlets engine.
BackgroundTestServlet() - Constructor for class org.apache.sling.bgservlets.impl.servlets.BackgroundTestServlet
 
BUFFER_SIZE - Static variable in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
 
BUFFER_SWITCH_SIZE - Static variable in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
 

C

cleanup() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
close() - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeInputStream
 
close() - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
Calls flush to persist our stream, before closing
close() - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
 
containsHeader(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
createJobData(Session) - Method in class org.apache.sling.bgservlets.impl.storage.JobStorageImpl
 
createJobData(Session) - Method in interface org.apache.sling.bgservlets.JobStorage
Create a JobData object for a new job
CREATION_TIME_PROPERTY - Static variable in class org.apache.sling.bgservlets.BackgroundServletConstants
Property name used to store job nodes creation times

D

deactivate(ComponentContext) - Method in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 
deactivate(ComponentContext) - Method in class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
deactivate() - Method in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin.Plugin
 
deepCreateNode(String, Session, String) - Method in class org.apache.sling.bgservlets.impl.DeepNodeCreator
Create a node, also creating parent nodes as needed
DeepNodeCreator - Class in org.apache.sling.bgservlets.impl
Deep-creation of nodes: parent nodes are created if needed.
DeepNodeCreator() - Constructor for class org.apache.sling.bgservlets.impl.DeepNodeCreator
 
DEFAULT_ENCODING - Static variable in class org.apache.sling.bgservlets.impl.servlets.JobInfoServlet
 
DEFAULT_EXT - Static variable in class org.apache.sling.bgservlets.impl.servlets.JobInfoServlet
 
destroy() - Method in class org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
 
destroyPlugin() - Static method in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.bgservlets.impl.servlets.BackgroundTestServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.bgservlets.impl.servlets.JobInfoServlet
 
doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.bgservlets.impl.servlets.JobStreamServlet
 
doPost(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.bgservlets.impl.servlets.JobStateChangeServlet
 

E

encodeRedirectUrl(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
encodeRedirectURL(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
encodeUrl(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
encodeURL(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
ExecutionEngine - Interface in org.apache.sling.bgservlets
Service that executes Runnables, will later allow them to be suspended, resumed, stopped and restarted.
ExecutionEngineImpl - Class in org.apache.sling.bgservlets.impl
Simple ExecutionEngine TODO should use Sling's thread pool, and check synergies with scheduler services
ExecutionEngineImpl() - Constructor for class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 
ExecutionEngineImpl.QueueFullException - Exception in org.apache.sling.bgservlets.impl
 

F

flush() - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
Store the contents of our buffer to a new Property under our node, numbered sequentially.
flushBuffer() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 

G

getAllowedHumanStateChanges() - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
 
getAllowedHumanStateChanges() - Method in interface org.apache.sling.bgservlets.JobStatus
Indicate which state changes a human user can currently request, based on our state.
getAttribute(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getAttributeNames() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getAuthType() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getBufferSize() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
getCharacterEncoding() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getCharacterEncoding() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
getContentLength() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getContentType() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getContentType() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
getContextPath() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getCookies() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getCreationTime() - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
Not implemented
getCreationTime() - Method in interface org.apache.sling.bgservlets.JobData
Return this item's creation time
getCreationTime() - Method in interface org.apache.sling.bgservlets.JobStatus
Return the job's creation time
getDateHeader(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getEstimatedCompletionTime() - Method in interface org.apache.sling.bgservlets.JobProgressInfo
Return the job's ETA if available.
getHeader(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getHeaderNames() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getHeaders(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getInputStream() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getInputStream() - Method in interface org.apache.sling.bgservlets.JobData
Input stream used to replay data stored in the stream provided by {#link getOutputStream}
getIntHeader(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getJobData(Node) - Method in class org.apache.sling.bgservlets.impl.storage.JobStorageImpl
 
getJobData(Node) - Method in interface org.apache.sling.bgservlets.JobStorage
Retrieve an existing JobData object
getJobStatus(String) - Method in interface org.apache.sling.bgservlets.ExecutionEngine
Get JobStatus by path
getJobStatus(String) - Method in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 
getJobStatus(Session, boolean) - Method in class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
getJobStatus(Session, String) - Method in class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
getJobStatus(Node) - Method in interface org.apache.sling.bgservlets.impl.storage.NodeJobStatusFactory
 
getJobStatus(Node) - Method in class org.apache.sling.bgservlets.impl.storage.NodeJobStatusFactoryImpl
 
getJobStatus(Session, boolean) - Method in interface org.apache.sling.bgservlets.JobConsole
Return Iterator on JobStatus, in descending order of creation date.
getJobStatus(Session, String) - Method in interface org.apache.sling.bgservlets.JobConsole
Return a single JobStatus, null if not found.
getJobStatusPagePath(HttpServletRequest, JobStatus, String) - Method in class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
getJobStatusPagePath(HttpServletRequest, JobStatus, String) - Method in interface org.apache.sling.bgservlets.JobConsole
Return the full path, including extension, to the job's status page.
getJobStreamPath(HttpServletRequest, JobStatus) - Method in class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
getJobStreamPath(HttpServletRequest, JobStatus) - Method in interface org.apache.sling.bgservlets.JobConsole
Return the full path, including extension, to the job's stream
getLabel() - Method in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin.Plugin
 
getLocalAddr() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getLocale() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getLocale() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
getLocales() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getLocalName() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getLocalPort() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getMatchingJobStatus(Predicate<JobStatus>) - Method in interface org.apache.sling.bgservlets.ExecutionEngine
Enumerate JobStatus that match supplied predicate
getMatchingJobStatus(Predicate<JobStatus>) - Method in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 
getMethod() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getNodeType(Node, String, String) - Method in class org.apache.sling.bgservlets.impl.DeepNodeCreator
Can be overridden to return a specific nodetype to use at a given path.
getOutputStream() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
getOutputStream() - Method in interface org.apache.sling.bgservlets.JobData
OutputStream used to write the job's output, stored permanently under the job node.
getParameter(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getParameterMap() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getParameterNames() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getParameterValues(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getPath() - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
Not implemented
getPath() - Method in interface org.apache.sling.bgservlets.JobData
Return unique path of this data item
getPath() - Method in interface org.apache.sling.bgservlets.JobStatus
Path of the Resource that describes this job
getPathInfo() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getPathTranslated() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getProgressInfo() - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
Not implemented
getProgressInfo() - Method in interface org.apache.sling.bgservlets.JobStatus
Return the job's progress info
getProgressMessage() - Method in interface org.apache.sling.bgservlets.JobProgressInfo
Return a single line of progress information
getProperty(String) - Method in interface org.apache.sling.bgservlets.JobData
Get a named property, null if non-existent
getProtocol() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getQueryString() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getReader() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRealPath(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRemoteAddr() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRemoteHost() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRemotePort() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRemoteUser() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRequestDispatcher(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRequestedSessionId() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRequestURI() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getRequestURL() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getScheme() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getServerName() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getServerPort() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getServletPath() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getSession() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getSession(boolean) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getState() - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
 
getState() - Method in interface org.apache.sling.bgservlets.JobStatus
Return the job's current state
getStreamPath() - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
Not implemented
getStreamPath() - Method in interface org.apache.sling.bgservlets.JobStatus
Full Path of the job's stream, including extension
getTitle() - Method in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin.Plugin
 
getUserPrincipal() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
getWriter() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 

I

init(FilterConfig) - Method in class org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
 
initPlugin(BundleContext, JobConsole) - Static method in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin
 
isCommitted() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
isRequestedSessionIdFromCookie() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
isRequestedSessionIdFromUrl() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
isRequestedSessionIdFromURL() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
isRequestedSessionIdValid() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
isSecure() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
isTrue(T) - Method in interface org.apache.sling.bgservlets.Predicate
 
isUserInRole(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 

J

JOB_DATA_MIXIN - Static variable in interface org.apache.sling.bgservlets.JobData
 
JOB_NODETYPE - Static variable in class org.apache.sling.bgservlets.impl.storage.JobStorageImpl
 
JOB_QUERY - Static variable in class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
JOB_RESOURCE_TYPE - Static variable in class org.apache.sling.bgservlets.BackgroundServletConstants
Resource type for the Job node
JobConsole - Interface in org.apache.sling.bgservlets
Back-end for management consoles that give access to background jobs.
JobConsoleImpl - Class in org.apache.sling.bgservlets.impl
JobConsole implementation
JobConsoleImpl() - Constructor for class org.apache.sling.bgservlets.impl.JobConsoleImpl
 
JobConsolePlugin - Class in org.apache.sling.bgservlets.impl.webconsole
Felix OSGi console plugin for the ExecutionEngine
JobConsolePlugin() - Constructor for class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin
 
JobConsolePlugin.Plugin - Class in org.apache.sling.bgservlets.impl.webconsole
 
JobConsolePlugin.Plugin(JobConsole) - Constructor for class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin.Plugin
 
JobData - Interface in org.apache.sling.bgservlets
Wraps a JCR Node to store and retrieve information about a background Job
JobInfoServlet - Class in org.apache.sling.bgservlets.impl.servlets
Default rendering of a job node in various formats, meant to be displayed when the job is started.
JobInfoServlet() - Constructor for class org.apache.sling.bgservlets.impl.servlets.JobInfoServlet
 
JobProgressInfo - Interface in org.apache.sling.bgservlets
Provides Job progress information
JobStateChangeServlet - Class in org.apache.sling.bgservlets.impl.servlets
Handles POST to a job node, to request a job state change.
JobStateChangeServlet() - Constructor for class org.apache.sling.bgservlets.impl.servlets.JobStateChangeServlet
 
JobStatus - Interface in org.apache.sling.bgservlets
Provides info about a job
JobStatus.State - Enum in org.apache.sling.bgservlets
 
JobStorage - Interface in org.apache.sling.bgservlets
Store and retrieve job data persistently
JobStorageException - Exception in org.apache.sling.bgservlets.impl.storage
Exception related to job storage.
JobStorageException(String) - Constructor for exception org.apache.sling.bgservlets.impl.storage.JobStorageException
 
JobStorageException(String, Throwable) - Constructor for exception org.apache.sling.bgservlets.impl.storage.JobStorageException
 
JobStorageImpl - Class in org.apache.sling.bgservlets.impl.storage
Default JobStorage implementation
JobStorageImpl() - Constructor for class org.apache.sling.bgservlets.impl.storage.JobStorageImpl
 
JobStreamServlet - Class in org.apache.sling.bgservlets.impl.servlets
Default rendering of the job's stream node: replays the stored stream.
JobStreamServlet() - Constructor for class org.apache.sling.bgservlets.impl.servlets.JobStreamServlet
 

L

LABEL - Static variable in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin
 

N

nodeCreated(Node) - Method in class org.apache.sling.bgservlets.impl.DeepNodeCreator
Can be overridden to customize the created nodes, add mixins etc.
NodeInputStream - Class in org.apache.sling.bgservlets.impl.nodestream
Reads data stored by a NodeOutputStream and rebuilds a continuous stream out of the multiple Properties that it creates.
NodeInputStream(Node) - Constructor for class org.apache.sling.bgservlets.impl.nodestream.NodeInputStream
 
NodeJobStatusFactory - Interface in org.apache.sling.bgservlets.impl.storage
Builds JobStatus objects out of Nodes
NodeJobStatusFactoryImpl - Class in org.apache.sling.bgservlets.impl.storage
JobStatus that gets its data from a Node created by the JobDataImpl class.
NodeJobStatusFactoryImpl() - Constructor for class org.apache.sling.bgservlets.impl.storage.NodeJobStatusFactoryImpl
 
NodeOutputStream - Class in org.apache.sling.bgservlets.impl.nodestream
An OutputStream stored in properties under a JCR node.
NodeOutputStream(Node) - Constructor for class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
 

O

org.apache.sling.bgservlets - package org.apache.sling.bgservlets
 
org.apache.sling.bgservlets.impl - package org.apache.sling.bgservlets.impl
 
org.apache.sling.bgservlets.impl.nodestream - package org.apache.sling.bgservlets.impl.nodestream
 
org.apache.sling.bgservlets.impl.servlets - package org.apache.sling.bgservlets.impl.servlets
 
org.apache.sling.bgservlets.impl.storage - package org.apache.sling.bgservlets.impl.storage
 
org.apache.sling.bgservlets.impl.webconsole - package org.apache.sling.bgservlets.impl.webconsole
 

P

PARAM_STATE - Static variable in class org.apache.sling.bgservlets.impl.servlets.JobStateChangeServlet
 
PATH_FORMAT - Static variable in class org.apache.sling.bgservlets.impl.storage.JobStorageImpl
 
Predicate<T> - Interface in org.apache.sling.bgservlets
Simple typed predicate
PROP_BG_PARAM - Static variable in class org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
Name of the property that defines the request parameter name to use to start a servlet in the background.
PROP_CORE_POOL_SIZE - Static variable in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 
PROP_EXTENSION - Static variable in interface org.apache.sling.bgservlets.JobData
 
PROP_JOB_STORAGE_PATH - Static variable in class org.apache.sling.bgservlets.impl.storage.JobStorageImpl
Configurable base path for storing job data
PROP_KEEP_ALIVE_TIME - Static variable in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 
PROP_MAX_POOL_SIZE - Static variable in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 

Q

queueForExecution(Runnable) - Method in interface org.apache.sling.bgservlets.ExecutionEngine
Add a job to the execution queue
queueForExecution(Runnable) - Method in class org.apache.sling.bgservlets.impl.ExecutionEngineImpl
 

R

read() - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeInputStream
 
read(byte[], int, int) - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeInputStream
 
read(byte[]) - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeInputStream
 
removeAttribute(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
renderContent(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin.Plugin
 
requestStateChange(JobStatus.State) - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
Only SUSPENDED, STOP, and RUNNING make sense here
requestStateChange(JobStatus.State) - Method in interface org.apache.sling.bgservlets.JobStatus
Request a change in the job's state, which might not take effect immediately, or even be ignored.
reset() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
resetBuffer() - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
RuntimeState - Interface in org.apache.sling.bgservlets
Interface used by a running job to exchange state information with the execution engine.

S

sendError(int, String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
sendError(int) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
sendRedirect(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setAttribute(String, Object) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
setBufferSize(int) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setCharacterEncoding(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletRequest
 
setCharacterEncoding(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setContentLength(int) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setContentType(String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setDateHeader(String, long) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setEstimatedCompletionTime(Date) - Method in interface org.apache.sling.bgservlets.RuntimeState
Set the ETA that is returned by JobProgressInfo
setHeader(String, String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setIntHeader(String, int) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setLocale(Locale) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setProgressMessage(String) - Method in interface org.apache.sling.bgservlets.RuntimeState
Set the progress message that is returned by JobProgressInfo
setProperty(String, String) - Method in interface org.apache.sling.bgservlets.JobData
Set a named property
setStatus(int, String) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
setStatus(int) - Method in class org.apache.sling.bgservlets.BackgroundHttpServletResponse
 
STATUS_EXTENSION - Static variable in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin
 
STREAM_NODE_TYPE - Static variable in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
Node type for our stream nodes
STREAM_PATH_SUFFIX - Static variable in interface org.apache.sling.bgservlets.JobStatus
Suffix used to build the job's stream path
STREAM_RESOURCE_TYPE - Static variable in class org.apache.sling.bgservlets.BackgroundServletConstants
Resource type for the stream node
SuspendableOutputStream - Class in org.apache.sling.bgservlets.impl
Wraps an OutputStream with controls for suspending it or throwing an IOException next time it is written to.
SuspendableOutputStream(OutputStream) - Constructor for class org.apache.sling.bgservlets.impl.SuspendableOutputStream
 
SuspendableOutputStream.StreamStoppedException - Exception in org.apache.sling.bgservlets.impl
 

T

TITLE - Static variable in class org.apache.sling.bgservlets.impl.webconsole.JobConsolePlugin
 

V

valueOf(String) - Static method in enum org.apache.sling.bgservlets.JobStatus.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.sling.bgservlets.JobStatus.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(byte[], int, int) - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
 
write(byte[]) - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
 
write(int) - Method in class org.apache.sling.bgservlets.impl.nodestream.NodeOutputStream
 
write(byte[], int, int) - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
 
write(byte[]) - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
 
write(int) - Method in class org.apache.sling.bgservlets.impl.SuspendableOutputStream
 
A B C D E F G I J L N O P Q R S T V W 

Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.