Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AdminHttpViewController
  • HttpContextReader
  • HttpDispatcher
  • HttpResponseProcessor
  • HttpService
  • HttpViewController
  • HttpViewControllerRegistry

Class HttpService

Class HttpService

HttpService implements HttpServiceInterface
Package: Http
Category: System
Implements: HttpServiceInterface
Located at SystemServices/Http/HttpService.inc.php

Methods summary

public
# __construct( AbstractHttpContextFactory $httpContextFactory, HttpDispatcherInterface $httpDispatcher )

Initializes the http service.

Initializes the http service.

Parameters

$httpContextFactory
Factory instance to create context objects.
$httpDispatcher
Instance to dispatch the http response message.

Implementation of

HttpServiceInterface::__construct()
public HttpContextInterface
# getHttpContext( )

Creates and returns a new instance of an http context object.

Creates and returns a new instance of an http context object.

Returns

HttpContextInterface

Implementation of

HttpServiceInterface::getHttpContext()
public
# handle( HttpContextInterface $httpContext )

Handles the current http request by the given context.

Handles the current http request by the given context.

Parameters

$httpContext
Context object which holds information about the current request.

Implementation of

HttpServiceInterface::handle()

Properties summary

protected AbstractHttpContextFactory $httpContextFactory
#
protected HttpDispatcherInterface $httpDispatcher
#
API documentation generated by ApiGen